UIKit subclasses and categories with useful animation functions for game.
Pull request Compare This branch is 3 commits behind shu223:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
Resources
UIKitForGame
UIKitForGameDemo.xcodeproj
UIKitForGameDemo
README.md

README.md

UIKitForGame

UIKitForGame is a UIKit subclasses and categories collection modified for iOS game.

Examples

APIs are very simple.

DamageValueLabel

[self.charaImgView whiteFadeInWithDuration:0.3
                                     delay:0.0
                                     block:^(void) {
                                     }];

UIImageViwe+effects

[self.label startAnimation];

UIView+shake

[self.view shakeWithCount:10 interval:0.03];

DQView

No codes are needed. Just enter "DQView" as the class in IB inspector.

CustomFontLabel

No codes are needed. Just define "kCustomFontName" and enter "CustomFontLabel" as the class in IB inspector.

Demo

Please check out the demo project included.