Documentation Archive Developer
Search

SceneKit Changes for Objective-C

SceneKit

ModelIO.h (Added)

Added MDLAsset(SCNModelIO)
Added MDLCamera(SCNModelIO)
Added MDLLight(SCNModelIO)
Added MDLMaterial(SCNModelIO)
Added MDLMesh(SCNModelIO)
Added MDLObject(SCNModelIO)
Added MDLSubmesh(SCNModelIO)
Added SCNCamera(SCNModelIO)
Added SCNGeometry(SCNModelIO)
Added SCNGeometryElement(SCNModelIO)
Added SCNLight(SCNModelIO)
Added SCNMaterial(SCNModelIO)
Added SCNNode(SCNModelIO)
Added SCNScene(SCNModelIO)

SceneKitTypes.h

Added #def SCN_ENABLE_METAL
Declaration
From
@property(readonly) SCNMatrix4 SCNMatrix4Value
To
@property(nonatomic, readonly) SCNMatrix4 SCNMatrix4Value

Declaration
From
@property(readonly) SCNVector3 SCNVector3Value
To
@property(nonatomic, readonly) SCNVector3 SCNVector3Value

Declaration
From
@property(readonly) SCNVector4 SCNVector4Value
To
@property(nonatomic, readonly) SCNVector4 SCNVector4Value

Declaration
From
+ (NSValue *)valueWithSCNMatrix4:(SCNMatrix4)v
To
+ (NSValue * _Nonnull)valueWithSCNMatrix4:(SCNMatrix4)v

Declaration
From
+ (NSValue *)valueWithSCNVector3:(SCNVector3)v
To
+ (NSValue * _Nonnull)valueWithSCNVector3:(SCNVector3)v

Declaration
From
+ (NSValue *)valueWithSCNVector4:(SCNVector4)v
To
+ (NSValue * _Nonnull)valueWithSCNVector4:(SCNVector4)v

SCNAction.h

Removed SCNAction(SCNActions)
Declaration
From
+ (SCNAction *)customActionWithDuration:(NSTimeInterval)seconds actionBlock:(void (^)(SCNNode *node, CGFloat elapsedTime))block
To
+ (SCNAction * _Nonnull)customActionWithDuration:(NSTimeInterval)seconds actionBlock:(void (^ _Nonnull)(SCNNode * _Nonnull node, CGFloat elapsedTime))block

Declaration
From
+ (SCNAction *)fadeInWithDuration:(NSTimeInterval)sec
To
+ (SCNAction * _Nonnull)fadeInWithDuration:(NSTimeInterval)sec

Declaration
From
+ (SCNAction *)fadeOpacityBy:(CGFloat)factor duration:(NSTimeInterval)sec
To
+ (SCNAction * _Nonnull)fadeOpacityBy:(CGFloat)factor duration:(NSTimeInterval)sec

Declaration
From
+ (SCNAction *)fadeOpacityTo:(CGFloat)opacity duration:(NSTimeInterval)sec
To
+ (SCNAction * _Nonnull)fadeOpacityTo:(CGFloat)opacity duration:(NSTimeInterval)sec

Declaration
From
+ (SCNAction *)fadeOutWithDuration:(NSTimeInterval)sec
To
+ (SCNAction * _Nonnull)fadeOutWithDuration:(NSTimeInterval)sec

Declaration
From
+ (SCNAction *)group:(NSArray *)actions
To
+ (SCNAction * _Nonnull)group:(NSArray<SCNAction *> * _Nonnull)actions

Declaration
From
+ (SCNAction *)javaScriptActionWithScript:(NSString *)script duration:(NSTimeInterval)seconds
To
+ (SCNAction * _Nonnull)javaScriptActionWithScript:(NSString * _Nonnull)script duration:(NSTimeInterval)seconds

Declaration
From
+ (SCNAction *)moveBy:(SCNVector3)delta duration:(NSTimeInterval)duration
To
+ (SCNAction * _Nonnull)moveBy:(SCNVector3)delta duration:(NSTimeInterval)duration

Declaration
From
+ (SCNAction *)moveByX:(CGFloat)deltaX y:(CGFloat)deltaY z:(CGFloat)deltaZ duration:(NSTimeInterval)duration
To
+ (SCNAction * _Nonnull)moveByX:(CGFloat)deltaX y:(CGFloat)deltaY z:(CGFloat)deltaZ duration:(NSTimeInterval)duration

Declaration
From
+ (SCNAction *)moveTo:(SCNVector3)location duration:(NSTimeInterval)duration
To
+ (SCNAction * _Nonnull)moveTo:(SCNVector3)location duration:(NSTimeInterval)duration

Declaration
From
+ (SCNAction *)removeFromParentNode
To
+ (SCNAction * _Nonnull)removeFromParentNode

Declaration
From
+ (SCNAction *)repeatAction:(SCNAction *)action count:(NSUInteger)count
To
+ (SCNAction * _Nonnull)repeatAction:(SCNAction * _Nonnull)action count:(NSUInteger)count

Declaration
From
+ (SCNAction *)repeatActionForever:(SCNAction *)action
To
+ (SCNAction * _Nonnull)repeatActionForever:(SCNAction * _Nonnull)action

Declaration
From
- (SCNAction *)reversedAction
To
- (SCNAction * _Nonnull)reversedAction

Declaration
From
+ (SCNAction *)rotateByAngle:(CGFloat)angle aroundAxis:(SCNVector3)axis duration:(NSTimeInterval)duration
To
+ (SCNAction * _Nonnull)rotateByAngle:(CGFloat)angle aroundAxis:(SCNVector3)axis duration:(NSTimeInterval)duration

Declaration
From
+ (SCNAction *)rotateByX:(CGFloat)xAngle y:(CGFloat)yAngle z:(CGFloat)zAngle duration:(NSTimeInterval)duration
To
+ (SCNAction * _Nonnull)rotateByX:(CGFloat)xAngle y:(CGFloat)yAngle z:(CGFloat)zAngle duration:(NSTimeInterval)duration

Declaration
From
+ (SCNAction *)rotateToAxisAngle:(SCNVector4)axisAngle duration:(NSTimeInterval)duration
To
+ (SCNAction * _Nonnull)rotateToAxisAngle:(SCNVector4)axisAngle duration:(NSTimeInterval)duration

Declaration
From
+ (SCNAction *)rotateToX:(CGFloat)xAngle y:(CGFloat)yAngle z:(CGFloat)zAngle duration:(NSTimeInterval)duration
To
+ (SCNAction * _Nonnull)rotateToX:(CGFloat)xAngle y:(CGFloat)yAngle z:(CGFloat)zAngle duration:(NSTimeInterval)duration

Declaration
From
+ (SCNAction *)rotateToX:(CGFloat)xAngle y:(CGFloat)yAngle z:(CGFloat)zAngle duration:(NSTimeInterval)duration shortestUnitArc:(BOOL)shortestUnitArc
To
+ (SCNAction * _Nonnull)rotateToX:(CGFloat)xAngle y:(CGFloat)yAngle z:(CGFloat)zAngle duration:(NSTimeInterval)duration shortestUnitArc:(BOOL)shortestUnitArc

Declaration
From
+ (SCNAction *)runBlock:(void (^)(SCNNode *node))block
To
+ (SCNAction * _Nonnull)runBlock:(void (^ _Nonnull)(SCNNode * _Nonnull node))block

Declaration
From
+ (SCNAction *)runBlock:(void (^)(SCNNode *node))block queue:(dispatch_queue_t)queue
To
+ (SCNAction * _Nonnull)runBlock:(void (^ _Nonnull)(SCNNode * _Nonnull node))block queue:(dispatch_queue_t _Nonnull)queue

Declaration
From
+ (SCNAction *)scaleBy:(CGFloat)scale duration:(NSTimeInterval)sec
To
+ (SCNAction * _Nonnull)scaleBy:(CGFloat)scale duration:(NSTimeInterval)sec

Declaration
From
+ (SCNAction *)scaleTo:(CGFloat)scale duration:(NSTimeInterval)sec
To
+ (SCNAction * _Nonnull)scaleTo:(CGFloat)scale duration:(NSTimeInterval)sec

Declaration
From
+ (SCNAction *)sequence:(NSArray *)actions
To
+ (SCNAction * _Nonnull)sequence:(NSArray<SCNAction *> * _Nonnull)actions

Declaration
From
@property(nonatomic) SCNActionTimingFunction timingFunction
To
@property(nonatomic, nullable) SCNActionTimingFunction timingFunction

Declaration
From
+ (SCNAction *)waitForDuration:(NSTimeInterval)sec
To
+ (SCNAction * _Nonnull)waitForDuration:(NSTimeInterval)sec

Declaration
From
+ (SCNAction *)waitForDuration:(NSTimeInterval)sec withRange:(NSTimeInterval)durationRange
To
+ (SCNAction * _Nonnull)waitForDuration:(NSTimeInterval)sec withRange:(NSTimeInterval)durationRange

Declaration
From
- (SCNAction *)actionForKey:(NSString *)key
To
- (SCNAction * _Nullable)actionForKey:(NSString * _Nonnull)key

Declaration
From
- (void)removeActionForKey:(NSString *)key
To
- (void)removeActionForKey:(NSString * _Nonnull)key

Declaration
From
- (void)runAction:(SCNAction *)action
To
- (void)runAction:(SCNAction * _Nonnull)action

Declaration
From
- (void)runAction:(SCNAction *)action completionHandler:(void (^)(void))block
To
- (void)runAction:(SCNAction * _Nonnull)action completionHandler:(void (^ _Nullable)(void))block

Declaration
From
- (void)runAction:(SCNAction *)action forKey:(NSString *)key
To
- (void)runAction:(SCNAction * _Nonnull)action forKey:(NSString * _Nullable)key

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

SCNAnimation.h

Declaration
From
@property(nonatomic, retain) NSArray *animationEvents
To
@property(nonatomic, copy, nullable) NSArray<SCNAnimationEvent *> *animationEvents

Declaration
From
- (void)addAnimation:(CAAnimation *)animation forKey:(NSString *)key
To
- (void)addAnimation:(CAAnimation * _Nonnull)animation forKey:(NSString * _Nullable)key

Declaration
From
- (CAAnimation *)animationForKey:(NSString *)key
To
- (CAAnimation * _Nullable)animationForKey:(NSString * _Nonnull)key

Declaration
From
- (BOOL)isAnimationForKeyPaused:(NSString *)key
To
- (BOOL)isAnimationForKeyPaused:(NSString * _Nonnull)key

Declaration
From
- (void)pauseAnimationForKey:(NSString *)key
To
- (void)pauseAnimationForKey:(NSString * _Nonnull)key

Declaration
From
- (void)removeAnimationForKey:(NSString *)key
To
- (void)removeAnimationForKey:(NSString * _Nonnull)key

Declaration
From
- (void)removeAnimationForKey:(NSString *)key fadeOutDuration:(CGFloat)duration
To
- (void)removeAnimationForKey:(NSString * _Nonnull)key fadeOutDuration:(CGFloat)duration

Declaration
From
- (void)resumeAnimationForKey:(NSString *)key
To
- (void)resumeAnimationForKey:(NSString * _Nonnull)key

Declaration
From
+ (instancetype)animationEventWithKeyTime:(CGFloat)time block:(SCNAnimationEventBlock)eventBlock
To
+ (instancetype _Nonnull)animationEventWithKeyTime:(CGFloat)time block:(SCNAnimationEventBlock _Nonnull)eventBlock

SCNAudioSource.h (Added)

SCNBoundingVolume.h

Declaration
From
- (BOOL)getBoundingBoxMin:(SCNVector3 *)min max:(SCNVector3 *)max
To
- (BOOL)getBoundingBoxMin:(SCNVector3 * _Nullable)min max:(SCNVector3 * _Nullable)max

Declaration
From
- (BOOL)getBoundingSphereCenter:(SCNVector3 *)center radius:(CGFloat *)radius
To
- (BOOL)getBoundingSphereCenter:(SCNVector3 * _Nullable)center radius:(CGFloat * _Nullable)radius

Declaration
From
- (void)setBoundingBoxMin:(SCNVector3 *)min max:(SCNVector3 *)max
To
- (void)setBoundingBoxMin:(SCNVector3 * _Nullable)min max:(SCNVector3 * _Nullable)max

SCNCamera.h

Declaration
From
+ (instancetype)camera
To
+ (instancetype _Nonnull)camera

Declaration
From
@property(nonatomic, copy) NSString *name
To
@property(nonatomic, copy, nullable) NSString *name

SCNConstraint.h

Declaration
From
@property(nonatomic, readonly) SCNNode *chainRootNode
To
@property(nonatomic, readonly, nonnull) SCNNode *chainRootNode

Declaration
From
+ (instancetype)inverseKinematicsConstraintWithChainRootNode:(SCNNode *)chainRootNode
To
+ (instancetype _Nonnull)inverseKinematicsConstraintWithChainRootNode:(SCNNode * _Nonnull)chainRootNode

Declaration
From
- (CGFloat)maxAllowedRotationAngleForJoint:(SCNNode *)node
To
- (CGFloat)maxAllowedRotationAngleForJoint:(SCNNode * _Nonnull)node

Declaration
From
- (void)setMaxAllowedRotationAngle:(CGFloat)angle forJoint:(SCNNode *)node
To
- (void)setMaxAllowedRotationAngle:(CGFloat)angle forJoint:(SCNNode * _Nonnull)node

Declaration
From
+ (instancetype)lookAtConstraintWithTarget:(SCNNode *)target
To
+ (instancetype _Nonnull)lookAtConstraintWithTarget:(SCNNode * _Nonnull)target

Declaration
From
@property(nonatomic, readonly) SCNNode *target
To
@property(nonatomic, readonly, nonnull) SCNNode *target

Declaration
From
+ (instancetype)transformConstraintInWorldSpace:(BOOL)world withBlock:(SCNMatrix4 (^)(SCNNode *node, SCNMatrix4 transform))block
To
+ (instancetype _Nonnull)transformConstraintInWorldSpace:(BOOL)world withBlock:(SCNMatrix4 (^ _Nonnull)(SCNNode * _Nonnull node, SCNMatrix4 transform))block

SCNGeometry.h

Declaration
From
@property(nonatomic, retain) SCNGeometryElement *edgeCreasesElement
To
@property(nonatomic, retain, nullable) SCNGeometryElement *edgeCreasesElement

Declaration
From
@property(nonatomic, retain) SCNGeometrySource *edgeCreasesSource
To
@property(nonatomic, retain, nullable) SCNGeometrySource *edgeCreasesSource

Declaration
From
@property(nonatomic, retain) SCNMaterial *firstMaterial
To
@property(nonatomic, retain, nullable) SCNMaterial *firstMaterial

Declaration
From
+ (instancetype)geometry
To
+ (instancetype _Nonnull)geometry

Declaration
From
- (SCNGeometryElement *)geometryElementAtIndex:(NSInteger)elementIndex
To
- (SCNGeometryElement * _Nonnull)geometryElementAtIndex:(NSInteger)elementIndex

Declaration
From
- (NSArray *)geometrySourcesForSemantic:(NSString *)semantic
To
- (NSArray<SCNGeometrySource *> * _Nonnull)geometrySourcesForSemantic:(NSString * _Nonnull)semantic

Declaration
From
+ (instancetype)geometryWithSources:(NSArray *)sources elements:(NSArray *)elements
To
+ (instancetype _Nonnull)geometryWithSources:(NSArray<SCNGeometrySource *> * _Nonnull)sources elements:(NSArray<SCNGeometryElement *> * _Nonnull)elements

Declaration
From
- (void)insertMaterial:(SCNMaterial *)material atIndex:(NSUInteger)index
To
- (void)insertMaterial:(SCNMaterial * _Nonnull)material atIndex:(NSUInteger)index

Declaration
From
@property(nonatomic, copy) NSArray *levelsOfDetail
To
@property(nonatomic, copy, nullable) NSArray<SCNLevelOfDetail *> *levelsOfDetail

Declaration
From
@property(nonatomic, copy) NSArray *materials
To
@property(nonatomic, copy, nonnull) NSArray<SCNMaterial *> *materials

Declaration
From
- (SCNMaterial *)materialWithName:(NSString *)name
To
- (SCNMaterial * _Nullable)materialWithName:(NSString * _Nonnull)name

Declaration
From
@property(nonatomic, copy) NSString *name
To
@property(nonatomic, copy, nullable) NSString *name

Declaration
From
- (void)replaceMaterialAtIndex:(NSUInteger)index withMaterial:(SCNMaterial *)material
To
- (void)replaceMaterialAtIndex:(NSUInteger)index withMaterial:(SCNMaterial * _Nonnull)material

Declaration
From
@property(nonatomic, readonly) NSData *data
To
@property(nonatomic, readonly, nonnull) NSData *data

Declaration
From
+ (instancetype)geometryElementWithData:(NSData *)data primitiveType:(SCNGeometryPrimitiveType)primitiveType primitiveCount:(NSInteger)primitiveCount bytesPerIndex:(NSInteger)bytesPerIndex
To
+ (instancetype _Nonnull)geometryElementWithData:(NSData * _Nullable)data primitiveType:(SCNGeometryPrimitiveType)primitiveType primitiveCount:(NSInteger)primitiveCount bytesPerIndex:(NSInteger)bytesPerIndex

Declaration
From
@property(nonatomic, readonly) NSData *data
To
@property(nonatomic, readonly, nonnull) NSData *data

Declaration
From
+ (instancetype)geometrySourceWithData:(NSData *)data semantic:(NSString *)semantic vectorCount:(NSInteger)vectorCount floatComponents:(BOOL)floatComponents componentsPerVector:(NSInteger)componentsPerVector bytesPerComponent:(NSInteger)bytesPerComponent dataOffset:(NSInteger)offset dataStride:(NSInteger)stride
To
+ (instancetype _Nonnull)geometrySourceWithData:(NSData * _Nonnull)data semantic:(NSString * _Nonnull)semantic vectorCount:(NSInteger)vectorCount floatComponents:(BOOL)floatComponents componentsPerVector:(NSInteger)componentsPerVector bytesPerComponent:(NSInteger)bytesPerComponent dataOffset:(NSInteger)offset dataStride:(NSInteger)stride

Declaration
From
+ (instancetype)geometrySourceWithNormals:(const SCNVector3 *)normals count:(NSInteger)count
To
+ (instancetype _Nonnull)geometrySourceWithNormals:(const SCNVector3 * _Nonnull)normals count:(NSInteger)count

Declaration
From
+ (instancetype)geometrySourceWithTextureCoordinates:(const CGPoint *)texcoord count:(NSInteger)count
To
+ (instancetype _Nonnull)geometrySourceWithTextureCoordinates:(const CGPoint * _Nonnull)texcoord count:(NSInteger)count

Declaration
From
+ (instancetype)geometrySourceWithVertices:(const SCNVector3 *)vertices count:(NSInteger)count
To
+ (instancetype _Nonnull)geometrySourceWithVertices:(const SCNVector3 * _Nonnull)vertices count:(NSInteger)count

Declaration
From
@property(nonatomic, readonly) NSString *semantic
To
@property(nonatomic, readonly, nonnull) NSString *semantic

SCNJavascript.h

Declaration
From
void SCNExportJavaScriptModule (
    JSContext *context
);
To
void SCNExportJavaScriptModule (
    JSContext * _Nonnull context
);

SCNLayer.h

Declaration
From
@property(nonatomic, retain) SCNScene *scene
To
@property(nonatomic, retain, nullable) SCNScene *scene

SCNLevelOfDetail.h

Declaration
From
@property(readonly) SCNGeometry *geometry
To
@property(readonly, nullable) SCNGeometry *geometry

Declaration
From
+ (instancetype)levelOfDetailWithGeometry:(SCNGeometry *)geometry screenSpaceRadius:(CGFloat)radius
To
+ (instancetype _Nonnull)levelOfDetailWithGeometry:(SCNGeometry * _Nullable)geometry screenSpaceRadius:(CGFloat)radius

Declaration
From
+ (instancetype)levelOfDetailWithGeometry:(SCNGeometry *)geometry worldSpaceDistance:(CGFloat)distance
To
+ (instancetype _Nonnull)levelOfDetailWithGeometry:(SCNGeometry * _Nullable)geometry worldSpaceDistance:(CGFloat)distance

SCNLight.h

Declaration
From
- (id)attributeForKey:(NSString *)key
To
- (id _Nullable)attributeForKey:(NSString * _Nonnull)key

Declaration
From
@property(nonatomic, retain) id color
To
@property(nonatomic, retain, nonnull) id color

Modified SCNLight.gobo
Declaration
From
@property(nonatomic, readonly) SCNMaterialProperty *gobo
To
@property(nonatomic, readonly, nullable) SCNMaterialProperty *gobo

Declaration
From
+ (instancetype)light
To
+ (instancetype _Nonnull)light

Modified SCNLight.name
Declaration
From
@property(nonatomic, copy) NSString *name
To
@property(nonatomic, copy, nullable) NSString *name

Declaration
From
- (void)setAttribute:(id)attribute forKey:(NSString *)key
To
- (void)setAttribute:(id _Nullable)attribute forKey:(NSString * _Nonnull)key

Declaration
From
@property(nonatomic, retain) id shadowColor
To
@property(nonatomic, retain, nonnull) id shadowColor

Modified SCNLight.type
Declaration
From
@property(nonatomic, copy) NSString *type
To
@property(nonatomic, copy, nonnull) NSString *type

SCNMaterial.h

Declaration
From
@property(nonatomic, readonly) SCNMaterialProperty *ambient
To
@property(nonatomic, readonly, nonnull) SCNMaterialProperty *ambient

Declaration
From
@property(nonatomic, readonly) SCNMaterialProperty *diffuse
To
@property(nonatomic, readonly, nonnull) SCNMaterialProperty *diffuse

Declaration
From
@property(nonatomic, readonly) SCNMaterialProperty *emission
To
@property(nonatomic, readonly, nonnull) SCNMaterialProperty *emission

Declaration
From
@property(nonatomic, copy) NSString *lightingModelName
To
@property(nonatomic, copy, nonnull) NSString *lightingModelName

Declaration
From
+ (instancetype)material
To
+ (instancetype _Nonnull)material

Declaration
From
@property(nonatomic, readonly) SCNMaterialProperty *multiply
To
@property(nonatomic, readonly, nonnull) SCNMaterialProperty *multiply

Declaration
From
@property(nonatomic, copy) NSString *name
To
@property(nonatomic, copy, nullable) NSString *name

Declaration
From
@property(nonatomic, readonly) SCNMaterialProperty *normal
To
@property(nonatomic, readonly, nonnull) SCNMaterialProperty *normal

Declaration
From
@property(nonatomic, readonly) SCNMaterialProperty *reflective
To
@property(nonatomic, readonly, nonnull) SCNMaterialProperty *reflective

Declaration
From
@property(nonatomic, readonly) SCNMaterialProperty *specular
To
@property(nonatomic, readonly, nonnull) SCNMaterialProperty *specular

Declaration
From
@property(nonatomic, readonly) SCNMaterialProperty *transparent
To
@property(nonatomic, readonly, nonnull) SCNMaterialProperty *transparent

SCNMaterialProperty.h

Removed SCNClamp
Removed SCNMirror
Removed SCNRepeat
Declaration
From
@property(nonatomic, retain) id borderColor
To
@property(nonatomic, retain, nullable) id borderColor

Declaration
From
@property(nonatomic, retain) id contents
To
@property(nonatomic, retain, nullable) id contents

Declaration
From
+ (instancetype)materialPropertyWithContents:(id)contents
To
+ (instancetype _Nonnull)materialPropertyWithContents:(id _Nonnull)contents

SCNMorpher.h

Declaration
From
@property(nonatomic, copy) NSArray *targets
To
@property(nonatomic, copy, nonnull) NSArray<SCNGeometry *> *targets

SCNNode.h

Declaration
From
- (void)addChildNode:(SCNNode *)child
To
- (void)addChildNode:(SCNNode * _Nonnull)child

Declaration
From
@property(nonatomic, retain) SCNCamera *camera
To
@property(nonatomic, retain, nullable) SCNCamera *camera

Declaration
From
@property(nonatomic, readonly) NSArray *childNodes
To
@property(nonatomic, readonly, nonnull) NSArray<SCNNode *> *childNodes

Declaration
From
- (NSArray *)childNodesPassingTest:(BOOL (^)(SCNNode *child, BOOL *stop))predicate
To
- (NSArray<SCNNode *> * _Nonnull)childNodesPassingTest:(BOOL (^ _Nonnull)(SCNNode * _Nonnull child, BOOL * _Nonnull stop))predicate

Declaration
From
- (SCNNode *)childNodeWithName:(NSString *)name recursively:(BOOL)recursively
To
- (SCNNode * _Nullable)childNodeWithName:(NSString * _Nonnull)name recursively:(BOOL)recursively

Declaration
From
- (id)clone
To
- (instancetype _Nonnull)clone

Declaration
From
@property(copy) NSArray *constraints
To
@property(copy, nullable) NSArray<SCNConstraint *> *constraints

Declaration
From
- (SCNVector3)convertPosition:(SCNVector3)position fromNode:(SCNNode *)node
To
- (SCNVector3)convertPosition:(SCNVector3)position fromNode:(SCNNode * _Nullable)node

Declaration
From
- (SCNVector3)convertPosition:(SCNVector3)position toNode:(SCNNode *)node
To
- (SCNVector3)convertPosition:(SCNVector3)position toNode:(SCNNode * _Nullable)node

Declaration
From
- (SCNMatrix4)convertTransform:(SCNMatrix4)transform fromNode:(SCNNode *)node
To
- (SCNMatrix4)convertTransform:(SCNMatrix4)transform fromNode:(SCNNode * _Nullable)node

Declaration
From
- (SCNMatrix4)convertTransform:(SCNMatrix4)transform toNode:(SCNNode *)node
To
- (SCNMatrix4)convertTransform:(SCNMatrix4)transform toNode:(SCNNode * _Nullable)node

Declaration
From
- (void)enumerateChildNodesUsingBlock:(void (^)(SCNNode *child, BOOL *stop))block
To
- (void)enumerateChildNodesUsingBlock:(void (^ _Nonnull)(SCNNode * _Nonnull child, BOOL * _Nonnull stop))block

Declaration
From
@property(nonatomic, copy) NSArray *filters
To
@property(nonatomic, copy, nullable) NSArray<CIFilter *> *filters

Declaration
From
- (SCNNode *)flattenedClone
To
- (instancetype _Nonnull)flattenedClone

Declaration
From
@property(nonatomic, retain) SCNGeometry *geometry
To
@property(nonatomic, retain, nullable) SCNGeometry *geometry

Declaration
From
- (NSArray *)hitTestWithSegmentFromPoint:(SCNVector3)pointA toPoint:(SCNVector3)pointB options:(NSDictionary *)options
To
- (NSArray<SCNHitTestResult *> * _Nonnull)hitTestWithSegmentFromPoint:(SCNVector3)pointA toPoint:(SCNVector3)pointB options:(NSDictionary<NSString *,id> * _Nullable)options

Declaration
From
- (void)insertChildNode:(SCNNode *)child atIndex:(NSUInteger)index
To
- (void)insertChildNode:(SCNNode * _Nonnull)child atIndex:(NSUInteger)index

Modified SCNNode.light
Declaration
From
@property(nonatomic, retain) SCNLight *light
To
@property(nonatomic, retain, nullable) SCNLight *light

Declaration
From
@property(nonatomic, retain) SCNMorpher *morpher
To
@property(nonatomic, retain, nullable) SCNMorpher *morpher

Modified SCNNode.name
Declaration
From
@property(nonatomic, copy) NSString *name
To
@property(nonatomic, copy, nullable) NSString *name

Declaration
From
+ (instancetype)node
To
+ (instancetype _Nonnull)node

Declaration
From
+ (SCNNode *)nodeWithGeometry:(SCNGeometry *)geometry
To
+ (SCNNode * _Nonnull)nodeWithGeometry:(SCNGeometry * _Nullable)geometry

Declaration
From
@property(nonatomic, readonly) SCNNode *parentNode
To
@property(nonatomic, readonly, nullable) SCNNode *parentNode

Declaration
From
@property(nonatomic, retain) SCNPhysicsBody *physicsBody
To
@property(nonatomic, retain, nullable) SCNPhysicsBody *physicsBody

Declaration
From
@property(nonatomic, retain) SCNPhysicsField *physicsField
To
@property(nonatomic, retain, nullable) SCNPhysicsField *physicsField

Declaration
From
- (SCNNode *)presentationNode
To
@property(nonatomic, readonly, nonnull) SCNNode *presentationNode

Declaration
From
@property(nonatomic, assign) id<SCNNodeRendererDelegate> rendererDelegate
To
@property(nonatomic, assign, nullable) id<SCNNodeRendererDelegate> rendererDelegate

Declaration
From
- (void)replaceChildNode:(SCNNode *)oldChild with:(SCNNode *)newChild
To
- (void)replaceChildNode:(SCNNode * _Nonnull)oldChild with:(SCNNode * _Nonnull)newChild

Declaration
From
@property(nonatomic, retain) SCNSkinner *skinner
To
@property(nonatomic, retain, nullable) SCNSkinner *skinner

Declaration
From
- (void)renderNode:(SCNNode *)node renderer:(SCNRenderer *)renderer arguments:(NSDictionary *)arguments
To
- (void)renderNode:(SCNNode * _Nonnull)node renderer:(SCNRenderer * _Nonnull)renderer arguments:(NSDictionary<NSString *,NSValue *> * _Nonnull)arguments

SCNParametricGeometry.h

Declaration
From
+ (instancetype)boxWithWidth:(CGFloat)width height:(CGFloat)height length:(CGFloat)length chamferRadius:(CGFloat)chamferRadius
To
+ (instancetype _Nonnull)boxWithWidth:(CGFloat)width height:(CGFloat)height length:(CGFloat)length chamferRadius:(CGFloat)chamferRadius

Declaration
From
+ (instancetype)capsuleWithCapRadius:(CGFloat)capRadius height:(CGFloat)height
To
+ (instancetype _Nonnull)capsuleWithCapRadius:(CGFloat)capRadius height:(CGFloat)height

Declaration
From
+ (instancetype)coneWithTopRadius:(CGFloat)topRadius bottomRadius:(CGFloat)bottomRadius height:(CGFloat)height
To
+ (instancetype _Nonnull)coneWithTopRadius:(CGFloat)topRadius bottomRadius:(CGFloat)bottomRadius height:(CGFloat)height

Declaration
From
+ (instancetype)cylinderWithRadius:(CGFloat)radius height:(CGFloat)height
To
+ (instancetype _Nonnull)cylinderWithRadius:(CGFloat)radius height:(CGFloat)height

Declaration
From
+ (instancetype)floor
To
+ (instancetype _Nonnull)floor

Declaration
From
+ (instancetype)planeWithWidth:(CGFloat)width height:(CGFloat)height
To
+ (instancetype _Nonnull)planeWithWidth:(CGFloat)width height:(CGFloat)height

Declaration
From
+ (instancetype)pyramidWithWidth:(CGFloat)width height:(CGFloat)height length:(CGFloat)length
To
+ (instancetype _Nonnull)pyramidWithWidth:(CGFloat)width height:(CGFloat)height length:(CGFloat)length

Declaration
From
@property(nonatomic, copy) NSBezierPath *chamferProfile
To
@property(nonatomic, copy, nullable) NSBezierPath *chamferProfile

Modified SCNShape.path
Declaration
From
@property(nonatomic, copy) NSBezierPath *path
To
@property(nonatomic, copy, nullable) NSBezierPath *path

Declaration
From
+ (instancetype)shapeWithPath:(NSBezierPath *)path extrusionDepth:(CGFloat)extrusionDepth
To
+ (instancetype _Nonnull)shapeWithPath:(NSBezierPath * _Nullable)path extrusionDepth:(CGFloat)extrusionDepth

Declaration
From
+ (instancetype)sphereWithRadius:(CGFloat)radius
To
+ (instancetype _Nonnull)sphereWithRadius:(CGFloat)radius

Declaration
From
@property(nonatomic, copy) NSString *alignmentMode
To
@property(nonatomic, copy, nonnull) NSString *alignmentMode

Declaration
From
@property(nonatomic, copy) NSBezierPath *chamferProfile
To
@property(nonatomic, copy, nullable) NSBezierPath *chamferProfile

Modified SCNText.font
Declaration
From
@property(nonatomic, retain) NSFont *font
To
@property(nonatomic, retain) NSFont * _Null_unspecified font

Declaration
From
@property(nonatomic, copy) id string
To
@property(nonatomic, copy, nullable) id string

Declaration
From
+ (instancetype)textWithString:(id)string extrusionDepth:(CGFloat)extrusionDepth
To
+ (instancetype _Nonnull)textWithString:(id _Nullable)string extrusionDepth:(CGFloat)extrusionDepth

Declaration
From
@property(nonatomic, copy) NSString *truncationMode
To
@property(nonatomic, copy, nonnull) NSString *truncationMode

Declaration
From
+ (instancetype)torusWithRingRadius:(CGFloat)ringRadius pipeRadius:(CGFloat)pipeRadius
To
+ (instancetype _Nonnull)torusWithRingRadius:(CGFloat)ringRadius pipeRadius:(CGFloat)pipeRadius

Declaration
From
+ (instancetype)tubeWithInnerRadius:(CGFloat)innerRadius outerRadius:(CGFloat)outerRadius height:(CGFloat)height
To
+ (instancetype _Nonnull)tubeWithInnerRadius:(CGFloat)innerRadius outerRadius:(CGFloat)outerRadius height:(CGFloat)height

SCNParticleSystem.h

Declaration
From
- (void)addParticleSystem:(SCNParticleSystem *)system
To
- (void)addParticleSystem:(SCNParticleSystem * _Nonnull)system

Declaration
From
@property(readonly) NSArray *particleSystems
To
@property(readonly, nullable) NSArray<SCNParticleSystem *> *particleSystems

Declaration
From
- (void)removeParticleSystem:(SCNParticleSystem *)system
To
- (void)removeParticleSystem:(SCNParticleSystem * _Nonnull)system

Declaration
From
@property(nonatomic, retain) CAAnimation *animation
To
@property(nonatomic, retain, nonnull) CAAnimation *animation

Declaration
From
+ (instancetype)controllerWithAnimation:(CAAnimation *)animation
To
+ (instancetype _Nonnull)controllerWithAnimation:(CAAnimation * _Nonnull)animation

Declaration
From
@property(nonatomic, weak) SCNNode *inputOrigin
To
@property(nonatomic, weak, nullable) SCNNode *inputOrigin

Declaration
From
@property(nonatomic, copy) NSString *inputProperty
To
@property(nonatomic, copy, nullable) NSString *inputProperty

Declaration
From
- (void)addModifierForProperties:(NSArray *)properties atStage:(SCNParticleModifierStage)stage withBlock:(SCNParticleModifierBlock)block
To
- (void)addModifierForProperties:(NSArray<NSString *> * _Nonnull)properties atStage:(SCNParticleModifierStage)stage withBlock:(SCNParticleModifierBlock _Nonnull)block

Declaration
From
@property(nonatomic, copy) NSArray *colliderNodes
To
@property(nonatomic, copy, nullable) NSArray<SCNNode *> *colliderNodes

Declaration
From
@property(nonatomic, retain) SCNGeometry *emitterShape
To
@property(nonatomic, retain, nullable) SCNGeometry *emitterShape

Declaration
From
- (void)handleEvent:(SCNParticleEvent)event forProperties:(NSArray *)properties withBlock:(SCNParticleEventBlock)block
To
- (void)handleEvent:(SCNParticleEvent)event forProperties:(NSArray<NSString *> * _Nonnull)properties withBlock:(SCNParticleEventBlock _Nonnull)block

Declaration
From
@property(nonatomic, retain) NSColor *particleColor
To
@property(nonatomic, retain, nonnull) NSColor *particleColor

Declaration
From
@property(nonatomic, retain) id particleImage
To
@property(nonatomic, retain, nullable) id particleImage

Declaration
From
+ (instancetype)particleSystem
To
+ (instancetype _Nonnull)particleSystem

Declaration
From
+ (instancetype)particleSystemNamed:(NSString *)name inDirectory:(NSString *)directory
To
+ (instancetype _Nullable)particleSystemNamed:(NSString * _Nonnull)name inDirectory:(NSString * _Nullable)directory

Declaration
From
@property(nonatomic, copy) NSDictionary *propertyControllers
To
@property(nonatomic, copy, nullable) NSDictionary<NSString *,SCNParticlePropertyController *> *propertyControllers

Declaration
From
@property(nonatomic, retain) SCNParticleSystem *systemSpawnedOnCollision
To
@property(nonatomic, retain, nullable) SCNParticleSystem *systemSpawnedOnCollision

Declaration
From
@property(nonatomic, retain) SCNParticleSystem *systemSpawnedOnDying
To
@property(nonatomic, retain, nullable) SCNParticleSystem *systemSpawnedOnDying

Declaration
From
@property(nonatomic, retain) SCNParticleSystem *systemSpawnedOnLiving
To
@property(nonatomic, retain, nullable) SCNParticleSystem *systemSpawnedOnLiving

Declaration
From
- (void)addParticleSystem:(SCNParticleSystem *)system withTransform:(SCNMatrix4)transform
To
- (void)addParticleSystem:(SCNParticleSystem * _Nonnull)system withTransform:(SCNMatrix4)transform

Declaration
From
@property(readonly) NSArray *particleSystems
To
@property(readonly, nullable) NSArray<SCNParticleSystem *> *particleSystems

Declaration
From
- (void)removeParticleSystem:(SCNParticleSystem *)system
To
- (void)removeParticleSystem:(SCNParticleSystem * _Nonnull)system

SCNPhysicsBehavior.h

Declaration
From
@property(nonatomic, readonly) SCNPhysicsBody *bodyA
To
@property(nonatomic, readonly, nonnull) SCNPhysicsBody *bodyA

Declaration
From
@property(nonatomic, readonly) SCNPhysicsBody *bodyB
To
@property(nonatomic, readonly, nullable) SCNPhysicsBody *bodyB

Declaration
From
+ (instancetype)jointWithBody:(SCNPhysicsBody *)body anchor:(SCNVector3)anchor
To
+ (instancetype _Nonnull)jointWithBody:(SCNPhysicsBody * _Nonnull)body anchor:(SCNVector3)anchor

Declaration
From
+ (instancetype)jointWithBodyA:(SCNPhysicsBody *)bodyA anchorA:(SCNVector3)anchorA bodyB:(SCNPhysicsBody *)bodyB anchorB:(SCNVector3)anchorB
To
+ (instancetype _Nonnull)jointWithBodyA:(SCNPhysicsBody * _Nonnull)bodyA anchorA:(SCNVector3)anchorA bodyB:(SCNPhysicsBody * _Nonnull)bodyB anchorB:(SCNVector3)anchorB

Declaration
From
@property(nonatomic, readonly) SCNPhysicsBody *bodyA
To
@property(nonatomic, readonly, nonnull) SCNPhysicsBody *bodyA

Declaration
From
@property(nonatomic, readonly) SCNPhysicsBody *bodyB
To
@property(nonatomic, readonly, nullable) SCNPhysicsBody *bodyB

Declaration
From
+ (instancetype)jointWithBody:(SCNPhysicsBody *)body axis:(SCNVector3)axis anchor:(SCNVector3)anchor
To
+ (instancetype _Nonnull)jointWithBody:(SCNPhysicsBody * _Nonnull)body axis:(SCNVector3)axis anchor:(SCNVector3)anchor

Declaration
From
+ (instancetype)jointWithBodyA:(SCNPhysicsBody *)bodyA axisA:(SCNVector3)axisA anchorA:(SCNVector3)anchorA bodyB:(SCNPhysicsBody *)bodyB axisB:(SCNVector3)axisB anchorB:(SCNVector3)anchorB
To
+ (instancetype _Nonnull)jointWithBodyA:(SCNPhysicsBody * _Nonnull)bodyA axisA:(SCNVector3)axisA anchorA:(SCNVector3)anchorA bodyB:(SCNPhysicsBody * _Nonnull)bodyB axisB:(SCNVector3)axisB anchorB:(SCNVector3)anchorB

Declaration
From
@property(nonatomic, readonly) SCNPhysicsBody *bodyA
To
@property(nonatomic, readonly, nonnull) SCNPhysicsBody *bodyA

Declaration
From
@property(nonatomic, readonly) SCNPhysicsBody *bodyB
To
@property(nonatomic, readonly, nullable) SCNPhysicsBody *bodyB

Declaration
From
+ (instancetype)jointWithBody:(SCNPhysicsBody *)body axis:(SCNVector3)axis anchor:(SCNVector3)anchor
To
+ (instancetype _Nonnull)jointWithBody:(SCNPhysicsBody * _Nonnull)body axis:(SCNVector3)axis anchor:(SCNVector3)anchor

Declaration
From
+ (instancetype)jointWithBodyA:(SCNPhysicsBody *)bodyA axisA:(SCNVector3)axisA anchorA:(SCNVector3)anchorA bodyB:(SCNPhysicsBody *)bodyB axisB:(SCNVector3)axisB anchorB:(SCNVector3)anchorB
To
+ (instancetype _Nonnull)jointWithBodyA:(SCNPhysicsBody * _Nonnull)bodyA axisA:(SCNVector3)axisA anchorA:(SCNVector3)anchorA bodyB:(SCNPhysicsBody * _Nonnull)bodyB axisB:(SCNVector3)axisB anchorB:(SCNVector3)anchorB

Declaration
From
@property(nonatomic, readonly) SCNPhysicsBody *chassisBody
To
@property(nonatomic, readonly, nonnull) SCNPhysicsBody *chassisBody

Declaration
From
+ (instancetype)vehicleWithChassisBody:(SCNPhysicsBody *)chassisBody wheels:(NSArray *)wheels
To
+ (instancetype _Nonnull)vehicleWithChassisBody:(SCNPhysicsBody * _Nonnull)chassisBody wheels:(NSArray<SCNPhysicsVehicleWheel *> * _Nonnull)wheels

Declaration
From
@property(nonatomic, readonly) NSArray *wheels
To
@property(nonatomic, readonly, nonnull) NSArray<SCNPhysicsVehicleWheel *> *wheels

Declaration
From
@property(readonly) SCNNode *node
To
@property(readonly, nonnull) SCNNode *node

Declaration
From
+ (instancetype)wheelWithNode:(SCNNode *)node
To
+ (instancetype _Nonnull)wheelWithNode:(SCNNode * _Nonnull)node

SCNPhysicsBody.h

Declaration
From
+ (instancetype)bodyWithType:(SCNPhysicsBodyType)type shape:(SCNPhysicsShape *)shape
To
+ (instancetype _Nonnull)bodyWithType:(SCNPhysicsBodyType)type shape:(SCNPhysicsShape * _Nullable)shape

Declaration
From
@property(nonatomic, assign) NSUInteger categoryBitMask
To
@property(nonatomic) NSUInteger categoryBitMask

Declaration
From
@property(nonatomic, assign) NSUInteger collisionBitMask
To
@property(nonatomic) NSUInteger collisionBitMask

Declaration
From
+ (instancetype)dynamicBody
To
+ (instancetype _Nonnull)dynamicBody

Declaration
From
+ (instancetype)kinematicBody
To
+ (instancetype _Nonnull)kinematicBody

Declaration
From
@property(nonatomic, retain) SCNPhysicsShape *physicsShape
To
@property(nonatomic, retain, nullable) SCNPhysicsShape *physicsShape

Declaration
From
+ (instancetype)staticBody
To
+ (instancetype _Nonnull)staticBody

SCNPhysicsContact.h

Declaration
From
@property(nonatomic, readonly) SCNNode *nodeA
To
@property(nonatomic, readonly, nonnull) SCNNode *nodeA

Declaration
From
@property(nonatomic, readonly) SCNNode *nodeB
To
@property(nonatomic, readonly, nonnull) SCNNode *nodeB

SCNPhysicsField.h

Declaration
From
+ (SCNPhysicsField *)customFieldWithEvaluationBlock:(SCNFieldForceEvaluator)block
To
+ (SCNPhysicsField * _Nonnull)customFieldWithEvaluationBlock:(SCNFieldForceEvaluator _Nonnull)block

Declaration
From
+ (SCNPhysicsField *)dragField
To
+ (SCNPhysicsField * _Nonnull)dragField

Declaration
From
+ (SCNPhysicsField *)electricField
To
+ (SCNPhysicsField * _Nonnull)electricField

Declaration
From
+ (SCNPhysicsField *)linearGravityField
To
+ (SCNPhysicsField * _Nonnull)linearGravityField

Declaration
From
+ (SCNPhysicsField *)magneticField
To
+ (SCNPhysicsField * _Nonnull)magneticField

Declaration
From
+ (SCNPhysicsField *)noiseFieldWithSmoothness:(CGFloat)smoothness animationSpeed:(CGFloat)speed
To
+ (SCNPhysicsField * _Nonnull)noiseFieldWithSmoothness:(CGFloat)smoothness animationSpeed:(CGFloat)speed

Declaration
From
+ (SCNPhysicsField *)radialGravityField
To
+ (SCNPhysicsField * _Nonnull)radialGravityField

Declaration
From
+ (SCNPhysicsField *)springField
To
+ (SCNPhysicsField * _Nonnull)springField

Declaration
From
+ (SCNPhysicsField *)turbulenceFieldWithSmoothness:(CGFloat)smoothness animationSpeed:(CGFloat)speed
To
+ (SCNPhysicsField * _Nonnull)turbulenceFieldWithSmoothness:(CGFloat)smoothness animationSpeed:(CGFloat)speed

Declaration
From
+ (SCNPhysicsField *)vortexField
To
+ (SCNPhysicsField * _Nonnull)vortexField

SCNPhysicsShape.h

Declaration
From
+ (instancetype)shapeWithGeometry:(SCNGeometry *)geometry options:(NSDictionary *)options
To
+ (instancetype _Nonnull)shapeWithGeometry:(SCNGeometry * _Nonnull)geometry options:(NSDictionary<NSString *,id> * _Nullable)options

Declaration
From
+ (instancetype)shapeWithNode:(SCNNode *)node options:(NSDictionary *)options
To
+ (instancetype _Nonnull)shapeWithNode:(SCNNode * _Nonnull)node options:(NSDictionary<NSString *,id> * _Nullable)options

Declaration
From
+ (instancetype)shapeWithShapes:(NSArray *)shapes transforms:(NSArray *)transforms
To
+ (instancetype _Nonnull)shapeWithShapes:(NSArray<SCNPhysicsShape *> * _Nonnull)shapes transforms:(NSArray<NSValue *> * _Nullable)transforms

SCNPhysicsWorld.h

Declaration
From
- (void)physicsWorld:(SCNPhysicsWorld *)world didBeginContact:(SCNPhysicsContact *)contact
To
- (void)physicsWorld:(SCNPhysicsWorld * _Nonnull)world didBeginContact:(SCNPhysicsContact * _Nonnull)contact

Declaration
From
- (void)physicsWorld:(SCNPhysicsWorld *)world didEndContact:(SCNPhysicsContact *)contact
To
- (void)physicsWorld:(SCNPhysicsWorld * _Nonnull)world didEndContact:(SCNPhysicsContact * _Nonnull)contact

Declaration
From
- (void)physicsWorld:(SCNPhysicsWorld *)world didUpdateContact:(SCNPhysicsContact *)contact
To
- (void)physicsWorld:(SCNPhysicsWorld * _Nonnull)world didUpdateContact:(SCNPhysicsContact * _Nonnull)contact

Declaration
From
- (void)addBehavior:(SCNPhysicsBehavior *)behavior
To
- (void)addBehavior:(SCNPhysicsBehavior * _Nonnull)behavior

Declaration
From
- (NSArray *)allBehaviors
To
@property(nonatomic, readonly, nonnull) NSArray<SCNPhysicsBehavior *> *allBehaviors

Declaration
From
@property(atomic, assign) id<SCNPhysicsContactDelegate> contactDelegate
To
@property(atomic, assign, nullable) id<SCNPhysicsContactDelegate> contactDelegate

Declaration
From
- (NSArray *)contactTestBetweenBody:(SCNPhysicsBody *)bodyA andBody:(SCNPhysicsBody *)bodyB options:(NSDictionary *)options
To
- (NSArray<SCNPhysicsContact *> * _Nonnull)contactTestBetweenBody:(SCNPhysicsBody * _Nonnull)bodyA andBody:(SCNPhysicsBody * _Nonnull)bodyB options:(NSDictionary<NSString *,id> * _Nullable)options

Declaration
From
- (NSArray *)contactTestWithBody:(SCNPhysicsBody *)body options:(NSDictionary *)options
To
- (NSArray<SCNPhysicsContact *> * _Nonnull)contactTestWithBody:(SCNPhysicsBody * _Nonnull)body options:(NSDictionary<NSString *,id> * _Nullable)options

Declaration
From
- (NSArray *)convexSweepTestWithShape:(SCNPhysicsShape *)shape fromTransform:(SCNMatrix4)from toTransform:(SCNMatrix4)to options:(NSDictionary *)options
To
- (NSArray<SCNPhysicsContact *> * _Nonnull)convexSweepTestWithShape:(SCNPhysicsShape * _Nonnull)shape fromTransform:(SCNMatrix4)from toTransform:(SCNMatrix4)to options:(NSDictionary<NSString *,id> * _Nullable)options

Declaration
From
- (NSArray *)rayTestWithSegmentFromPoint:(SCNVector3)origin toPoint:(SCNVector3)dest options:(NSDictionary *)options
To
- (NSArray<SCNHitTestResult *> * _Nonnull)rayTestWithSegmentFromPoint:(SCNVector3)origin toPoint:(SCNVector3)dest options:(NSDictionary<NSString *,id> * _Nullable)options

Declaration
From
- (void)removeBehavior:(SCNPhysicsBehavior *)behavior
To
- (void)removeBehavior:(SCNPhysicsBehavior * _Nonnull)behavior

SCNReferenceNode.h (Added)

SCNRenderer.h

Deprecation
From--
ToOS X 10.11

Declaration
From
+ (instancetype)rendererWithContext:(void *)context options:(NSDictionary *)options
To
+ (instancetype _Nonnull)rendererWithContext:(CGLContextObj _Nonnull)context options:(NSDictionary * _Nullable)options

Declaration
From
@property(nonatomic, retain) SCNScene *scene
To
@property(nonatomic, retain, nullable) SCNScene *scene

SCNScene.h

Declaration
From
- (id)attributeForKey:(NSString *)key
To
- (id _Nullable)attributeForKey:(NSString * _Nonnull)key

Declaration
From
@property(nonatomic, readonly) SCNMaterialProperty *background
To
@property(nonatomic, readonly, nonnull) SCNMaterialProperty *background

Declaration
From
@property(nonatomic, retain) id fogColor
To
@property(nonatomic, retain, nonnull) id fogColor

Declaration
From
@property(nonatomic, readonly) SCNPhysicsWorld *physicsWorld
To
@property(nonatomic, readonly, nonnull) SCNPhysicsWorld *physicsWorld

Declaration
From
@property(nonatomic, readonly) SCNNode *rootNode
To
@property(nonatomic, readonly, nonnull) SCNNode *rootNode

Declaration
From
+ (instancetype)scene
To
+ (instancetype _Nonnull)scene

Declaration
From
+ (instancetype)sceneNamed:(NSString *)name
To
+ (instancetype _Nullable)sceneNamed:(NSString * _Nonnull)name

Declaration
From
+ (instancetype)sceneNamed:(NSString *)name inDirectory:(NSString *)directory options:(NSDictionary *)options
To
+ (instancetype _Nullable)sceneNamed:(NSString * _Nonnull)name inDirectory:(NSString * _Nullable)directory options:(NSDictionary<NSString *,id> * _Nullable)options

Declaration
From
+ (instancetype)sceneWithURL:(NSURL *)url options:(NSDictionary *)options error:(NSError **)error
To
+ (instancetype _Nullable)sceneWithURL:(NSURL * _Nonnull)url options:(NSDictionary<NSString *,id> * _Nullable)options error:(NSError * _Nullable * _Nullable)error

Declaration
From
- (void)setAttribute:(id)attribute forKey:(NSString *)key
To
- (void)setAttribute:(id _Nullable)attribute forKey:(NSString * _Nonnull)key

Declaration
From
- (BOOL)writeToURL:(NSURL *)url options:(NSDictionary *)options delegate:(id<SCNSceneExportDelegate>)delegate progressHandler:(SCNSceneExportProgressHandler)progressHandler
To
- (BOOL)writeToURL:(NSURL * _Nonnull)url options:(NSDictionary<NSString *,id> * _Nullable)options delegate:(id<SCNSceneExportDelegate> _Nullable)delegate progressHandler:(SCNSceneExportProgressHandler _Nullable)progressHandler

Declaration
From
- (NSURL *)writeImage:(NSImage *)image withSceneDocumentURL:(NSURL *)documentURL originalImageURL:(NSURL *)originalImageURL
To
- (NSURL * _Nullable)writeImage:(NSImage * _Nonnull)image withSceneDocumentURL:(NSURL * _Nonnull)documentURL originalImageURL:(NSURL * _Nullable)originalImageURL

SCNSceneRenderer.h

Declaration
From
@property(nonatomic, readonly) SCNNode *node
To
@property(nonatomic, readonly, nonnull) SCNNode *node

Declaration
From
@property(nonatomic, readonly) void *context
To
@property(nonatomic, readonly, nullable) void *context

Declaration
From
@property(nonatomic, assign) id<SCNSceneRendererDelegate> delegate
To
@property(nonatomic, assign, nullable) id<SCNSceneRendererDelegate> delegate

Declaration
From
- (NSArray *)hitTest:(CGPoint)thePoint options:(NSDictionary *)options
To
- (NSArray<SCNHitTestResult *> * _Nonnull)hitTest:(CGPoint)point options:(NSDictionary<NSString *,id> * _Nullable)options

Declaration
From
- (BOOL)isNodeInsideFrustum:(SCNNode *)node withPointOfView:(SCNNode *)pointOfView
To
- (BOOL)isNodeInsideFrustum:(SCNNode * _Nonnull)node withPointOfView:(SCNNode * _Nonnull)pointOfView

Declaration
From
@property(nonatomic, retain) SKScene *overlaySKScene
To
@property(nonatomic, retain, nullable) SKScene *overlaySKScene

Declaration
From
@property(nonatomic, retain) SCNNode *pointOfView
To
@property(nonatomic, retain, nullable) SCNNode *pointOfView

Declaration
From
- (BOOL)prepareObject:(id)object shouldAbortBlock:(BOOL (^)(void))block
To
- (BOOL)prepareObject:(id _Nonnull)object shouldAbortBlock:(BOOL (^ _Nullable)(void))block

Declaration
From
- (void)prepareObjects:(NSArray *)objects withCompletionHandler:(void (^)(BOOL success))completionHandler
To
- (void)prepareObjects:(NSArray * _Nonnull)objects withCompletionHandler:(void (^ _Nullable)(BOOL success))completionHandler

Declaration
From
@property(nonatomic, retain) SCNScene *scene
To
@property(nonatomic, retain, nullable) SCNScene *scene

Declaration
From
- (void)renderer:(id<SCNSceneRenderer>)aRenderer didApplyAnimationsAtTime:(NSTimeInterval)time
To
- (void)renderer:(id<SCNSceneRenderer> _Nonnull)renderer didApplyAnimationsAtTime:(NSTimeInterval)time

Declaration
From
- (void)renderer:(id<SCNSceneRenderer>)aRenderer didRenderScene:(SCNScene *)scene atTime:(NSTimeInterval)time
To
- (void)renderer:(id<SCNSceneRenderer> _Nonnull)renderer didRenderScene:(SCNScene * _Nonnull)scene atTime:(NSTimeInterval)time

Declaration
From
- (void)renderer:(id<SCNSceneRenderer>)aRenderer didSimulatePhysicsAtTime:(NSTimeInterval)time
To
- (void)renderer:(id<SCNSceneRenderer> _Nonnull)renderer didSimulatePhysicsAtTime:(NSTimeInterval)time

Declaration
From
- (void)renderer:(id<SCNSceneRenderer>)aRenderer updateAtTime:(NSTimeInterval)time
To
- (void)renderer:(id<SCNSceneRenderer> _Nonnull)renderer updateAtTime:(NSTimeInterval)time

Declaration
From
- (void)renderer:(id<SCNSceneRenderer>)aRenderer willRenderScene:(SCNScene *)scene atTime:(NSTimeInterval)time
To
- (void)renderer:(id<SCNSceneRenderer> _Nonnull)renderer willRenderScene:(SCNScene * _Nonnull)scene atTime:(NSTimeInterval)time

SCNSceneSource.h

Declaration
From
@property(readonly) NSData *data
To
@property(readonly, nullable) NSData *data

Declaration
From
- (NSArray *)entriesPassingTest:(BOOL (^)(id entry, NSString *identifier, BOOL *stop))predicate
To
- (NSArray<id> * _Nonnull)entriesPassingTest:(BOOL (^ _Nonnull)(id _Nonnull entry, NSString * _Nonnull identifier, BOOL * _Nonnull stop))predicate

Declaration
From
- (id)entryWithIdentifier:(NSString *)uid withClass:(Class)entryClass
To
- (id _Nullable)entryWithIdentifier:(NSString * _Nonnull)uid withClass:(Class _Nonnull)entryClass

Declaration
From
- (NSArray *)identifiersOfEntriesWithClass:(Class)entryClass
To
- (NSArray<NSString *> * _Nonnull)identifiersOfEntriesWithClass:(Class _Nonnull)entryClass

Declaration
From
- (id)initWithData:(NSData *)data options:(NSDictionary *)options
To
- (instancetype _Nullable)initWithData:(NSData * _Nonnull)data options:(NSDictionary<NSString *,id> * _Nullable)options

Declaration
From
- (id)initWithURL:(NSURL *)url options:(NSDictionary *)options
To
- (instancetype _Nullable)initWithURL:(NSURL * _Nonnull)url options:(NSDictionary<NSString *,id> * _Nullable)options

Declaration
From
- (id)propertyForKey:(NSString *)key
To
- (id _Nullable)propertyForKey:(NSString * _Nonnull)key

Declaration
From
+ (instancetype)sceneSourceWithData:(NSData *)data options:(NSDictionary *)options
To
+ (instancetype _Nullable)sceneSourceWithData:(NSData * _Nonnull)data options:(NSDictionary<NSString *,id> * _Nullable)options

Declaration
From
+ (instancetype)sceneSourceWithURL:(NSURL *)url options:(NSDictionary *)options
To
+ (instancetype _Nullable)sceneSourceWithURL:(NSURL * _Nonnull)url options:(NSDictionary<NSString *,id> * _Nullable)options

Declaration
From
- (SCNScene *)sceneWithOptions:(NSDictionary *)options error:(NSError **)error
To
- (SCNScene * _Nullable)sceneWithOptions:(NSDictionary<NSString *,id> * _Nullable)options error:(NSError * _Nullable * _Nullable)error

Declaration
From
- (SCNScene *)sceneWithOptions:(NSDictionary *)options statusHandler:(SCNSceneSourceStatusHandler)statusHandler
To
- (SCNScene * _Nullable)sceneWithOptions:(NSDictionary<NSString *,id> * _Nullable)options statusHandler:(SCNSceneSourceStatusHandler _Nullable)statusHandler

Declaration
From
@property(readonly) NSURL *url
To
@property(readonly, nullable) NSURL *url

SCNShadable.h

Declaration
From
@property(nonatomic, assign) id<SCNProgramDelegate> delegate
To
@property(nonatomic, assign, nullable) id<SCNProgramDelegate> delegate

Declaration
From
@property(nonatomic, copy) NSString *fragmentShader
To
@property(nonatomic, copy, nullable) NSString *fragmentShader

Declaration
From
@property(nonatomic, copy) NSString *geometryShader
To
@property(nonatomic, copy, nullable) NSString *geometryShader

Declaration
From
+ (instancetype)program
To
+ (instancetype _Nonnull)program

Declaration
From
- (NSString *)semanticForSymbol:(NSString *)symbol
To
- (NSString * _Nullable)semanticForSymbol:(NSString * _Nonnull)symbol

Declaration
From
- (void)setSemantic:(NSString *)semantic forSymbol:(NSString *)symbol options:(NSDictionary *)options
To
- (void)setSemantic:(NSString * _Nullable)semantic forSymbol:(NSString * _Nonnull)symbol options:(NSDictionary<NSString *,id> * _Nullable)options

Declaration
From
@property(nonatomic, copy) NSString *tessellationControlShader
To
@property(nonatomic, copy, nullable) NSString *tessellationControlShader

Declaration
From
@property(nonatomic, copy) NSString *tessellationEvaluationShader
To
@property(nonatomic, copy, nullable) NSString *tessellationEvaluationShader

Declaration
From
@property(nonatomic, copy) NSString *vertexShader
To
@property(nonatomic, copy, nullable) NSString *vertexShader

Declaration
From
- (BOOL)program:(SCNProgram *)program bindValueForSymbol:(NSString *)symbol atLocation:(unsigned int)location programID:(unsigned int)programID renderer:(SCNRenderer *)renderer
To
- (BOOL)program:(SCNProgram * _Nonnull)program bindValueForSymbol:(NSString * _Nonnull)symbol atLocation:(unsigned int)location programID:(unsigned int)programID renderer:(SCNRenderer * _Nonnull)renderer

Declaration
From
- (void)program:(SCNProgram *)program handleError:(NSError *)error
To
- (void)program:(SCNProgram * _Nonnull)program handleError:(NSError * _Nonnull)error

Declaration
From
- (void)program:(SCNProgram *)program unbindValueForSymbol:(NSString *)symbol atLocation:(unsigned int)location programID:(unsigned int)programID renderer:(SCNRenderer *)renderer
To
- (void)program:(SCNProgram * _Nonnull)program unbindValueForSymbol:(NSString * _Nonnull)symbol atLocation:(unsigned int)location programID:(unsigned int)programID renderer:(SCNRenderer * _Nonnull)renderer

Declaration
From
- (BOOL)programIsOpaque:(SCNProgram *)program
To
- (BOOL)programIsOpaque:(SCNProgram * _Nonnull)program

Declaration
From
- (void)handleBindingOfSymbol:(NSString *)symbol usingBlock:(SCNBindingBlock)block
To
- (void)handleBindingOfSymbol:(NSString * _Nonnull)symbol usingBlock:(SCNBindingBlock _Nullable)block

Declaration
From
- (void)handleUnbindingOfSymbol:(NSString *)symbol usingBlock:(SCNBindingBlock)block
To
- (void)handleUnbindingOfSymbol:(NSString * _Nonnull)symbol usingBlock:(SCNBindingBlock _Nullable)block

Declaration
From
@property(nonatomic, retain) SCNProgram *program
To
@property(nonatomic, retain, nullable) SCNProgram *program

Declaration
From
@property(nonatomic, copy) NSDictionary *shaderModifiers
To
@property(nonatomic, copy, nullable) NSDictionary<NSString *,NSString *> *shaderModifiers

SCNSkinner.h

Declaration
From
@property(retain, nonatomic) SCNGeometry *baseGeometry
To
@property(retain, nonatomic, nullable) SCNGeometry *baseGeometry

Declaration
From
@property(readonly, nonatomic) SCNGeometrySource *boneIndices
To
@property(readonly, nonatomic, nonnull) SCNGeometrySource *boneIndices

Declaration
From
@property(readonly, nonatomic) NSArray *boneInverseBindTransforms
To
@property(readonly, nonatomic, nullable) NSArray<NSValue *> *boneInverseBindTransforms

Declaration
From
@property(readonly, nonatomic) NSArray *bones
To
@property(readonly, nonatomic, nonnull) NSArray<SCNNode *> *bones

Declaration
From
@property(readonly, nonatomic) SCNGeometrySource *boneWeights
To
@property(readonly, nonatomic, nonnull) SCNGeometrySource *boneWeights

Declaration
From
@property(nonatomic, retain) SCNNode *skeleton
To
@property(nonatomic, retain, nullable) SCNNode *skeleton

Declaration
From
+ (instancetype)skinnerWithBaseGeometry:(SCNGeometry *)baseGeometry bones:(NSArray *)bones boneInverseBindTransforms:(NSArray *)boneInverseBindTransforms boneWeights:(SCNGeometrySource *)boneWeights boneIndices:(SCNGeometrySource *)boneIndices
To
+ (instancetype _Nonnull)skinnerWithBaseGeometry:(SCNGeometry * _Nullable)baseGeometry bones:(NSArray<SCNNode *> * _Nonnull)bones boneInverseBindTransforms:(NSArray<NSValue *> * _Nullable)boneInverseBindTransforms boneWeights:(SCNGeometrySource * _Nonnull)boneWeights boneIndices:(SCNGeometrySource * _Nonnull)boneIndices

SCNTechnique.h

Declaration
From
@property(readonly) NSDictionary *dictionaryRepresentation
To
@property(readonly, nonnull) NSDictionary<NSString *,id> *dictionaryRepresentation

Declaration
From
- (void)handleBindingOfSymbol:(NSString *)symbol usingBlock:(SCNBindingBlock)block
To
- (void)handleBindingOfSymbol:(NSString * _Nonnull)symbol usingBlock:(SCNBindingBlock _Nullable)block

Declaration
From
+ (SCNTechnique *)techniqueBySequencingTechniques:(NSArray *)techniques
To
+ (SCNTechnique * _Nullable)techniqueBySequencingTechniques:(NSArray<SCNTechnique *> * _Nonnull)techniques

Declaration
From
+ (SCNTechnique *)techniqueWithDictionary:(NSDictionary *)dictionary
To
+ (SCNTechnique * _Nullable)techniqueWithDictionary:(NSDictionary<NSString *,id> * _Nonnull)dictionary

Declaration
From
@property(nonatomic, copy) SCNTechnique *technique
To
@property(nonatomic, copy, nullable) SCNTechnique *technique

SCNTransaction.h

Declaration
From
+ (CAMediaTimingFunction *)animationTimingFunction
To
+ (CAMediaTimingFunction * _Nullable)animationTimingFunction

Declaration
From
+ (void (^)(void))completionBlock
To
+ (void (^ _Nullable)(void))completionBlock

Modified +[SCNTransaction setAnimationTimingFunction:]
Declaration
From
+ (void)setAnimationTimingFunction:(CAMediaTimingFunction *)function
To
+ (void)setAnimationTimingFunction:(CAMediaTimingFunction * _Nullable)animationTimingFunction

Modified +[SCNTransaction setCompletionBlock:]
Declaration
From
+ (void)setCompletionBlock:(void (^)(void))block
To
+ (void)setCompletionBlock:(void (^ _Nullable)(void))block

Declaration
From
+ (void)setValue:(id)anObject forKey:(NSString *)key
To
+ (void)setValue:(id _Nullable)value forKey:(NSString * _Nonnull)key

Declaration
From
+ (id)valueForKey:(NSString *)key
To
+ (id _Nullable)valueForKey:(NSString * _Nonnull)key

SCNView.h

Declaration
From
@property(nonatomic, copy) NSColor *backgroundColor
To
@property(nonatomic, copy, nonnull) NSColor *backgroundColor

Declaration
From
- (id)initWithFrame:(NSRect)frame options:(NSDictionary *)options
To
- (instancetype _Nonnull)initWithFrame:(NSRect)frame options:(NSDictionary<NSString *,id> * _Nullable)options

Declaration
From
@property(nonatomic, retain) NSOpenGLContext *openGLContext
To
@property(nonatomic, retain, nullable) NSOpenGLContext *openGLContext

Declaration
From
- (IBAction)pause:(id)sender
To
- (IBAction)pause:(id _Nullable)sender

Declaration
From
@property(nonatomic, retain) NSOpenGLPixelFormat *pixelFormat
To
@property(nonatomic, retain, nullable) NSOpenGLPixelFormat *pixelFormat

Declaration
From
- (IBAction)play:(id)sender
To
- (IBAction)play:(id _Nullable)sender

Modified SCNView.scene
Declaration
From
@property(nonatomic, retain) SCNScene *scene
To
@property(nonatomic, retain, nullable) SCNScene *scene

Declaration
From
- (NSImage *)snapshot
To
- (NSImage * _Nonnull)snapshot

Declaration
From
- (IBAction)stop:(id)sender
To
- (IBAction)stop:(id _Nullable)sender