Documentation Archive Developer
Search

SpriteKit Changes for Objective-C

SpriteKit

SK3DNode.h

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

Declaration
From
- (instancetype)initWithCoder:(NSCoder *)aDecoder
To
- (instancetype _Nullable)initWithCoder:(NSCoder * _Nonnull)aDecoder

Declaration
From
- (instancetype)initWithViewportSize:(CGSize)viewportSize
To
- (instancetype _Nonnull)initWithViewportSize:(CGSize)viewportSize

Declaration
From
+ (instancetype)nodeWithViewportSize:(CGSize)viewportSize
To
+ (instancetype _Nonnull)nodeWithViewportSize:(CGSize)viewportSize

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

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

SKAction.h

Declaration
From
+ (SKAction *)animateWithTextures:(NSArray *)textures timePerFrame:(NSTimeInterval)sec
To
+ (SKAction * _Nonnull)animateWithTextures:(NSArray<SKTexture *> * _Nonnull)textures timePerFrame:(NSTimeInterval)sec

Declaration
From
+ (SKAction *)animateWithTextures:(NSArray *)textures timePerFrame:(NSTimeInterval)sec resize:(BOOL)resize restore:(BOOL)restore
To
+ (SKAction * _Nonnull)animateWithTextures:(NSArray<SKTexture *> * _Nonnull)textures timePerFrame:(NSTimeInterval)sec resize:(BOOL)resize restore:(BOOL)restore

Declaration
From
+ (SKAction *)colorizeWithColor:(NSColor *)color colorBlendFactor:(CGFloat)colorBlendFactor duration:(NSTimeInterval)sec
To
+ (SKAction * _Nonnull)colorizeWithColor:(NSColor * _Nonnull)color colorBlendFactor:(CGFloat)colorBlendFactor duration:(NSTimeInterval)sec

Declaration
From
+ (SKAction *)colorizeWithColorBlendFactor:(CGFloat)colorBlendFactor duration:(NSTimeInterval)sec
To
+ (SKAction * _Nonnull)colorizeWithColorBlendFactor:(CGFloat)colorBlendFactor duration:(NSTimeInterval)sec

Declaration
From
+ (SKAction *)customActionWithDuration:(NSTimeInterval)seconds actionBlock:(void (^)(SKNode *node, CGFloat elapsedTime))block
To
+ (SKAction * _Nonnull)customActionWithDuration:(NSTimeInterval)seconds actionBlock:(void (^ _Nonnull)(SKNode * _Nonnull node, CGFloat elapsedTime))block

Declaration
From
+ (SKAction *)fadeAlphaBy:(CGFloat)factor duration:(NSTimeInterval)sec
To
+ (SKAction * _Nonnull)fadeAlphaBy:(CGFloat)factor duration:(NSTimeInterval)sec

Declaration
From
+ (SKAction *)fadeAlphaTo:(CGFloat)alpha duration:(NSTimeInterval)sec
To
+ (SKAction * _Nonnull)fadeAlphaTo:(CGFloat)alpha duration:(NSTimeInterval)sec

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

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

Declaration
From
+ (SKAction *)falloffBy:(float)falloff duration:(NSTimeInterval)sec
To
+ (SKAction * _Nonnull)falloffBy:(float)falloff duration:(NSTimeInterval)sec

Declaration
From
+ (SKAction *)falloffTo:(float)falloff duration:(NSTimeInterval)sec
To
+ (SKAction * _Nonnull)falloffTo:(float)falloff duration:(NSTimeInterval)sec

Declaration
From
+ (SKAction *)followPath:(CGPathRef)path asOffset:(BOOL)offset orientToPath:(BOOL)orient duration:(NSTimeInterval)sec
To
+ (SKAction * _Nonnull)followPath:(CGPathRef _Nonnull)path asOffset:(BOOL)offset orientToPath:(BOOL)orient duration:(NSTimeInterval)sec

Declaration
From
+ (SKAction *)followPath:(CGPathRef)path asOffset:(BOOL)offset orientToPath:(BOOL)orient speed:(CGFloat)speed
To
+ (SKAction * _Nonnull)followPath:(CGPathRef _Nonnull)path asOffset:(BOOL)offset orientToPath:(BOOL)orient speed:(CGFloat)speed

Declaration
From
+ (SKAction *)followPath:(CGPathRef)path duration:(NSTimeInterval)sec
To
+ (SKAction * _Nonnull)followPath:(CGPathRef _Nonnull)path duration:(NSTimeInterval)sec

Declaration
From
+ (SKAction *)followPath:(CGPathRef)path speed:(CGFloat)speed
To
+ (SKAction * _Nonnull)followPath:(CGPathRef _Nonnull)path speed:(CGFloat)speed

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

Declaration
From
+ (SKAction *)hide
To
+ (SKAction * _Nonnull)hide

Declaration
From
+ (SKAction *)moveBy:(CGVector)delta duration:(NSTimeInterval)sec
To
+ (SKAction * _Nonnull)moveBy:(CGVector)delta duration:(NSTimeInterval)sec

Declaration
From
+ (SKAction *)moveByX:(CGFloat)deltaX y:(CGFloat)deltaY duration:(NSTimeInterval)sec
To
+ (SKAction * _Nonnull)moveByX:(CGFloat)deltaX y:(CGFloat)deltaY duration:(NSTimeInterval)sec

Declaration
From
+ (SKAction *)moveTo:(CGPoint)location duration:(NSTimeInterval)sec
To
+ (SKAction * _Nonnull)moveTo:(CGPoint)location duration:(NSTimeInterval)sec

Declaration
From
+ (SKAction *)moveToX:(CGFloat)x duration:(NSTimeInterval)sec
To
+ (SKAction * _Nonnull)moveToX:(CGFloat)x duration:(NSTimeInterval)sec

Declaration
From
+ (SKAction *)moveToY:(CGFloat)y duration:(NSTimeInterval)sec
To
+ (SKAction * _Nonnull)moveToY:(CGFloat)y duration:(NSTimeInterval)sec

Declaration
From
+ (SKAction *)performSelector:(SEL)selector onTarget:(id)target
To
+ (SKAction * _Nonnull)performSelector:(SEL _Nonnull)selector onTarget:(id _Nonnull)target

Declaration
From
+ (SKAction *)playSoundFileNamed:(NSString *)soundFile waitForCompletion:(BOOL)wait
To
+ (SKAction * _Nonnull)playSoundFileNamed:(NSString * _Nonnull)soundFile waitForCompletion:(BOOL)wait

Declaration
From
+ (SKAction *)reachTo:(CGPoint)position rootNode:(SKNode *)root duration:(NSTimeInterval)sec
To
+ (SKAction * _Nonnull)reachTo:(CGPoint)position rootNode:(SKNode * _Nonnull)root duration:(NSTimeInterval)sec

Declaration
From
+ (SKAction *)reachTo:(CGPoint)position rootNode:(SKNode *)root velocity:(CGFloat)velocity
To
+ (SKAction * _Nonnull)reachTo:(CGPoint)position rootNode:(SKNode * _Nonnull)root velocity:(CGFloat)velocity

Declaration
From
+ (SKAction *)reachToNode:(SKNode *)node rootNode:(SKNode *)root duration:(NSTimeInterval)sec
To
+ (SKAction * _Nonnull)reachToNode:(SKNode * _Nonnull)node rootNode:(SKNode * _Nonnull)root duration:(NSTimeInterval)sec

Declaration
From
+ (SKAction *)reachToNode:(SKNode *)node rootNode:(SKNode *)root velocity:(CGFloat)velocity
To
+ (SKAction * _Nonnull)reachToNode:(SKNode * _Nonnull)node rootNode:(SKNode * _Nonnull)root velocity:(CGFloat)velocity

Declaration
From
+ (SKAction *)removeFromParent
To
+ (SKAction * _Nonnull)removeFromParent

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

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

Declaration
From
+ (SKAction *)resizeByWidth:(CGFloat)width height:(CGFloat)height duration:(NSTimeInterval)duration
To
+ (SKAction * _Nonnull)resizeByWidth:(CGFloat)width height:(CGFloat)height duration:(NSTimeInterval)duration

Declaration
From
+ (SKAction *)resizeToHeight:(CGFloat)height duration:(NSTimeInterval)duration
To
+ (SKAction * _Nonnull)resizeToHeight:(CGFloat)height duration:(NSTimeInterval)duration

Declaration
From
+ (SKAction *)resizeToWidth:(CGFloat)width duration:(NSTimeInterval)duration
To
+ (SKAction * _Nonnull)resizeToWidth:(CGFloat)width duration:(NSTimeInterval)duration

Declaration
From
+ (SKAction *)resizeToWidth:(CGFloat)width height:(CGFloat)height duration:(NSTimeInterval)duration
To
+ (SKAction * _Nonnull)resizeToWidth:(CGFloat)width height:(CGFloat)height duration:(NSTimeInterval)duration

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

Declaration
From
+ (SKAction *)rotateByAngle:(CGFloat)radians duration:(NSTimeInterval)sec
To
+ (SKAction * _Nonnull)rotateByAngle:(CGFloat)radians duration:(NSTimeInterval)sec

Declaration
From
+ (SKAction *)rotateToAngle:(CGFloat)radians duration:(NSTimeInterval)sec
To
+ (SKAction * _Nonnull)rotateToAngle:(CGFloat)radians duration:(NSTimeInterval)sec

Declaration
From
+ (SKAction *)rotateToAngle:(CGFloat)radians duration:(NSTimeInterval)sec shortestUnitArc:(BOOL)shortestUnitArc
To
+ (SKAction * _Nonnull)rotateToAngle:(CGFloat)radians duration:(NSTimeInterval)sec shortestUnitArc:(BOOL)shortestUnitArc

Declaration
From
+ (SKAction *)runAction:(SKAction *)action onChildWithName:(NSString *)name
To
+ (SKAction * _Nonnull)runAction:(SKAction * _Nonnull)action onChildWithName:(NSString * _Nonnull)name

Declaration
From
+ (SKAction *)runBlock:(dispatch_block_t)block
To
+ (SKAction * _Nonnull)runBlock:(dispatch_block_t _Nonnull)block

Declaration
From
+ (SKAction *)runBlock:(dispatch_block_t)block queue:(dispatch_queue_t)queue
To
+ (SKAction * _Nonnull)runBlock:(dispatch_block_t _Nonnull)block queue:(dispatch_queue_t _Nonnull)queue

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

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

Declaration
From
+ (SKAction *)scaleXBy:(CGFloat)xScale y:(CGFloat)yScale duration:(NSTimeInterval)sec
To
+ (SKAction * _Nonnull)scaleXBy:(CGFloat)xScale y:(CGFloat)yScale duration:(NSTimeInterval)sec

Declaration
From
+ (SKAction *)scaleXTo:(CGFloat)scale duration:(NSTimeInterval)sec
To
+ (SKAction * _Nonnull)scaleXTo:(CGFloat)scale duration:(NSTimeInterval)sec

Declaration
From
+ (SKAction *)scaleXTo:(CGFloat)xScale y:(CGFloat)yScale duration:(NSTimeInterval)sec
To
+ (SKAction * _Nonnull)scaleXTo:(CGFloat)xScale y:(CGFloat)yScale duration:(NSTimeInterval)sec

Declaration
From
+ (SKAction *)scaleYTo:(CGFloat)scale duration:(NSTimeInterval)sec
To
+ (SKAction * _Nonnull)scaleYTo:(CGFloat)scale duration:(NSTimeInterval)sec

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

DeclarationIntroduction
From
+ (SKAction *)setTexture:(SKTexture *)texture
OS X 10.9
To
+ (SKAction * _Nonnull)setTexture:(SKTexture * _Nonnull)texture
OS X 10.10

Declaration
From
+ (SKAction *)setTexture:(SKTexture *)texture resize:(BOOL)resize
To
+ (SKAction * _Nonnull)setTexture:(SKTexture * _Nonnull)texture resize:(BOOL)resize

Declaration
From
+ (SKAction *)speedBy:(CGFloat)speed duration:(NSTimeInterval)sec
To
+ (SKAction * _Nonnull)speedBy:(CGFloat)speed duration:(NSTimeInterval)sec

Declaration
From
+ (SKAction *)speedTo:(CGFloat)speed duration:(NSTimeInterval)sec
To
+ (SKAction * _Nonnull)speedTo:(CGFloat)speed duration:(NSTimeInterval)sec

Declaration
From
+ (SKAction *)strengthBy:(float)strength duration:(NSTimeInterval)sec
To
+ (SKAction * _Nonnull)strengthBy:(float)strength duration:(NSTimeInterval)sec

Declaration
From
+ (SKAction *)strengthTo:(float)strength duration:(NSTimeInterval)sec
To
+ (SKAction * _Nonnull)strengthTo:(float)strength duration:(NSTimeInterval)sec

Declaration
From
@property(nonatomic) SKActionTimingFunction timingFunction
To
@property(nonatomic, nonnull) SKActionTimingFunction timingFunction

Declaration
From
+ (SKAction *)unhide
To
+ (SKAction * _Nonnull)unhide

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

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

SKAudioNode.h (Added)

SKCameraNode.h (Added)

SKConstraint.h

Declaration
From
+ (instancetype)distance:(SKRange *)range toNode:(SKNode *)node
To
+ (instancetype _Nonnull)distance:(SKRange * _Nonnull)range toNode:(SKNode * _Nonnull)node

Declaration
From
+ (instancetype)distance:(SKRange *)range toPoint:(CGPoint)point
To
+ (instancetype _Nonnull)distance:(SKRange * _Nonnull)range toPoint:(CGPoint)point

Declaration
From
+ (instancetype)distance:(SKRange *)range toPoint:(CGPoint)point inNode:(SKNode *)node
To
+ (instancetype _Nonnull)distance:(SKRange * _Nonnull)range toPoint:(CGPoint)point inNode:(SKNode * _Nonnull)node

Declaration
From
+ (instancetype)orientToNode:(SKNode *)node offset:(SKRange *)radians
To
+ (instancetype _Nonnull)orientToNode:(SKNode * _Nonnull)node offset:(SKRange * _Nonnull)radians

Declaration
From
+ (instancetype)orientToPoint:(CGPoint)point inNode:(SKNode *)node offset:(SKRange *)radians
To
+ (instancetype _Nonnull)orientToPoint:(CGPoint)point inNode:(SKNode * _Nonnull)node offset:(SKRange * _Nonnull)radians

Declaration
From
+ (instancetype)orientToPoint:(CGPoint)point offset:(SKRange *)radians
To
+ (instancetype _Nonnull)orientToPoint:(CGPoint)point offset:(SKRange * _Nonnull)radians

Declaration
From
+ (instancetype)positionX:(SKRange *)range
To
+ (instancetype _Nonnull)positionX:(SKRange * _Nonnull)range

Declaration
From
+ (instancetype)positionX:(SKRange *)xRange Y:(SKRange *)yRange
To
+ (instancetype _Nonnull)positionX:(SKRange * _Nonnull)xRange Y:(SKRange * _Nonnull)yRange

Declaration
From
+ (instancetype)positionY:(SKRange *)range
To
+ (instancetype _Nonnull)positionY:(SKRange * _Nonnull)range

Declaration
From
@property(retain) SKNode *referenceNode
To
@property(retain, nonatomic, nullable) SKNode *referenceNode

Declaration
From
+ (instancetype)zRotation:(SKRange *)zRange
To
+ (instancetype _Nonnull)zRotation:(SKRange * _Nonnull)zRange

Declaration
From
- (instancetype)initWithLowerLimit:(CGFloat)lower upperLimit:(CGFloat)upper
To
- (instancetype _Nonnull)initWithLowerLimit:(CGFloat)lower upperLimit:(CGFloat)upper

Declaration
From
+ (instancetype)rangeWithConstantValue:(CGFloat)value
To
+ (instancetype _Nonnull)rangeWithConstantValue:(CGFloat)value

Declaration
From
+ (instancetype)rangeWithLowerLimit:(CGFloat)lower
To
+ (instancetype _Nonnull)rangeWithLowerLimit:(CGFloat)lower

Declaration
From
+ (instancetype)rangeWithLowerLimit:(CGFloat)lower upperLimit:(CGFloat)upper
To
+ (instancetype _Nonnull)rangeWithLowerLimit:(CGFloat)lower upperLimit:(CGFloat)upper

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

Declaration
From
+ (instancetype)rangeWithUpperLimit:(CGFloat)upper
To
+ (instancetype _Nonnull)rangeWithUpperLimit:(CGFloat)upper

Declaration
From
+ (instancetype)rangeWithValue:(CGFloat)value variance:(CGFloat)variance
To
+ (instancetype _Nonnull)rangeWithValue:(CGFloat)value variance:(CGFloat)variance

SKCropNode.h

Declaration
From
@property(nonatomic, retain) SKNode *maskNode
To
@property(nonatomic, retain, nullable) SKNode *maskNode

SKEffectNode.h

Declaration
From
@property(nonatomic, retain) CIFilter *filter
To
@property(nonatomic, retain, nullable) CIFilter *filter

Declaration
From
@property(nonatomic, retain) SKShader *shader
To
@property(nonatomic, retain, nullable) SKShader *shader

SKEmitterNode.h

Declaration
From
@property(nonatomic, copy) SKAction *particleAction
To
@property(nonatomic, copy, nullable) SKAction *particleAction

Declaration
From
@property(nonatomic, retain) SKKeyframeSequence *particleAlphaSequence
To
@property(nonatomic, retain, nullable) SKKeyframeSequence *particleAlphaSequence

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

Declaration
From
@property(nonatomic, retain) SKKeyframeSequence *particleColorBlendFactorSequence
To
@property(nonatomic, retain, nullable) SKKeyframeSequence *particleColorBlendFactorSequence

Declaration
From
@property(nonatomic, retain) SKKeyframeSequence *particleColorSequence
To
@property(nonatomic, retain, nullable) SKKeyframeSequence *particleColorSequence

Declaration
From
@property(nonatomic, retain) SKKeyframeSequence *particleScaleSequence
To
@property(nonatomic, retain, nullable) SKKeyframeSequence *particleScaleSequence

Declaration
From
@property(nonatomic, retain) SKTexture *particleTexture
To
@property(nonatomic, retain, nullable) SKTexture *particleTexture

IntroductionDeprecation
FromOS X 10.9--
ToOS X 10.8OS X 10.10

IntroductionDeprecation
FromOS X 10.10--
ToOS X 10.8OS X 10.10

Declaration
From
@property(nonatomic, retain) SKShader *shader
To
@property(nonatomic, retain, nullable) SKShader *shader

Declaration
From
@property(nonatomic, weak) SKNode *targetNode
To
@property(nonatomic, weak, nullable) SKNode *targetNode

SKFieldNode.h

Declaration
From
+ (SKFieldNode *)customFieldWithEvaluationBlock:(SKFieldForceEvaluator)block
To
+ (SKFieldNode * _Nonnull)customFieldWithEvaluationBlock:(SKFieldForceEvaluator _Nonnull)block

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

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

Declaration
From
+ (SKFieldNode *)linearGravityFieldWithVector:(vector_float3)direction
To
+ (SKFieldNode * _Nonnull)linearGravityFieldWithVector:(vector_float3)direction

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

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

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

Declaration
From
@property(nonatomic, retain) SKRegion *region
To
@property(nonatomic, retain, nullable) SKRegion *region

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

Declaration
From
@property(nonatomic, retain) SKTexture *texture
To
@property(nonatomic, retain, nullable) SKTexture *texture

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

Declaration
From
+ (SKFieldNode *)velocityFieldWithTexture:(SKTexture *)velocityTexture
To
+ (SKFieldNode * _Nonnull)velocityFieldWithTexture:(SKTexture * _Nonnull)velocityTexture

Declaration
From
+ (SKFieldNode *)velocityFieldWithVector:(vector_float3)direction
To
+ (SKFieldNode * _Nonnull)velocityFieldWithVector:(vector_float3)direction

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

SKKeyframeSequence.h

Declaration
From
- (void)addKeyframeValue:(id)value time:(CGFloat)time
To
- (void)addKeyframeValue:(id _Nonnull)value time:(CGFloat)time

Declaration
From
- (id)getKeyframeValueForIndex:(NSUInteger)index
To
- (id _Nonnull)getKeyframeValueForIndex:(NSUInteger)index

Declaration
From
- (instancetype)initWithCapacity:(NSUInteger)numItems
To
- (instancetype _Nonnull)initWithCapacity:(NSUInteger)numItems

Declaration
From
- (instancetype)initWithCoder:(NSCoder *)aDecoder
To
- (instancetype _Nullable)initWithCoder:(NSCoder * _Nonnull)aDecoder

Declaration
From
- (instancetype)initWithKeyframeValues:(NSArray *)values times:(NSArray *)times
To
- (instancetype _Nonnull)initWithKeyframeValues:(NSArray * _Nonnull)values times:(NSArray<NSNumber *> * _Nonnull)times

Declaration
From
- (id)sampleAtTime:(CGFloat)time
To
- (id _Nullable)sampleAtTime:(CGFloat)time

Declaration
From
- (void)setKeyframeValue:(id)value forIndex:(NSUInteger)index
To
- (void)setKeyframeValue:(id _Nonnull)value forIndex:(NSUInteger)index

Declaration
From
- (void)setKeyframeValue:(id)value time:(CGFloat)time forIndex:(NSUInteger)index
To
- (void)setKeyframeValue:(id _Nonnull)value time:(CGFloat)time forIndex:(NSUInteger)index

SKLabelNode.h

Declaration
From
@property(nonatomic, retain) NSColor *color
To
@property(nonatomic, retain, nullable) NSColor *color

Declaration
From
@property(nonatomic, retain) NSColor *fontColor
To
@property(nonatomic, retain, nullable) NSColor *fontColor

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

Declaration
From
- (instancetype)initWithFontNamed:(NSString *)fontName
To
- (instancetype _Nonnull)initWithFontNamed:(NSString * _Nullable)fontName

Declaration
From
+ (instancetype)labelNodeWithFontNamed:(NSString *)fontName
To
+ (instancetype _Nonnull)labelNodeWithFontNamed:(NSString * _Nullable)fontName

Declaration
From
+ (instancetype)labelNodeWithText:(NSString *)text
To
+ (instancetype _Nonnull)labelNodeWithText:(NSString * _Nullable)text

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

SKLightNode.h

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

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

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

SKNode.h

Declaration
From
- (CGPoint)locationInNode:(SKNode *)node
To
- (CGPoint)locationInNode:(SKNode * _Nonnull)node

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

Declaration
From
- (void)addChild:(SKNode *)node
To
- (void)addChild:(SKNode * _Nonnull)node

Declaration
From
- (SKNode *)childNodeWithName:(NSString *)name
To
- (SKNode * _Nullable)childNodeWithName:(NSString * _Nonnull)name

Declaration
From
@property(nonatomic, readonly) NSArray *children
To
@property(nonatomic, readonly, nonnull) NSArray<SKNode *> *children

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

Declaration
From
- (CGPoint)convertPoint:(CGPoint)point fromNode:(SKNode *)node
To
- (CGPoint)convertPoint:(CGPoint)point fromNode:(SKNode * _Nonnull)node

Declaration
From
- (CGPoint)convertPoint:(CGPoint)point toNode:(SKNode *)node
To
- (CGPoint)convertPoint:(CGPoint)point toNode:(SKNode * _Nonnull)node

Declaration
From
- (void)enumerateChildNodesWithName:(NSString *)name usingBlock:(void (^)(SKNode *node, BOOL *stop))block
To
- (void)enumerateChildNodesWithName:(NSString * _Nonnull)name usingBlock:(void (^ _Nonnull)(SKNode * _Nonnull node, BOOL * _Nonnull stop))block

Declaration
From
- (instancetype)init
To
- (instancetype _Nonnull)init

Declaration
From
- (instancetype)initWithCoder:(NSCoder *)aDecoder
To
- (instancetype _Nullable)initWithCoder:(NSCoder * _Nonnull)aDecoder

Declaration
From
- (BOOL)inParentHierarchy:(SKNode *)parent
To
- (BOOL)inParentHierarchy:(SKNode * _Nonnull)parent

Declaration
From
- (void)insertChild:(SKNode *)node atIndex:(NSInteger)index
To
- (void)insertChild:(SKNode * _Nonnull)node atIndex:(NSInteger)index

Declaration
From
- (BOOL)intersectsNode:(SKNode *)node
To
- (BOOL)intersectsNode:(SKNode * _Nonnull)node

Modified SKNode.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
- (SKNode *)nodeAtPoint:(CGPoint)p
To
- (SKNode * _Nonnull)nodeAtPoint:(CGPoint)p

Declaration
From
- (NSArray *)nodesAtPoint:(CGPoint)p
To
- (NSArray<SKNode *> * _Nonnull)nodesAtPoint:(CGPoint)p

Declaration
From
+ (instancetype)nodeWithFileNamed:(NSString *)filename
To
+ (instancetype _Nullable)nodeWithFileNamed:(NSString * _Nonnull)filename

Declaration
From
- (NSArray *)objectForKeyedSubscript:(NSString *)name
To
- (NSArray<SKNode *> * _Nonnull)objectForKeyedSubscript:(NSString * _Nonnull)name

Modified SKNode.parent
Declaration
From
@property(nonatomic, readonly) SKNode *parent
To
@property(nonatomic, readonly, nullable) SKNode *parent

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

Declaration
From
@property(nonatomic, copy) SKReachConstraints *reachConstraints
To
@property(nonatomic, copy, nullable) SKReachConstraints *reachConstraints

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

Declaration
From
- (void)removeChildrenInArray:(NSArray *)nodes
To
- (void)removeChildrenInArray:(NSArray<SKNode *> * _Nonnull)nodes

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

Declaration
From
- (void)runAction:(SKAction *)action completion:(void (^)(void))block
To
- (void)runAction:(SKAction * _Nonnull)action completion:(void (^ _Nonnull)(void))block

Declaration
From
- (void)runAction:(SKAction *)action withKey:(NSString *)key
To
- (void)runAction:(SKAction * _Nonnull)action withKey:(NSString * _Nonnull)key

Modified SKNode.scene
Declaration
From
@property(nonatomic, readonly) SKScene *scene
To
@property(nonatomic, readonly, nullable) SKScene *scene

Declaration
From
@property(nonatomic, retain) NSMutableDictionary *userData
To
@property(nonatomic, retain, nullable) NSMutableDictionary *userData

SKPhysicsBody.h

Declaration
From
- (NSArray *)allContactedBodies
To
- (NSArray<SKPhysicsBody *> * _Nonnull)allContactedBodies

Declaration
From
+ (SKPhysicsBody *)bodyWithBodies:(NSArray *)bodies
To
+ (SKPhysicsBody * _Nonnull)bodyWithBodies:(NSArray<SKPhysicsBody *> * _Nonnull)bodies

Declaration
From
+ (SKPhysicsBody *)bodyWithCircleOfRadius:(CGFloat)r
To
+ (SKPhysicsBody * _Nonnull)bodyWithCircleOfRadius:(CGFloat)r

Declaration
From
+ (SKPhysicsBody *)bodyWithCircleOfRadius:(CGFloat)r center:(CGPoint)center
To
+ (SKPhysicsBody * _Nonnull)bodyWithCircleOfRadius:(CGFloat)r center:(CGPoint)center

Declaration
From
+ (SKPhysicsBody *)bodyWithEdgeChainFromPath:(CGPathRef)path
To
+ (SKPhysicsBody * _Nonnull)bodyWithEdgeChainFromPath:(CGPathRef _Nonnull)path

Declaration
From
+ (SKPhysicsBody *)bodyWithEdgeFromPoint:(CGPoint)p1 toPoint:(CGPoint)p2
To
+ (SKPhysicsBody * _Nonnull)bodyWithEdgeFromPoint:(CGPoint)p1 toPoint:(CGPoint)p2

Declaration
From
+ (SKPhysicsBody *)bodyWithEdgeLoopFromPath:(CGPathRef)path
To
+ (SKPhysicsBody * _Nonnull)bodyWithEdgeLoopFromPath:(CGPathRef _Nonnull)path

Declaration
From
+ (SKPhysicsBody *)bodyWithEdgeLoopFromRect:(CGRect)rect
To
+ (SKPhysicsBody * _Nonnull)bodyWithEdgeLoopFromRect:(CGRect)rect

Declaration
From
+ (SKPhysicsBody *)bodyWithPolygonFromPath:(CGPathRef)path
To
+ (SKPhysicsBody * _Nonnull)bodyWithPolygonFromPath:(CGPathRef _Nonnull)path

Declaration
From
+ (SKPhysicsBody *)bodyWithRectangleOfSize:(CGSize)s
To
+ (SKPhysicsBody * _Nonnull)bodyWithRectangleOfSize:(CGSize)s

Declaration
From
+ (SKPhysicsBody *)bodyWithRectangleOfSize:(CGSize)s center:(CGPoint)center
To
+ (SKPhysicsBody * _Nonnull)bodyWithRectangleOfSize:(CGSize)s center:(CGPoint)center

Declaration
From
+ (SKPhysicsBody *)bodyWithTexture:(SKTexture *)texture alphaThreshold:(float)alphaThreshold size:(CGSize)size
To
+ (SKPhysicsBody * _Nonnull)bodyWithTexture:(SKTexture * _Nonnull)texture alphaThreshold:(float)alphaThreshold size:(CGSize)size

Declaration
From
+ (SKPhysicsBody *)bodyWithTexture:(SKTexture *)texture size:(CGSize)size
To
+ (SKPhysicsBody * _Nonnull)bodyWithTexture:(SKTexture * _Nonnull)texture size:(CGSize)size

Declaration
From
@property(nonatomic, readonly) NSArray *joints
To
@property(nonatomic, readonly, nonnull) NSArray<SKPhysicsJoint *> *joints

Declaration
From
@property(nonatomic, readonly, weak) SKNode *node
To
@property(nonatomic, readonly, weak, nullable) SKNode *node

SKPhysicsContact.h

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

Declaration
From
@property(nonatomic, readonly) SKPhysicsBody *bodyB
To
@property(nonatomic, readonly, nonnull) SKPhysicsBody *bodyB

SKPhysicsJoint.h

Declaration
From
@property(nonatomic, retain) SKPhysicsBody *bodyA
To
@property(nonatomic, retain, nonnull) SKPhysicsBody *bodyA

Declaration
From
@property(nonatomic, retain) SKPhysicsBody *bodyB
To
@property(nonatomic, retain, nonnull) SKPhysicsBody *bodyB

Declaration
From
+ (SKPhysicsJointFixed *)jointWithBodyA:(SKPhysicsBody *)bodyA bodyB:(SKPhysicsBody *)bodyB anchor:(CGPoint)anchor
To
+ (SKPhysicsJointFixed * _Nonnull)jointWithBodyA:(SKPhysicsBody * _Nonnull)bodyA bodyB:(SKPhysicsBody * _Nonnull)bodyB anchor:(CGPoint)anchor

Declaration
From
+ (SKPhysicsJointLimit *)jointWithBodyA:(SKPhysicsBody *)bodyA bodyB:(SKPhysicsBody *)bodyB anchorA:(CGPoint)anchorA anchorB:(CGPoint)anchorB
To
+ (SKPhysicsJointLimit * _Nonnull)jointWithBodyA:(SKPhysicsBody * _Nonnull)bodyA bodyB:(SKPhysicsBody * _Nonnull)bodyB anchorA:(CGPoint)anchorA anchorB:(CGPoint)anchorB

Declaration
From
+ (SKPhysicsJointPin *)jointWithBodyA:(SKPhysicsBody *)bodyA bodyB:(SKPhysicsBody *)bodyB anchor:(CGPoint)anchor
To
+ (SKPhysicsJointPin * _Nonnull)jointWithBodyA:(SKPhysicsBody * _Nonnull)bodyA bodyB:(SKPhysicsBody * _Nonnull)bodyB anchor:(CGPoint)anchor

Declaration
From
+ (SKPhysicsJointSliding *)jointWithBodyA:(SKPhysicsBody *)bodyA bodyB:(SKPhysicsBody *)bodyB anchor:(CGPoint)anchor axis:(CGVector)axis
To
+ (SKPhysicsJointSliding * _Nonnull)jointWithBodyA:(SKPhysicsBody * _Nonnull)bodyA bodyB:(SKPhysicsBody * _Nonnull)bodyB anchor:(CGPoint)anchor axis:(CGVector)axis

Declaration
From
+ (SKPhysicsJointSpring *)jointWithBodyA:(SKPhysicsBody *)bodyA bodyB:(SKPhysicsBody *)bodyB anchorA:(CGPoint)anchorA anchorB:(CGPoint)anchorB
To
+ (SKPhysicsJointSpring * _Nonnull)jointWithBodyA:(SKPhysicsBody * _Nonnull)bodyA bodyB:(SKPhysicsBody * _Nonnull)bodyB anchorA:(CGPoint)anchorA anchorB:(CGPoint)anchorB

SKPhysicsWorld.h

Declaration
From
- (void)didBeginContact:(SKPhysicsContact *)contact
To
- (void)didBeginContact:(SKPhysicsContact * _Nonnull)contact

Declaration
From
- (void)didEndContact:(SKPhysicsContact *)contact
To
- (void)didEndContact:(SKPhysicsContact * _Nonnull)contact

Declaration
From
- (void)addJoint:(SKPhysicsJoint *)joint
To
- (void)addJoint:(SKPhysicsJoint * _Nonnull)joint

Declaration
From
- (SKPhysicsBody *)bodyAlongRayStart:(CGPoint)start end:(CGPoint)end
To
- (SKPhysicsBody * _Nullable)bodyAlongRayStart:(CGPoint)start end:(CGPoint)end

Declaration
From
- (SKPhysicsBody *)bodyAtPoint:(CGPoint)point
To
- (SKPhysicsBody * _Nullable)bodyAtPoint:(CGPoint)point

Declaration
From
- (SKPhysicsBody *)bodyInRect:(CGRect)rect
To
- (SKPhysicsBody * _Nullable)bodyInRect:(CGRect)rect

Declaration
From
@property(nonatomic, assign) id<SKPhysicsContactDelegate> contactDelegate
To
@property(nonatomic, assign, nullable) id<SKPhysicsContactDelegate> contactDelegate

Declaration
From
- (void)enumerateBodiesAlongRayStart:(CGPoint)start end:(CGPoint)end usingBlock:(void (^)(SKPhysicsBody *body, CGPoint point, CGVector normal, BOOL *stop))block
To
- (void)enumerateBodiesAlongRayStart:(CGPoint)start end:(CGPoint)end usingBlock:(void (^ _Nonnull)(SKPhysicsBody * _Nonnull body, CGPoint point, CGVector normal, BOOL * _Nonnull stop))block

Declaration
From
- (void)enumerateBodiesAtPoint:(CGPoint)point usingBlock:(void (^)(SKPhysicsBody *body, BOOL *stop))block
To
- (void)enumerateBodiesAtPoint:(CGPoint)point usingBlock:(void (^ _Nonnull)(SKPhysicsBody * _Nonnull body, BOOL * _Nonnull stop))block

Declaration
From
- (void)enumerateBodiesInRect:(CGRect)rect usingBlock:(void (^)(SKPhysicsBody *body, BOOL *stop))block
To
- (void)enumerateBodiesInRect:(CGRect)rect usingBlock:(void (^ _Nonnull)(SKPhysicsBody * _Nonnull body, BOOL * _Nonnull stop))block

Declaration
From
- (void)removeJoint:(SKPhysicsJoint *)joint
To
- (void)removeJoint:(SKPhysicsJoint * _Nonnull)joint

SKReferenceNode.h (Added)

SKRegion.h

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

Declaration
From
- (instancetype)initWithPath:(CGPathRef)path
To
- (instancetype _Nonnull)initWithPath:(CGPathRef _Nonnull)path

Declaration
From
- (instancetype)initWithRadius:(float)radius
To
- (instancetype _Nonnull)initWithRadius:(float)radius

Declaration
From
- (instancetype)initWithSize:(CGSize)size
To
- (instancetype _Nonnull)initWithSize:(CGSize)size

Declaration
From
- (instancetype)inverseRegion
To
- (instancetype _Nonnull)inverseRegion

Modified SKRegion.path
Declaration
From
@property(nonatomic, readonly) CGPathRef path
To
@property(nonatomic, readonly, nullable) CGPathRef path

Declaration
From
- (instancetype)regionByDifferenceFromRegion:(SKRegion *)region
To
- (instancetype _Nonnull)regionByDifferenceFromRegion:(SKRegion * _Nonnull)region

Declaration
From
- (instancetype)regionByIntersectionWithRegion:(SKRegion *)region
To
- (instancetype _Nonnull)regionByIntersectionWithRegion:(SKRegion * _Nonnull)region

Declaration
From
- (instancetype)regionByUnionWithRegion:(SKRegion *)region
To
- (instancetype _Nonnull)regionByUnionWithRegion:(SKRegion * _Nonnull)region

SKScene.h

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

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

Declaration
From
- (void)didMoveToView:(SKView *)view
To
- (void)didMoveToView:(SKView * _Nonnull)view

Declaration
From
- (instancetype)initWithSize:(CGSize)size
To
- (instancetype _Nonnull)initWithSize:(CGSize)size

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

Declaration
From
+ (instancetype)sceneWithSize:(CGSize)size
To
+ (instancetype _Nonnull)sceneWithSize:(CGSize)size

Modified SKScene.view
Declaration
From
@property(nonatomic, weak, readonly) SKView *view
To
@property(nonatomic, weak, readonly, nullable) SKView *view

Declaration
From
- (void)willMoveFromView:(SKView *)view
To
- (void)willMoveFromView:(SKView * _Nonnull)view

Declaration
From
- (void)didApplyConstraintsForScene:(SKScene *)scene
To
- (void)didApplyConstraintsForScene:(SKScene * _Nonnull)scene

Declaration
From
- (void)didEvaluateActionsForScene:(SKScene *)scene
To
- (void)didEvaluateActionsForScene:(SKScene * _Nonnull)scene

Declaration
From
- (void)didFinishUpdateForScene:(SKScene *)scene
To
- (void)didFinishUpdateForScene:(SKScene * _Nonnull)scene

Declaration
From
- (void)didSimulatePhysicsForScene:(SKScene *)scene
To
- (void)didSimulatePhysicsForScene:(SKScene * _Nonnull)scene

Declaration
From
- (void)update:(NSTimeInterval)currentTime forScene:(SKScene *)scene
To
- (void)update:(NSTimeInterval)currentTime forScene:(SKScene * _Nonnull)scene

SKShader.h

Declaration
From
- (void)addUniform:(SKUniform *)uniform
To
- (void)addUniform:(SKUniform * _Nonnull)uniform

Declaration
From
- (instancetype)initWithSource:(NSString *)source
To
- (instancetype _Nonnull)initWithSource:(NSString * _Nonnull)source

Declaration
From
- (instancetype)initWithSource:(NSString *)source uniforms:(NSArray *)uniforms
To
- (instancetype _Nonnull)initWithSource:(NSString * _Nonnull)source uniforms:(NSArray<SKUniform *> * _Nonnull)uniforms

Declaration
From
- (void)removeUniformNamed:(NSString *)name
To
- (void)removeUniformNamed:(NSString * _Nonnull)name

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

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

Declaration
From
+ (instancetype)shaderWithSource:(NSString *)source
To
+ (instancetype _Nonnull)shaderWithSource:(NSString * _Nonnull)source

Declaration
From
+ (instancetype)shaderWithSource:(NSString *)source uniforms:(NSArray *)uniforms
To
+ (instancetype _Nonnull)shaderWithSource:(NSString * _Nonnull)source uniforms:(NSArray<SKUniform *> * _Nonnull)uniforms

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

Declaration
From
- (SKUniform *)uniformNamed:(NSString *)name
To
- (SKUniform * _Nullable)uniformNamed:(NSString * _Nonnull)name

Declaration
From
@property(copy) NSArray *uniforms
To
@property(copy, nonnull) NSArray<SKUniform *> *uniforms

SKShapeNode.h

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

Declaration
From
@property(nonatomic, retain) SKShader *fillShader
To
@property(nonatomic, retain, nullable) SKShader *fillShader

Declaration
From
@property(nonatomic, retain) SKTexture *fillTexture
To
@property(nonatomic, retain, nullable) SKTexture *fillTexture

Declaration
From
@property(nonatomic) CGPathRef path
To
@property(nonatomic, nullable) CGPathRef path

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

Declaration
From
+ (instancetype)shapeNodeWithEllipseInRect:(CGRect)rect
To
+ (instancetype _Nonnull)shapeNodeWithEllipseInRect:(CGRect)rect

Declaration
From
+ (instancetype)shapeNodeWithEllipseOfSize:(CGSize)size
To
+ (instancetype _Nonnull)shapeNodeWithEllipseOfSize:(CGSize)size

Declaration
From
+ (instancetype)shapeNodeWithPath:(CGPathRef)path
To
+ (instancetype _Nonnull)shapeNodeWithPath:(CGPathRef _Nonnull)path

Declaration
From
+ (instancetype)shapeNodeWithPath:(CGPathRef)path centered:(BOOL)centered
To
+ (instancetype _Nonnull)shapeNodeWithPath:(CGPathRef _Nonnull)path centered:(BOOL)centered

Declaration
From
+ (instancetype)shapeNodeWithPoints:(CGPoint *)points count:(size_t)numPoints
To
+ (instancetype _Nonnull)shapeNodeWithPoints:(CGPoint * _Nonnull)points count:(size_t)numPoints

Declaration
From
+ (instancetype)shapeNodeWithRect:(CGRect)rect
To
+ (instancetype _Nonnull)shapeNodeWithRect:(CGRect)rect

Declaration
From
+ (instancetype)shapeNodeWithRect:(CGRect)rect cornerRadius:(CGFloat)cornerRadius
To
+ (instancetype _Nonnull)shapeNodeWithRect:(CGRect)rect cornerRadius:(CGFloat)cornerRadius

Declaration
From
+ (instancetype)shapeNodeWithRectOfSize:(CGSize)size
To
+ (instancetype _Nonnull)shapeNodeWithRectOfSize:(CGSize)size

Declaration
From
+ (instancetype)shapeNodeWithRectOfSize:(CGSize)size cornerRadius:(CGFloat)cornerRadius
To
+ (instancetype _Nonnull)shapeNodeWithRectOfSize:(CGSize)size cornerRadius:(CGFloat)cornerRadius

Declaration
From
+ (instancetype)shapeNodeWithSplinePoints:(CGPoint *)points count:(size_t)numPoints
To
+ (instancetype _Nonnull)shapeNodeWithSplinePoints:(CGPoint * _Nonnull)points count:(size_t)numPoints

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

Declaration
From
@property(nonatomic, retain) SKShader *strokeShader
To
@property(nonatomic, retain, nullable) SKShader *strokeShader

Declaration
From
@property(nonatomic, retain) SKTexture *strokeTexture
To
@property(nonatomic, retain, nullable) SKTexture *strokeTexture

SKSpriteNode.h

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

Declaration
From
- (instancetype)initWithCoder:(NSCoder *)aDecoder
To
- (instancetype _Nullable)initWithCoder:(NSCoder * _Nonnull)aDecoder

Declaration
From
- (instancetype)initWithColor:(NSColor *)color size:(CGSize)size
To
- (instancetype _Nonnull)initWithColor:(NSColor * _Nonnull)color size:(CGSize)size

Declaration
From
- (instancetype)initWithImageNamed:(NSString *)name
To
- (instancetype _Nonnull)initWithImageNamed:(NSString * _Nonnull)name

Declaration
From
- (instancetype)initWithTexture:(SKTexture *)texture
To
- (instancetype _Nonnull)initWithTexture:(SKTexture * _Nullable)texture

Declaration
From
- (instancetype)initWithTexture:(SKTexture *)texture color:(NSColor *)color size:(CGSize)size
To
- (instancetype _Nonnull)initWithTexture:(SKTexture * _Nullable)texture color:(NSColor * _Nonnull)color size:(CGSize)size

Declaration
From
@property(nonatomic, retain) SKTexture *normalTexture
To
@property(nonatomic, retain, nullable) SKTexture *normalTexture

Declaration
From
@property(nonatomic, retain) SKShader *shader
To
@property(nonatomic, retain, nullable) SKShader *shader

Declaration
From
+ (instancetype)spriteNodeWithColor:(NSColor *)color size:(CGSize)size
To
+ (instancetype _Nonnull)spriteNodeWithColor:(NSColor * _Nonnull)color size:(CGSize)size

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

Declaration
From
+ (instancetype)spriteNodeWithImageNamed:(NSString *)name normalMapped:(BOOL)generateNormalMap
To
+ (instancetype _Nonnull)spriteNodeWithImageNamed:(NSString * _Nonnull)name normalMapped:(BOOL)generateNormalMap

Declaration
From
+ (instancetype)spriteNodeWithTexture:(SKTexture *)texture
To
+ (instancetype _Nonnull)spriteNodeWithTexture:(SKTexture * _Nullable)texture

Declaration
From
+ (instancetype)spriteNodeWithTexture:(SKTexture *)texture normalMap:(SKTexture *)normalMap
To
+ (instancetype _Nonnull)spriteNodeWithTexture:(SKTexture * _Nullable)texture normalMap:(SKTexture * _Nullable)normalMap

Declaration
From
+ (instancetype)spriteNodeWithTexture:(SKTexture *)texture size:(CGSize)size
To
+ (instancetype _Nonnull)spriteNodeWithTexture:(SKTexture * _Nullable)texture size:(CGSize)size

Declaration
From
@property(nonatomic, retain) SKTexture *texture
To
@property(nonatomic, retain, nullable) SKTexture *texture

SKTexture.h

Declaration
From
+ (void)preloadTextures:(NSArray *)textures withCompletionHandler:(void (^)(void))completionHandler
To
+ (void)preloadTextures:(NSArray<SKTexture *> * _Nonnull)textures withCompletionHandler:(void (^ _Nonnull)(void))completionHandler

Declaration
From
- (void)preloadWithCompletionHandler:(void (^)(void))completionHandler
To
- (void)preloadWithCompletionHandler:(void (^ _Nonnull)(void))completionHandler

Declaration
From
- (instancetype)textureByApplyingCIFilter:(CIFilter *)filter
To
- (instancetype _Nonnull)textureByApplyingCIFilter:(CIFilter * _Nonnull)filter

Declaration
From
- (instancetype)textureByGeneratingNormalMap
To
- (instancetype _Nonnull)textureByGeneratingNormalMap

Declaration
From
- (instancetype)textureByGeneratingNormalMapWithSmoothness:(CGFloat)smoothness contrast:(CGFloat)contrast
To
- (instancetype _Nonnull)textureByGeneratingNormalMapWithSmoothness:(CGFloat)smoothness contrast:(CGFloat)contrast

Declaration
From
+ (instancetype)textureNoiseWithSmoothness:(CGFloat)smoothness size:(CGSize)size grayscale:(BOOL)grayscale
To
+ (instancetype _Nonnull)textureNoiseWithSmoothness:(CGFloat)smoothness size:(CGSize)size grayscale:(BOOL)grayscale

Declaration
From
+ (instancetype)textureVectorNoiseWithSmoothness:(CGFloat)smoothness size:(CGSize)size
To
+ (instancetype _Nonnull)textureVectorNoiseWithSmoothness:(CGFloat)smoothness size:(CGSize)size

Declaration
From
+ (instancetype)textureWithCGImage:(CGImageRef)image
To
+ (instancetype _Nonnull)textureWithCGImage:(CGImageRef _Nonnull)image

Declaration
From
+ (instancetype)textureWithData:(NSData *)pixelData size:(CGSize)size
To
+ (instancetype _Nonnull)textureWithData:(NSData * _Nonnull)pixelData size:(CGSize)size

Declaration
From
+ (instancetype)textureWithData:(NSData *)pixelData size:(CGSize)size flipped:(BOOL)flipped
To
+ (instancetype _Nonnull)textureWithData:(NSData * _Nonnull)pixelData size:(CGSize)size flipped:(BOOL)flipped

Declaration
From
+ (instancetype)textureWithData:(NSData *)pixelData size:(CGSize)size rowLength:(unsigned int)rowLength alignment:(unsigned int)alignment
To
+ (instancetype _Nonnull)textureWithData:(NSData * _Nonnull)pixelData size:(CGSize)size rowLength:(unsigned int)rowLength alignment:(unsigned int)alignment

Declaration
From
+ (instancetype)textureWithImage:(NSImage *)image
To
+ (instancetype _Nonnull)textureWithImage:(NSImage * _Nonnull)image

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

Declaration
From
+ (instancetype)textureWithRect:(CGRect)rect inTexture:(SKTexture *)texture
To
+ (instancetype _Nonnull)textureWithRect:(CGRect)rect inTexture:(SKTexture * _Nonnull)texture

SKTextureAtlas.h

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

Declaration
From
+ (instancetype)atlasWithDictionary:(NSDictionary *)properties
To
+ (instancetype _Nonnull)atlasWithDictionary:(NSDictionary<NSString *,id> * _Nonnull)properties

Declaration
From
+ (void)preloadTextureAtlases:(NSArray *)textureAtlases withCompletionHandler:(void (^)(void))completionHandler
To
+ (void)preloadTextureAtlases:(NSArray<SKTextureAtlas *> * _Nonnull)textureAtlases withCompletionHandler:(void (^ _Nonnull)(void))completionHandler

Declaration
From
- (void)preloadWithCompletionHandler:(void (^)(void))completionHandler
To
- (void)preloadWithCompletionHandler:(void (^ _Nonnull)(void))completionHandler

Declaration
From
- (SKTexture *)textureNamed:(NSString *)name
To
- (SKTexture * _Nonnull)textureNamed:(NSString * _Nonnull)name

Declaration
From
@property(nonatomic, readonly) NSArray *textureNames
To
@property(nonatomic, readonly, nonnull) NSArray<NSString *> *textureNames

SKTransition.h

Modified SKTransition
Protocols
From--
ToNSCopying

Declaration
From
+ (SKTransition *)crossFadeWithDuration:(NSTimeInterval)sec
To
+ (SKTransition * _Nonnull)crossFadeWithDuration:(NSTimeInterval)sec

Declaration
From
+ (SKTransition *)doorsCloseHorizontalWithDuration:(NSTimeInterval)sec
To
+ (SKTransition * _Nonnull)doorsCloseHorizontalWithDuration:(NSTimeInterval)sec

Declaration
From
+ (SKTransition *)doorsCloseVerticalWithDuration:(NSTimeInterval)sec
To
+ (SKTransition * _Nonnull)doorsCloseVerticalWithDuration:(NSTimeInterval)sec

Declaration
From
+ (SKTransition *)doorsOpenHorizontalWithDuration:(NSTimeInterval)sec
To
+ (SKTransition * _Nonnull)doorsOpenHorizontalWithDuration:(NSTimeInterval)sec

Declaration
From
+ (SKTransition *)doorsOpenVerticalWithDuration:(NSTimeInterval)sec
To
+ (SKTransition * _Nonnull)doorsOpenVerticalWithDuration:(NSTimeInterval)sec

Declaration
From
+ (SKTransition *)doorwayWithDuration:(NSTimeInterval)sec
To
+ (SKTransition * _Nonnull)doorwayWithDuration:(NSTimeInterval)sec

Declaration
From
+ (SKTransition *)fadeWithColor:(NSColor *)color duration:(NSTimeInterval)sec
To
+ (SKTransition * _Nonnull)fadeWithColor:(NSColor * _Nonnull)color duration:(NSTimeInterval)sec

Declaration
From
+ (SKTransition *)fadeWithDuration:(NSTimeInterval)sec
To
+ (SKTransition * _Nonnull)fadeWithDuration:(NSTimeInterval)sec

Declaration
From
+ (SKTransition *)flipHorizontalWithDuration:(NSTimeInterval)sec
To
+ (SKTransition * _Nonnull)flipHorizontalWithDuration:(NSTimeInterval)sec

Declaration
From
+ (SKTransition *)flipVerticalWithDuration:(NSTimeInterval)sec
To
+ (SKTransition * _Nonnull)flipVerticalWithDuration:(NSTimeInterval)sec

Declaration
From
+ (SKTransition *)moveInWithDirection:(SKTransitionDirection)direction duration:(NSTimeInterval)sec
To
+ (SKTransition * _Nonnull)moveInWithDirection:(SKTransitionDirection)direction duration:(NSTimeInterval)sec

Declaration
From
+ (SKTransition *)pushWithDirection:(SKTransitionDirection)direction duration:(NSTimeInterval)sec
To
+ (SKTransition * _Nonnull)pushWithDirection:(SKTransitionDirection)direction duration:(NSTimeInterval)sec

Declaration
From
+ (SKTransition *)revealWithDirection:(SKTransitionDirection)direction duration:(NSTimeInterval)sec
To
+ (SKTransition * _Nonnull)revealWithDirection:(SKTransitionDirection)direction duration:(NSTimeInterval)sec

Declaration
From
+ (SKTransition *)transitionWithCIFilter:(CIFilter *)filter duration:(NSTimeInterval)sec
To
+ (SKTransition * _Nonnull)transitionWithCIFilter:(CIFilter * _Nonnull)filter duration:(NSTimeInterval)sec

SKUniform.h

Declaration
From
- (instancetype)initWithName:(NSString *)name
To
- (instancetype _Nonnull)initWithName:(NSString * _Nonnull)name

Declaration
From
- (instancetype)initWithName:(NSString *)name float:(float)value
To
- (instancetype _Nonnull)initWithName:(NSString * _Nonnull)name float:(float)value

Declaration
From
- (instancetype)initWithName:(NSString *)name floatMatrix2:(GLKMatrix2)value
To
- (instancetype _Nonnull)initWithName:(NSString * _Nonnull)name floatMatrix2:(GLKMatrix2)value

Declaration
From
- (instancetype)initWithName:(NSString *)name floatMatrix3:(GLKMatrix3)value
To
- (instancetype _Nonnull)initWithName:(NSString * _Nonnull)name floatMatrix3:(GLKMatrix3)value

Declaration
From
- (instancetype)initWithName:(NSString *)name floatMatrix4:(GLKMatrix4)value
To
- (instancetype _Nonnull)initWithName:(NSString * _Nonnull)name floatMatrix4:(GLKMatrix4)value

Declaration
From
- (instancetype)initWithName:(NSString *)name floatVector2:(GLKVector2)value
To
- (instancetype _Nonnull)initWithName:(NSString * _Nonnull)name floatVector2:(GLKVector2)value

Declaration
From
- (instancetype)initWithName:(NSString *)name floatVector3:(GLKVector3)value
To
- (instancetype _Nonnull)initWithName:(NSString * _Nonnull)name floatVector3:(GLKVector3)value

Declaration
From
- (instancetype)initWithName:(NSString *)name floatVector4:(GLKVector4)value
To
- (instancetype _Nonnull)initWithName:(NSString * _Nonnull)name floatVector4:(GLKVector4)value

Declaration
From
- (instancetype)initWithName:(NSString *)name texture:(SKTexture *)texture
To
- (instancetype _Nonnull)initWithName:(NSString * _Nonnull)name texture:(SKTexture * _Nullable)texture

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

Declaration
From
@property SKTexture *textureValue
To
@property(nonatomic, retain, nullable) SKTexture *textureValue

Declaration
From
@property(readonly) SKUniformType uniformType
To
@property(nonatomic, readonly) SKUniformType uniformType

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

Declaration
From
+ (instancetype)uniformWithName:(NSString *)name float:(float)value
To
+ (instancetype _Nonnull)uniformWithName:(NSString * _Nonnull)name float:(float)value

Declaration
From
+ (instancetype)uniformWithName:(NSString *)name floatMatrix2:(GLKMatrix2)value
To
+ (instancetype _Nonnull)uniformWithName:(NSString * _Nonnull)name floatMatrix2:(GLKMatrix2)value

Declaration
From
+ (instancetype)uniformWithName:(NSString *)name floatMatrix3:(GLKMatrix3)value
To
+ (instancetype _Nonnull)uniformWithName:(NSString * _Nonnull)name floatMatrix3:(GLKMatrix3)value

Declaration
From
+ (instancetype)uniformWithName:(NSString *)name floatMatrix4:(GLKMatrix4)value
To
+ (instancetype _Nonnull)uniformWithName:(NSString * _Nonnull)name floatMatrix4:(GLKMatrix4)value

Declaration
From
+ (instancetype)uniformWithName:(NSString *)name floatVector2:(GLKVector2)value
To
+ (instancetype _Nonnull)uniformWithName:(NSString * _Nonnull)name floatVector2:(GLKVector2)value

Declaration
From
+ (instancetype)uniformWithName:(NSString *)name floatVector3:(GLKVector3)value
To
+ (instancetype _Nonnull)uniformWithName:(NSString * _Nonnull)name floatVector3:(GLKVector3)value

Declaration
From
+ (instancetype)uniformWithName:(NSString *)name floatVector4:(GLKVector4)value
To
+ (instancetype _Nonnull)uniformWithName:(NSString * _Nonnull)name floatVector4:(GLKVector4)value

Declaration
From
+ (instancetype)uniformWithName:(NSString *)name texture:(SKTexture *)texture
To
+ (instancetype _Nonnull)uniformWithName:(NSString * _Nonnull)name texture:(SKTexture * _Nonnull)texture

SKVersion.h (Added)

Added #def SK_VERSION

SKVideoNode.h

Declaration
From
- (instancetype)initWithAVPlayer:(AVPlayer *)player
To
- (instancetype _Nonnull)initWithAVPlayer:(AVPlayer * _Nonnull)player

Declaration
From
- (instancetype)initWithCoder:(NSCoder *)aDecoder
To
- (instancetype _Nullable)initWithCoder:(NSCoder * _Nonnull)aDecoder

DeclarationIntroductionDeprecation
From
- (instancetype)initWithVideoFileNamed:(NSString *)videoFile
OS X 10.9--
To
- (instancetype _Nonnull)initWithVideoFileNamed:(NSString * _Nonnull)videoFile
OS X 10.8OS X 10.10

DeclarationIntroductionDeprecation
From
- (instancetype)initWithVideoURL:(NSURL *)url
OS X 10.9--
To
- (instancetype _Nonnull)initWithVideoURL:(NSURL * _Nonnull)url
OS X 10.8OS X 10.10

Declaration
From
+ (SKVideoNode *)videoNodeWithAVPlayer:(AVPlayer *)player
To
+ (SKVideoNode * _Nonnull)videoNodeWithAVPlayer:(AVPlayer * _Nonnull)player

DeclarationIntroductionDeprecation
From
+ (SKVideoNode *)videoNodeWithVideoFileNamed:(NSString *)videoFile
OS X 10.9--
To
+ (SKVideoNode * _Nonnull)videoNodeWithVideoFileNamed:(NSString * _Nonnull)videoFile
OS X 10.8OS X 10.10

DeclarationIntroductionDeprecation
From
+ (SKVideoNode *)videoNodeWithVideoURL:(NSURL *)videoURL
OS X 10.9--
To
+ (SKVideoNode * _Nonnull)videoNodeWithVideoURL:(NSURL * _Nonnull)videoURL
OS X 10.8OS X 10.10

SKView.h

Declaration
From
- (CGPoint)convertPoint:(CGPoint)point fromScene:(SKScene *)scene
To
- (CGPoint)convertPoint:(CGPoint)point fromScene:(SKScene * _Nonnull)scene

Declaration
From
- (CGPoint)convertPoint:(CGPoint)point toScene:(SKScene *)scene
To
- (CGPoint)convertPoint:(CGPoint)point toScene:(SKScene * _Nonnull)scene

Declaration
From
- (void)presentScene:(SKScene *)scene
To
- (void)presentScene:(SKScene * _Nullable)scene

Declaration
From
- (void)presentScene:(SKScene *)scene transition:(SKTransition *)transition
To
- (void)presentScene:(SKScene * _Nonnull)scene transition:(SKTransition * _Nonnull)transition

Modified SKView.scene
Declaration
From
@property(nonatomic, readonly) SKScene *scene
To
@property(nonatomic, readonly, nullable) SKScene *scene

Declaration
From
- (SKTexture *)textureFromNode:(SKNode *)node
To
- (SKTexture * _Nullable)textureFromNode:(SKNode * _Nonnull)node

Declaration
From
- (SKTexture *)textureFromNode:(SKNode *)node crop:(CGRect)crop
To
- (SKTexture * _Nullable)textureFromNode:(SKNode * _Nonnull)node crop:(CGRect)crop