SpriteKit watchOS 3.2 to 4.0 API Differences
SKLabelNode.h
Added
+[SKLabelNode labelNodeWithAttributedText:]
Added
SKLabelNode.numberOfLines
Added
SKLabelNode.lineBreakMode
Added
SKLabelNode.preferredMaxLayoutWidth
Added
SKLabelNode.attributedText
SKNode.h
Added
SKNodeFocusBehavior
Modified
-[SKNode runAction:completion:]
Declaration
From
- (void)runAction:(nonnull SKAction *)action completion:(nonnull void (^)())block
To
- (void)runAction:(nonnull SKAction *)action completion:(nonnull void (^)(void))block
SKTransformNode.h
Added
SKTransformNode
Added
SKTransformNode.xRotation
Added
SKTransformNode.yRotation
Added
-[SKTransformNode setEulerAngles:]
Added
-[SKTransformNode eulerAngles]
Added
-[SKTransformNode setRotationMatrix:]
Added
-[SKTransformNode rotationMatrix]
Added
-[SKTransformNode setQuaternion:]
Added
-[SKTransformNode quaternion]