I'm trying to define an SKSprite Node SKSpriteNode *ball
but I'm getting this message "use of undeclared identifier 'SKSpriteNode'"
I'm building my game with the help of SpriteBuilder Cocos2d and chipmunk physics using objective-C, my deployment target is IOS6 i tried to pot it to IOS7 but still the problem didn't get solved.
In my interface i included CCPhysicsCollisionDelegate
. I can use and define CCSprite and CCPhysicsNode without any problems.
I'm trying to detect collisions using collisionBitMask
I read SKSpriteNode Class reference but didn't find anything useful for my problem or maybe i just didn't understand will https://developer.apple.com/library/ios/documentation/SpriteKit/Reference/SKSpriteNode_Ref/Reference/Reference.html#//apple_ref/occ/cl/SKSpriteNode
I captured the error that i get in Xcode "focus on the SKSpriteNode error"
Any help or hint would be appreciated ..