Documentation Archive Developer
Search

SpriteKit Changes

SpriteKit

Added SKNode.isEqualToNode(SKNode!) -> Bool
Added SKUniform.floatMatrix2Value
Added SKUniform.floatMatrix3Value
Added SKUniform.floatMatrix4Value
Added SKUniform.floatVector2Value
Added SKUniform.floatVector3Value
Added SKUniform.floatVector4Value
Added SKUniform.init(name: String!, floatMatrix2: GLKMatrix2)
Added SKUniform.init(name: String!, floatMatrix3: GLKMatrix3)
Added SKUniform.init(name: String!, floatMatrix4: GLKMatrix4)
Added SKUniform.init(name: String!, floatVector2: GLKVector2)
Added SKUniform.init(name: String!, floatVector3: GLKVector3)
Added SKUniform.init(name: String!, floatVector4: GLKVector4)
Modified SKConstraint.distance(SKRange!, toNode: SKNode!) -> Self [class]
DeclarationIntroduction
From
class func distance(_ range: SKRange!, toNode node: SKNode!) -> Self!
iOS 8.0
To
class func distance(_ range: SKRange!, toNode node: SKNode!) -> Self
iOS 8.3

Modified SKConstraint.distance(SKRange, toPoint: CGPoint) -> Self [class]
DeclarationIntroduction
From
class func distance(_ range: SKRange, toPoint point: CGPoint) -> Self!
iOS 8.0
To
class func distance(_ range: SKRange, toPoint point: CGPoint) -> Self
iOS 8.3

Modified SKConstraint.distance(SKRange, toPoint: CGPoint, inNode: SKNode) -> Self [class]
DeclarationIntroduction
From
class func distance(_ range: SKRange, toPoint point: CGPoint, inNode node: SKNode) -> Self!
iOS 8.0
To
class func distance(_ range: SKRange, toPoint point: CGPoint, inNode node: SKNode) -> Self
iOS 8.3

Modified SKConstraint.orientToNode(SKNode, offset: SKRange) -> Self [class]
DeclarationIntroduction
From
class func orientToNode(_ node: SKNode, offset radians: SKRange) -> Self!
iOS 8.0
To
class func orientToNode(_ node: SKNode, offset radians: SKRange) -> Self
iOS 8.3

Modified SKConstraint.orientToPoint(CGPoint, inNode: SKNode, offset: SKRange) -> Self [class]
DeclarationIntroduction
From
class func orientToPoint(_ point: CGPoint, inNode node: SKNode, offset radians: SKRange) -> Self!
iOS 8.0
To
class func orientToPoint(_ point: CGPoint, inNode node: SKNode, offset radians: SKRange) -> Self
iOS 8.3

Modified SKConstraint.orientToPoint(CGPoint, offset: SKRange) -> Self [class]
DeclarationIntroduction
From
class func orientToPoint(_ point: CGPoint, offset radians: SKRange) -> Self!
iOS 8.0
To
class func orientToPoint(_ point: CGPoint, offset radians: SKRange) -> Self
iOS 8.3

Modified SKConstraint.positionX(SKRange) -> Self [class]
DeclarationIntroduction
From
class func positionX(_ range: SKRange) -> Self!
iOS 8.0
To
class func positionX(_ range: SKRange) -> Self
iOS 8.3

Modified SKConstraint.positionX(SKRange, y: SKRange) -> Self [class]
DeclarationIntroduction
From
class func positionX(_ xRange: SKRange, y yRange: SKRange) -> Self!
iOS 8.0
To
class func positionX(_ xRange: SKRange, y yRange: SKRange) -> Self
iOS 8.3

Modified SKConstraint.positionY(SKRange) -> Self [class]
DeclarationIntroduction
From
class func positionY(_ range: SKRange) -> Self!
iOS 8.0
To
class func positionY(_ range: SKRange) -> Self
iOS 8.3

Modified SKConstraint.zRotation(SKRange) -> Self [class]
DeclarationIntroduction
From
class func zRotation(_ zRange: SKRange) -> Self!
iOS 8.0
To
class func zRotation(_ zRange: SKRange) -> Self
iOS 8.3

Modified SKMutableTexture.modifyPixelDataWithBlock((UnsafeMutablePointer<Void>, Int) -> Void)
DeclarationIntroduction
From
func modifyPixelDataWithBlock(_ block: (UnsafeMutablePointer<Void>, UInt) -> Void)
iOS 8.0
To
func modifyPixelDataWithBlock(_ block: (UnsafeMutablePointer<Void>, Int) -> Void)
iOS 8.3

Modified SKRange.rangeWithNoLimits() -> Self [class]
DeclarationIntroduction
From
class func rangeWithNoLimits() -> Self!
iOS 8.0
To
class func rangeWithNoLimits() -> Self
iOS 8.3

Modified SKRegion.infiniteRegion() -> Self [class]
DeclarationIntroduction
From
class func infiniteRegion() -> Self!
iOS 8.0
To
class func infiniteRegion() -> Self
iOS 8.3

Modified SKRegion.inverseRegion() -> Self
DeclarationIntroduction
From
func inverseRegion() -> Self!
iOS 8.0
To
func inverseRegion() -> Self
iOS 8.3

Modified SKRegion.regionByDifferenceFromRegion(SKRegion) -> Self
DeclarationIntroduction
From
func regionByDifferenceFromRegion(_ region: SKRegion) -> Self!
iOS 8.0
To
func regionByDifferenceFromRegion(_ region: SKRegion) -> Self
iOS 8.3

Modified SKShapeNode.init(points: UnsafeMutablePointer<CGPoint>, count: Int)
Declaration
From
convenience init(points points: UnsafeMutablePointer<CGPoint>, count numPoints: UInt)
To
convenience init(points points: UnsafeMutablePointer<CGPoint>, count numPoints: Int)

Modified SKShapeNode.init(splinePoints: UnsafeMutablePointer<CGPoint>, count: Int)
Declaration
From
convenience init(splinePoints points: UnsafeMutablePointer<CGPoint>, count numPoints: UInt)
To
convenience init(splinePoints points: UnsafeMutablePointer<CGPoint>, count numPoints: Int)

Modified SKTexture.textureByApplyingCIFilter(CIFilter) -> Self
DeclarationIntroduction
From
func textureByApplyingCIFilter(_ filter: CIFilter) -> Self!
iOS 8.0
To
func textureByApplyingCIFilter(_ filter: CIFilter) -> Self
iOS 8.3

Modified SKVideoNode.init(videoFileNamed: String)
Declaration
From
convenience init!(videoFileNamed videoFile: String)
To
init!(videoFileNamed videoFile: String)

Modified SKVideoNode.init(videoURL: NSURL)
Declaration
From
convenience init!(videoURL url: NSURL)
To
init!(videoURL url: NSURL)