Latest 1.1
License LGPLv3
Platforms ios 7.0, requires ARC

Gradient Cycle in iOS

I’m not sure if this is the best solution.


Now I use a cached CGContextRef to improve the CPU usage.

To draw an increase percentage animation, the CPU is no more than 25%, but the decrease animation still sucks.

Latest podspec

    "name": "PYGradientCycle",
    "version": "1.1",
    "summary": "Gradient Cycle.",
    "description": "Gradient Cycle in iOS",
    "homepage": "",
    "license": {
        "type": "LGPLv3",
        "file": "LICENSE"
    "authors": {
        "Push Chen": "[email protected]"
    "social_media_url": "",
    "platforms": {
        "ios": "7.0"
    "requires_arc": true,
    "source": {
        "git": "",
        "tag": "1.1"
    "source_files": "PYGradientCycle/*.{h,m}"

Pin It on Pinterest

Share This