SceneKit watchOS 3.2 to 4.0 API Differences

SceneKitTypes.h
Added #def SCNColor
Header
FromSCNAction.h
ToSceneKitTypes.h

Header
FromSCNAction.h
ToSceneKitTypes.h

Header
FromSCNAction.h
ToSceneKitTypes.h

Header
FromSCNAction.h
ToSceneKitTypes.h

Header
FromSCNAction.h
ToSceneKitTypes.h

SCNAction.h
Header
FromSCNAction.h
ToSceneKitTypes.h

Header
FromSCNAction.h
ToSceneKitTypes.h

Header
FromSCNAction.h
ToSceneKitTypes.h

Header
FromSCNAction.h
ToSceneKitTypes.h

Header
FromSCNAction.h
ToSceneKitTypes.h

Declaration
From- (void)runAction:(nonnull SCNAction *)action completionHandler:(nullable void (^)())block
To- (void)runAction:(nonnull SCNAction *)action completionHandler:(nullable void (^)(void))block

Declaration
From- (void)runAction:(nonnull SCNAction *)action forKey:(nullable NSString *)key completionHandler:(nullable void (^)())block
To- (void)runAction:(nonnull SCNAction *)action forKey:(nullable NSString *)key completionHandler:(nullable void (^)(void))block

SCNAnimation.h
Declaration
From- (void)addAnimation:(nonnull CAAnimation *)animation forKey:(nullable NSString *)key
To- (void)addAnimation:(nonnull id<SCNAnimation>)animation forKey:(nullable NSString *)key

AvailabilityReplacement
FromAvailablenone
ToDeprecated-removeAnimationForKey:blendOutDuration:

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse -[SCNAnimationPlayer setPaused:] instead

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse -[SCNAnimationPlayer setPaused:] instead

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse -[SCNAnimationPlayer setSpeed:] instead

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse -[SCNAnimationPlayer paused] instead

Declaration
Fromtypedef void (^SCNAnimationEventBlock)(CAAnimation * _Nonnull animation, id _Nonnull animatedObject, BOOL playingBackward)
Totypedef void (^SCNAnimationEventBlock)(id<SCNAnimation> _Nonnull animation, id _Nonnull animatedObject, BOOL playingBackward)

SCNAudioSource.h
Declaration
From@property (nonatomic, copy, nullable) void (^)() willStartPlayback
To@property (nonatomic, copy, nullable) void (^)(void) willStartPlayback

Declaration
From@property (nonatomic, copy, nullable) void (^)() didFinishPlayback
To@property (nonatomic, copy, nullable) void (^)(void) didFinishPlayback

SCNCamera.h
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse fStop instead

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse -[SCNCamera fieldOfView] or -[SCNCamera focalLength] instead

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse -[SCNCamera fieldOfView] or -[SCNCamera focalLength] instead

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse -[SCNCamera fStop] instead with fStop = sensorHeight / aperture.

AvailabilityReplacement
FromAvailablenone
ToDeprecated-focusDistance

AvailabilityReplacement
FromAvailablenone
ToDeprecated-focusDistance

SCNCameraController.h
SCNConstraint.h
SCNGeometry.h
SCNHitTest.h
Declaration
From@property (nonatomic, readonly, nonnull) SCNNode *boneNode
To@property (nonatomic, readonly, nullable) SCNNode *boneNode

SCNLight.h
SCNMaterial.h
SCNMaterialProperty.h
SCNMorpher.h
SCNNode.h
SCNParticleSystem.h
SCNPhysicsBehavior.h
SCNPhysicsContact.h
SCNSceneRenderer.h
Declaration
From- (void)presentScene:(nonnull SCNScene *)scene withTransition:(nonnull SKTransition *)transition incomingPointOfView:(nullable SCNNode *)pointOfView completionHandler:(nullable void (^)())completionHandler
To- (void)presentScene:(nonnull SCNScene *)scene withTransition:(nonnull SKTransition *)transition incomingPointOfView:(nullable SCNNode *)pointOfView completionHandler:(nullable void (^)(void))completionHandler

Declaration
From- (BOOL)prepareObject:(nonnull id)object shouldAbortBlock:(nullable BOOL (^)())block
To- (BOOL)prepareObject:(nonnull id)object shouldAbortBlock:(nullable BOOL (^)(void))block

SCNSceneSource.h
SCNSkinner.h
Declaration
From@property (nonatomic, retain, nullable) SCNNode *skeleton
To@property (nonatomic, weak, nullable) SCNNode *skeleton