Welcome to the Treehouse Community
Looking to learn something new?
Need some help with SpriteKit please
Currently in the process of making a sprite kit game and I am getting a yellow flag. The game works but I don't think this is good for submission. So here it is:
@protocol SceneDelegate <NSObject> - (void) eventStart; - (void) eventPlay; - (void) eventWasted; @end @interface Scene : SKScene<SKPhysicsContactDelegate> **@property (unsafe_unretained,nonatomic) id<SceneDelegate> delegate;** ^^Property type 'id<SceneDelegate>' is incompatible with type 'id<SKSceneDelegate>' inherited from 'SKScene'^^ @property (nonatomic) NSInteger score; - (void) startGame; @end
Anyone know what the fix for this would be? Please and thank you in advance.