Documentation Archive Developer
Search

SpriteKit Changes

SpriteKit

SKCropNode.h
Declaration
From
@property(retain, nonatomic) SKNode *maskNode
To
@property(nonatomic, retain) SKNode *maskNode

SKEffectNode.h
Declaration
From
@property(retain, nonatomic) CIFilter *filter
To
@property(nonatomic, retain) CIFilter *filter

SKEmitterNode.h
Declaration
From
@property(copy, nonatomic) SKAction *particleAction
To
@property(nonatomic, copy) SKAction *particleAction

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

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

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

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

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

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

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

SKLabelNode.h
Declaration
From
@property(retain, nonatomic) UIColor *color
To
@property(nonatomic, retain) UIColor *color

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

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

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

SKNode.h
Declaration
From
@property(readonly, nonatomic) NSArray *children
To
@property(nonatomic, readonly) NSArray *children

Modified SKNode.frame
Declaration
From
@property(readonly, nonatomic) CGRect frame
To
@property(nonatomic, readonly) CGRect frame

Modified SKNode.hidden
Declaration
From
@property(getter=isHidden, nonatomic) BOOL hidden
To
@property(nonatomic, getter=isHidden) BOOL hidden

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

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

Modified SKNode.paused
Declaration
From
@property(getter=isPaused, nonatomic) BOOL paused
To
@property(nonatomic, getter=isPaused) BOOL paused

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

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

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

Declaration
From
@property(getter=isUserInteractionEnabled) BOOL userInteractionEnabled
To
@property(nonatomic, getter=isUserInteractionEnabled) BOOL userInteractionEnabled

SKPhysicsBody.h
Declaration
From
@property(assign, nonatomic) BOOL affectedByGravity
To
@property(nonatomic, assign) BOOL affectedByGravity

Declaration
From
@property(assign, nonatomic) CGFloat angularDamping
To
@property(nonatomic, assign) CGFloat angularDamping

Declaration
From
@property(readonly, nonatomic) CGFloat area
To
@property(nonatomic, readonly) CGFloat area

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

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

Declaration
From
@property(assign, nonatomic) uint32_t contactTestBitMask
To
@property(nonatomic, assign) uint32_t contactTestBitMask

Declaration
From
@property(getter=isDynamic, nonatomic) BOOL dynamic
To
@property(nonatomic, getter=isDynamic) BOOL dynamic

Declaration
From
@property(readonly, nonatomic) NSArray *joints
To
@property(nonatomic, readonly) NSArray *joints

Declaration
From
@property(assign, nonatomic) CGFloat linearDamping
To
@property(nonatomic, assign) CGFloat linearDamping

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

Declaration
From
@property(getter=isResting, nonatomic) BOOL resting
To
@property(nonatomic, getter=isResting) BOOL resting

SKPhysicsContact.h
Declaration
From
@property(readonly, nonatomic) SKPhysicsBody *bodyA
To
@property(nonatomic, readonly) SKPhysicsBody *bodyA

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

Declaration
From
@property(readonly, nonatomic) CGFloat collisionImpulse
To
@property(nonatomic, readonly) CGFloat collisionImpulse

Declaration
From
@property(readonly, nonatomic) CGPoint contactPoint
To
@property(nonatomic, readonly) CGPoint contactPoint

SKPhysicsJoint.h
Declaration
From
@property(retain, nonatomic) SKPhysicsBody *bodyA
To
@property(nonatomic, retain) SKPhysicsBody *bodyA

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

SKPhysicsWorld.h
Optional
From--
Toyes

Optional
From--
Toyes

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

SKScene.h
Declaration
From
@property(retain, nonatomic) UIColor *backgroundColor
To
@property(nonatomic, retain) UIColor *backgroundColor

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

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

SKShapeNode.h
Declaration
From
@property(getter=isAntialiased, nonatomic) BOOL antialiased
To
@property(nonatomic, getter=isAntialiased) BOOL antialiased

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

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

SKSpriteNode.h
Declaration
From
@property(retain, nonatomic) UIColor *color
To
@property(nonatomic, retain) UIColor *color

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

SKTexture.h
Declaration
From
- (SKTexture *)textureByApplyingCIFilter:(CIFilter *)filter
To
- (instancetype)textureByApplyingCIFilter:(CIFilter *)filter

Declaration
From
+ (SKTexture *)textureWithCGImage:(CGImageRef)image
To
+ (instancetype)textureWithCGImage:(CGImageRef)image

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

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

Declaration
From
+ (SKTexture *)textureWithImage:(UIImage *)image
To
+ (instancetype)textureWithImage:(UIImage *)image

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

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

SKTextureAtlas.h
Declaration
From
+ (SKTextureAtlas *)atlasNamed:(NSString *)name
To
+ (instancetype)atlasNamed:(NSString *)name

Declaration
From
@property(readonly, nonatomic) NSArray *textureNames
To
@property(nonatomic, readonly) NSArray *textureNames

SKView.h
Declaration
From
@property(getter=isAsynchronous, nonatomic) BOOL asynchronous
To
@property(nonatomic, getter=isAsynchronous) BOOL asynchronous

Modified SKView.paused
Declaration
From
@property(getter=isPaused, nonatomic) BOOL paused
To
@property(nonatomic, getter=isPaused) BOOL paused

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

Introduction
FromiOS 7.1
ToiOS 8.0

SpriteKitBase.h