SpriteKit iOS 10.3 to 11.0 API Differences
SKLabelNode.h
Added
+[SKLabelNode labelNodeWithAttributedText:]
Added
SKLabelNode.numberOfLines
Added
SKLabelNode.lineBreakMode
Added
SKLabelNode.preferredMaxLayoutWidth
Added
SKLabelNode.attributedText
SKNode.h
Added
SKNodeFocusBehavior
Added
SKNodeFocusBehaviorNone
Added
SKNodeFocusBehaviorOccluding
Added
SKNodeFocusBehaviorFocusable
Added
SKNode.focusBehavior
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
SKRenderer.h
Added
SKRenderer
Added
+[SKRenderer rendererWithDevice:]
Added
-[SKRenderer renderWithViewport:commandBuffer:renderPassDescriptor:]
Added
-[SKRenderer renderWithViewport:renderCommandEncoder:renderPassDescriptor:commandQueue:]
Added
-[SKRenderer updateAtTime:]
Added
SKRenderer.scene
Added
SKRenderer.ignoresSiblingOrder
Added
SKRenderer.shouldCullNonVisibleNodes
Added
SKRenderer.showsDrawCount
Added
SKRenderer.showsNodeCount
Added
SKRenderer.showsQuadCount
Added
SKRenderer.showsPhysics
Added
SKRenderer.showsFields
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]