I am trying to run the source code from Apple's Scene Kit presentation from WWDC2013. I am getting an error and not sure how to resolve.
Here is the error I am getting:
ASCSlideNodeDelegate.m:238:94: Type of property 'view' ('NSView * _Nonnull') does not match type of accessor 'view' ('SCNView *')
Any assistance would be greatly appreciated!
The definition of the SCNView
in ASCPresentationViewController needs to be changed to match new SDK headers.
In the ASCPresentationViewController.h, switch from a method declaration for the -view superclass override to a property in the header, and specify @dynamic for that property in ASCPresentationViewController.m.
@property (strong) SCNView *view;
//- (SCNView *)view;
@dynamic view;
//- (SCNView *)view {
// return (SCNView *)[super view];
//}
You can find diffs for some other needed updates at Updating SceneKit WWDC 2013 slides for Xcode 7 (my Wordpress blog).