SpriteKit Changes
SpriteKit
SK3DNode.h (Added)
Added SK3DNode
Added SK3DNode.loops
Added SK3DNode.playing
Added SK3DNode.pointOfView
Added SK3DNode.sceneTime
Added SK3DNode.scnScene
Added SK3DNode.viewportSize
SKAction.h
Added +[SKAction hide]
Added SKAction.timingFunction
Added +[SKAction unhide]
Added SKActionTimingFunction
SKConstraint.h (Added)
Added SKConstraint
Added SKConstraint.enabled
Added SKRange
Added SKRange.lowerLimit
Added SKRange.upperLimit
SKCropNode.h
Modified SKCropNode.maskNode
Declaration | |
---|---|
From | @property(retain, nonatomic) SKNode *maskNode |
To | @property(nonatomic, retain) SKNode *maskNode |
SKEffectNode.h
Added SKEffectNode.shader
Modified SKEffectNode.filter
Declaration | |
---|---|
From | @property(retain, nonatomic) CIFilter *filter |
To | @property(nonatomic, retain) CIFilter *filter |
SKEmitterNode.h
Added SKEmitterNode.shader
Modified SKEmitterNode.particleAction
Declaration | |
---|---|
From | @property(copy, nonatomic) SKAction *particleAction |
To | @property(nonatomic, copy) SKAction *particleAction |
Modified SKEmitterNode.particleAlphaSequence
Declaration | |
---|---|
From | @property(retain, nonatomic) SKKeyframeSequence *particleAlphaSequence |
To | @property(nonatomic, retain) SKKeyframeSequence *particleAlphaSequence |
Modified SKEmitterNode.particleColor
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 |
Modified SKEmitterNode.particleColorSequence
Declaration | |
---|---|
From | @property(retain, nonatomic) SKKeyframeSequence *particleColorSequence |
To | @property(nonatomic, retain) SKKeyframeSequence *particleColorSequence |
Modified SKEmitterNode.particleScaleSequence
Declaration | |
---|---|
From | @property(retain, nonatomic) SKKeyframeSequence *particleScaleSequence |
To | @property(nonatomic, retain) SKKeyframeSequence *particleScaleSequence |
Modified SKEmitterNode.particleTexture
Declaration | |
---|---|
From | @property(retain, nonatomic) SKTexture *particleTexture |
To | @property(nonatomic, retain) SKTexture *particleTexture |
Modified SKEmitterNode.targetNode
Declaration | |
---|---|
From | @property(weak, nonatomic) SKNode *targetNode |
To | @property(nonatomic, weak) SKNode *targetNode |
SKFieldNode.h (Added)
Added SKFieldNode
Added SKFieldNode.direction
Added +[SKFieldNode dragField]
Added SKFieldNode.enabled
Added SKFieldNode.exclusive
Added SKFieldNode.falloff
Added SKFieldNode.region
Added SKFieldNode.smoothness
Added SKFieldNode.strength
Added SKFieldNode.texture
Added SKFieldForceEvaluator
SKLabelNode.h
Modified SKLabelNode.color
Declaration | |
---|---|
From | @property(retain, nonatomic) UIColor *color |
To | @property(nonatomic, retain) UIColor *color |
Modified SKLabelNode.fontColor
Declaration | |
---|---|
From | @property(retain, nonatomic) UIColor *fontColor |
To | @property(nonatomic, retain) UIColor *fontColor |
Modified SKLabelNode.fontName
Declaration | |
---|---|
From | @property(copy, nonatomic) NSString *fontName |
To | @property(nonatomic, copy) NSString *fontName |
Modified SKLabelNode.text
Declaration | |
---|---|
From | @property(copy, nonatomic) NSString *text |
To | @property(nonatomic, copy) NSString *text |
SKLightNode.h (Added)
Added SKLightNode
Added SKLightNode.ambientColor
Added SKLightNode.enabled
Added SKLightNode.falloff
Added SKLightNode.lightColor
Added SKLightNode.shadowColor
SKMutableTexture.h (Added)
SKNode.h
Modified SKNode.children
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 |
Modified SKNode.physicsBody
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 |
Modified SKNode.userData
Declaration | |
---|---|
From | @property(retain, nonatomic) NSMutableDictionary *userData |
To | @property(nonatomic, retain) NSMutableDictionary *userData |
Modified SKNode.userInteractionEnabled
Declaration | |
---|---|
From | @property(getter=isUserInteractionEnabled) BOOL userInteractionEnabled |
To | @property(nonatomic, getter=isUserInteractionEnabled) BOOL userInteractionEnabled |
SKPhysicsBody.h
Added SKPhysicsBody.charge
Added SKPhysicsBody.pinned
Modified SKPhysicsBody.affectedByGravity
Declaration | |
---|---|
From | @property(assign, nonatomic) BOOL affectedByGravity |
To | @property(nonatomic, assign) BOOL affectedByGravity |
Modified SKPhysicsBody.angularDamping
Declaration | |
---|---|
From | @property(assign, nonatomic) CGFloat angularDamping |
To | @property(nonatomic, assign) CGFloat angularDamping |
Modified SKPhysicsBody.area
Declaration | |
---|---|
From | @property(readonly, nonatomic) CGFloat area |
To | @property(nonatomic, readonly) CGFloat area |
Modified SKPhysicsBody.categoryBitMask
Declaration | |
---|---|
From | @property(assign, nonatomic) uint32_t categoryBitMask |
To | @property(nonatomic, assign) uint32_t categoryBitMask |
Modified SKPhysicsBody.collisionBitMask
Declaration | |
---|---|
From | @property(assign, nonatomic) uint32_t collisionBitMask |
To | @property(nonatomic, assign) uint32_t collisionBitMask |
Modified SKPhysicsBody.contactTestBitMask
Declaration | |
---|---|
From | @property(assign, nonatomic) uint32_t contactTestBitMask |
To | @property(nonatomic, assign) uint32_t contactTestBitMask |
Modified SKPhysicsBody.dynamic
Declaration | |
---|---|
From | @property(getter=isDynamic, nonatomic) BOOL dynamic |
To | @property(nonatomic, getter=isDynamic) BOOL dynamic |
Modified SKPhysicsBody.joints
Declaration | |
---|---|
From | @property(readonly, nonatomic) NSArray *joints |
To | @property(nonatomic, readonly) NSArray *joints |
Modified SKPhysicsBody.linearDamping
Declaration | |
---|---|
From | @property(assign, nonatomic) CGFloat linearDamping |
To | @property(nonatomic, assign) CGFloat linearDamping |
Modified SKPhysicsBody.node
Declaration | |
---|---|
From | @property(readonly, weak, nonatomic) SKNode *node |
To | @property(nonatomic, readonly, weak) SKNode *node |
Modified SKPhysicsBody.resting
Declaration | |
---|---|
From | @property(getter=isResting, nonatomic) BOOL resting |
To | @property(nonatomic, getter=isResting) BOOL resting |
SKPhysicsContact.h
Modified SKPhysicsContact.bodyA
Declaration | |
---|---|
From | @property(readonly, nonatomic) SKPhysicsBody *bodyA |
To | @property(nonatomic, readonly) SKPhysicsBody *bodyA |
Modified SKPhysicsContact.bodyB
Declaration | |
---|---|
From | @property(readonly, nonatomic) SKPhysicsBody *bodyB |
To | @property(nonatomic, readonly) SKPhysicsBody *bodyB |
Modified SKPhysicsContact.collisionImpulse
Declaration | |
---|---|
From | @property(readonly, nonatomic) CGFloat collisionImpulse |
To | @property(nonatomic, readonly) CGFloat collisionImpulse |
Modified SKPhysicsContact.contactPoint
Declaration | |
---|---|
From | @property(readonly, nonatomic) CGPoint contactPoint |
To | @property(nonatomic, readonly) CGPoint contactPoint |
SKPhysicsJoint.h
Modified SKPhysicsJoint.bodyA
Declaration | |
---|---|
From | @property(retain, nonatomic) SKPhysicsBody *bodyA |
To | @property(nonatomic, retain) SKPhysicsBody *bodyA |
Modified SKPhysicsJoint.bodyB
Declaration | |
---|---|
From | @property(retain, nonatomic) SKPhysicsBody *bodyB |
To | @property(nonatomic, retain) SKPhysicsBody *bodyB |
SKPhysicsWorld.h
Optional | |
---|---|
From | -- |
To | yes |
Optional | |
---|---|
From | -- |
To | yes |
Modified SKPhysicsWorld.contactDelegate
Declaration | |
---|---|
From | @property(assign, nonatomic) id<SKPhysicsContactDelegate> contactDelegate |
To | @property(nonatomic, assign) id<SKPhysicsContactDelegate> contactDelegate |
SKReachConstraints.h (Added)
SKRegion.h (Added)
Added SKRegion
Added SKRegion.path
SKScene.h
Added SKScene.delegate
Added SKSceneDelegate
Modified SKScene.backgroundColor
Declaration | |
---|---|
From | @property(retain, nonatomic) UIColor *backgroundColor |
To | @property(nonatomic, retain) UIColor *backgroundColor |
Modified SKScene.physicsWorld
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 |
SKShader.h (Added)
Added SKShader
Added -[SKShader addUniform:]
Added +[SKShader shader]
Added SKShader.source
Added SKShader.uniforms
SKShapeNode.h
Added SKShapeNode.fillShader
Added SKShapeNode.fillTexture
Added SKShapeNode.lineCap
Added SKShapeNode.lineJoin
Added SKShapeNode.lineLength
Added SKShapeNode.miterLimit
Added SKShapeNode.strokeShader
Modified SKShapeNode.antialiased
Declaration | |
---|---|
From | @property(getter=isAntialiased, nonatomic) BOOL antialiased |
To | @property(nonatomic, getter=isAntialiased) BOOL antialiased |
Modified SKShapeNode.fillColor
Declaration | |
---|---|
From | @property(retain, nonatomic) UIColor *fillColor |
To | @property(nonatomic, retain) UIColor *fillColor |
Modified SKShapeNode.strokeColor
Declaration | |
---|---|
From | @property(retain, nonatomic) UIColor *strokeColor |
To | @property(nonatomic, retain) UIColor *strokeColor |
SKSpriteNode.h
Added SKSpriteNode.shader
Modified SKSpriteNode.color
Declaration | |
---|---|
From | @property(retain, nonatomic) UIColor *color |
To | @property(nonatomic, retain) UIColor *color |
Modified SKSpriteNode.texture
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 |
Modified +[SKTexture textureWithCGImage:]
Declaration | |
---|---|
From | + (SKTexture *)textureWithCGImage:(CGImageRef)image |
To | + (instancetype)textureWithCGImage:(CGImageRef)image |
Modified +[SKTexture textureWithData:size:]
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 |
Modified +[SKTexture textureWithImage:]
Declaration | |
---|---|
From | + (SKTexture *)textureWithImage:(UIImage *)image |
To | + (instancetype)textureWithImage:(UIImage *)image |
Modified +[SKTexture textureWithImageNamed:]
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
Modified +[SKTextureAtlas atlasNamed:]
Declaration | |
---|---|
From | + (SKTextureAtlas *)atlasNamed:(NSString *)name |
To | + (instancetype)atlasNamed:(NSString *)name |
Modified SKTextureAtlas.textureNames
Declaration | |
---|---|
From | @property(readonly, nonatomic) NSArray *textureNames |
To | @property(nonatomic, readonly) NSArray *textureNames |
SKUniform.h (Added)
Added SKUniform
Added SKUniform.floatValue
Added SKUniform.name
Added SKUniform.textureValue
Added SKUniform.uniformType
Added SKUniformType
Added SKUniformTypeFloat
Added SKUniformTypeNone
Added SKUniformTypeTexture
SKView.h
Added SKView.showsFields
Added SKView.showsQuadCount
Modified SKView.asynchronous
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 |
Modified SKView.showsPhysics
Introduction | |
---|---|
From | iOS 7.1 |
To | iOS 8.0 |
SpriteKitBase.h
Added vector_float3