Also, AnimationState listeners are done using blocks. This is for cocos2d 2.1.0. Version 3.0 and 3.1 is coming soon.