Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

iOS

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:

Scene.h:

@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.