Latest 1.1
Homepage https://github.com/littlepush/PYGradientCycle
License LGPLv3
Platforms ios 7.0, requires ARC
Authors

Gradient Cycle in iOS

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

Preview

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": "https://github.com/littlepush/PYGradientCycle",
    "license": {
        "type": "LGPLv3",
        "file": "LICENSE"
    },
    "authors": {
        "Push Chen": "[email protected]"
    },
    "social_media_url": "https://pushchen.com",
    "platforms": {
        "ios": "7.0"
    },
    "requires_arc": true,
    "source": {
        "git": "https://github.com/littlepush/PYGradientCycle.git",
        "tag": "1.1"
    },
    "source_files": "PYGradientCycle/*.{h,m}"
}

Pin It on Pinterest

Share This