CZGSpinLayer 0.3.1

CZGSpinLayer 0.3.1

TestsTested
LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Dec 2014

Maintained by Unclaimed.


Downloads

Total11
Week0
Month0

Installs

Apps1
powered by Segment

GitHub

Stars14
Watchers4
Forks1
Issues1
Contributors1
Pull Requests0

Code

Files3
LOCLines of Code 294


  • By
  • Christopher Z. Garrett

CZGSpinLayer is a cocos2d CCLayer subclass that allows you to have a spinning "wheel" like interaction.

I pulled this class out of the game QatQi - this is what was used to create the spinning main menu, as well as the spinning graph on the stats page.

To use CZGSpinLayer, you will need to have cocos2d installed in your project as a cocoapod. If you're not already using cocos2d that way, then you should set up a pod file for it, do pod install, then remove the cocos2d files that were previously in your project.

For sample code, see the HelloWorldLayer.m file in the sample project.