Normally I set up my delegates like normal:
@interface CAKGameViewController : UIViewController <CAKGameSceneDelegate>
then follow up in the CAKGameScene.h with
@protocol CAKGameSceneDelegate;
@interface CAKGameScene : SKScene <SKPhysicsContactDelegate>
...(properties, etc)
@protocol CAKGameSceneDelegate <NSObject>
@optional
- (void)getStarted;
@end
But as most of us know as a property you have to setup shop like this:
@property (nonatomic, weak, readwrite) id<CAKGameSceneDelegate> myDelegate;
My question is, I want to use the actual SKSceneDelegate (self.delegate, not (self.myDelegate) and go like this:
@interface CAKGameViewController : UIViewController <SKSceneDelegate>
Now this is fine and I can use self.delegate to reference the controller, but the problem is I can't seem to figure out how to customize the CAKGameViewController, i.e. setup the protocol further, or customize the protocol, for my methods and/or properties. :(
Any assistance would be helpful.
Thanks