A couple of months ago I mentioned a UIKit library allowing you to render tile maps and sprites like Cocos2D.
Here’s a library submitted by Nicholas Tau that provides Cocos2D style animations called UIKitAimationPro.
This means that you can easily create complex animation sequences with UIKit elements, also with nice blocks based callbacks.
As Nicholas states in the readme:
it helps you create a sequnce of animaions like the way in cocos2d. (also like Sprite Kit even without iOS7)
This source code example from the readme shows UIKitAnimationPro in action:
view.backgroundColor = [UIColor redColor];
UICallbackBlock * callback = [UICallbackBlock actionWithBlock:^(id data)
UIScaleAnimation * scale = [UIScaleAnimation actionByScaleX:2.0
UIDisplaceAnimation * displace = [UIDisplaceAnimation actionByPoint:CGPointMake(200, 200)
UIFadeAnimation * fade = [UIFadeAnimation actionByAlpha:-0.5
UIRotateAnimation * rotate = [UIRotateAnimation actionByRotate:45
UIRotateAnimation * rotateTo = [UIRotateAnimation actionToRotate:15
UIAnimationSequence * seq = [[UIAnimationSequence alloc] init];
//of course,if you just only one animation, you just need
//[view runAction:scale] or [view runAction:displace];
You can find UIKitAnimationPro on Github here.
An excellent library for UIKit animation.
Submit A Resource
Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?
You can submit the url here.
The resources we feel will appeal to our readers the most will be posted on the front page.