SpriteKit Changes for Swift
SpriteKit
Added SKAction.animate(withWarps: [SKWarpGeometry], times: [NSNumber], restore: Bool) -> SKAction? [class]
Added SKAttribute
Added SKAttribute.name
Added SKAttribute.type
Added SKAttributeType [enum]
Added SKAttributeType.float
Added SKAttributeType.none
Added SKAttributeValue
Added SKAttributeValue.init()
Added SKNode.attributeValues
Added SKScene.sceneDidLoad()
Added SKShader.attributes
Added SKTileDefinition
Added SKTileDefinition.name
Added SKTileDefinition.size
Added SKTileGroup
Added SKTileGroup.name
Added SKTileGroup.rules
Added SKTileGroupRule
Added SKTileGroupRule.name
Added SKTileMapNode
Added SKTileMapNode.blendMode
Added SKTileMapNode.color
Added SKTileMapNode.mapSize
Added SKTileMapNode.shader
Added SKTileMapNode.tileSet
Added SKTileMapNode.tileSize
Added SKTileSet
Added SKTileSet.name
Added SKTileSet.tileGroups
Added SKTileSet.type
Added SKTileSetType [enum]
Added SKTileSetType.grid
Added SKTileSetType.isometric
Added SKView.delegate
Added SKViewDelegate
Added SKWarpable
Added SKWarpable.warpGeometry
Added SKWarpGeometry
Added SKWarpGeometryGrid
Added SKVIEW_AVAILABLE
Modified SK3DNode
Declaration | |
---|---|
From | class SK3DNode : SKNode { init(viewportSize viewportSize: CGSize) init?(coder aDecoder: NSCoder) class func nodeWithViewportSize(_ viewportSize: CGSize) -> Self var viewportSize: CGSize var scnScene: SCNScene? var sceneTime: NSTimeInterval func hitTest(_ point: CGPoint, options options: [String : AnyObject]?) -> [SCNHitTestResult] func projectPoint(_ point: vector_float3) -> vector_float3 func unprojectPoint(_ point: vector_float3) -> vector_float3 var playing: Bool var loops: Bool var pointOfView: SCNNode? var autoenablesDefaultLighting: Bool } |
To | class SK3DNode : SKNode { init(viewportSize viewportSize: CGSize) init?(coder aDecoder: NSCoder) class func withViewportSize(_ viewportSize: CGSize) -> Self var viewportSize: CGSize var scnScene: SCNScene? var sceneTime: TimeInterval func hitTest(_ point: CGPoint, options options: [String : Any]? = nil) -> [SCNHitTestResult] func projectPoint(_ point: vector_float3) -> vector_float3 func unprojectPoint(_ point: vector_float3) -> vector_float3 var isPlaying: Bool var loops: Bool var pointOfView: SCNNode? var autoenablesDefaultLighting: Bool } |
Declaration | |
---|---|
From | func hitTest(_ point: CGPoint, options options: [String : AnyObject]?) -> [SCNHitTestResult] |
To | func hitTest(_ point: CGPoint, options options: [String : Any]? = nil) -> [SCNHitTestResult] |
Modified SK3DNode.isPlaying
Declaration | |
---|---|
From | var playing: Bool |
To | var isPlaying: Bool |
Modified SK3DNode.sceneTime
Declaration | |
---|---|
From | var sceneTime: NSTimeInterval |
To | var sceneTime: TimeInterval |
Modified SKAction
Declaration | Protocols | |
---|---|---|
From | class SKAction : NSObject, NSCopying, NSCoding { var duration: NSTimeInterval var timingMode: SKActionTimingMode var timingFunction: SKActionTimingFunction var speed: CGFloat func reversedAction() -> SKAction } extension SKAction { class func moveBy(_ delta: CGVector, duration sec: NSTimeInterval) -> SKAction class func moveByX(_ deltaX: CGFloat, y deltaY: CGFloat, duration sec: NSTimeInterval) -> SKAction class func moveTo(_ location: CGPoint, duration sec: NSTimeInterval) -> SKAction class func moveToX(_ x: CGFloat, duration sec: NSTimeInterval) -> SKAction class func moveToY(_ y: CGFloat, duration sec: NSTimeInterval) -> SKAction class func rotateByAngle(_ radians: CGFloat, duration sec: NSTimeInterval) -> SKAction class func rotateToAngle(_ radians: CGFloat, duration sec: NSTimeInterval) -> SKAction class func rotateToAngle(_ radians: CGFloat, duration sec: NSTimeInterval, shortestUnitArc shortestUnitArc: Bool) -> SKAction class func resizeByWidth(_ width: CGFloat, height height: CGFloat, duration duration: NSTimeInterval) -> SKAction class func resizeToWidth(_ width: CGFloat, height height: CGFloat, duration duration: NSTimeInterval) -> SKAction class func resizeToWidth(_ width: CGFloat, duration duration: NSTimeInterval) -> SKAction class func resizeToHeight(_ height: CGFloat, duration duration: NSTimeInterval) -> SKAction class func scaleBy(_ scale: CGFloat, duration sec: NSTimeInterval) -> SKAction class func scaleXBy(_ xScale: CGFloat, y yScale: CGFloat, duration sec: NSTimeInterval) -> SKAction class func scaleTo(_ scale: CGFloat, duration sec: NSTimeInterval) -> SKAction class func scaleXTo(_ xScale: CGFloat, y yScale: CGFloat, duration sec: NSTimeInterval) -> SKAction class func scaleXTo(_ scale: CGFloat, duration sec: NSTimeInterval) -> SKAction class func scaleYTo(_ scale: CGFloat, duration sec: NSTimeInterval) -> SKAction class func sequence(_ actions: [SKAction]) -> SKAction class func group(_ actions: [SKAction]) -> SKAction class func repeatAction(_ action: SKAction, count count: Int) -> SKAction class func repeatActionForever(_ action: SKAction) -> SKAction class func fadeInWithDuration(_ sec: NSTimeInterval) -> SKAction class func fadeOutWithDuration(_ sec: NSTimeInterval) -> SKAction class func fadeAlphaBy(_ factor: CGFloat, duration sec: NSTimeInterval) -> SKAction class func fadeAlphaTo(_ alpha: CGFloat, duration sec: NSTimeInterval) -> SKAction class func hide() -> SKAction class func unhide() -> SKAction class func setTexture(_ texture: SKTexture) -> SKAction class func setNormalTexture(_ texture: SKTexture) -> SKAction class func setTexture(_ texture: SKTexture, resize resize: Bool) -> SKAction class func setNormalTexture(_ texture: SKTexture, resize resize: Bool) -> SKAction class func animateWithTextures(_ textures: [SKTexture], timePerFrame sec: NSTimeInterval) -> SKAction class func animateWithNormalTextures(_ textures: [SKTexture], timePerFrame sec: NSTimeInterval) -> SKAction class func animateWithTextures(_ textures: [SKTexture], timePerFrame sec: NSTimeInterval, resize resize: Bool, restore restore: Bool) -> SKAction class func animateWithNormalTextures(_ textures: [SKTexture], timePerFrame sec: NSTimeInterval, resize resize: Bool, restore restore: Bool) -> SKAction class func playSoundFileNamed(_ soundFile: String, waitForCompletion wait: Bool) -> SKAction class func colorizeWithColor(_ color: UIColor, colorBlendFactor colorBlendFactor: CGFloat, duration sec: NSTimeInterval) -> SKAction class func colorizeWithColorBlendFactor(_ colorBlendFactor: CGFloat, duration sec: NSTimeInterval) -> SKAction class func falloffTo(_ falloff: Float, duration sec: NSTimeInterval) -> SKAction class func falloffBy(_ falloff: Float, duration sec: NSTimeInterval) -> SKAction class func followPath(_ path: CGPath, duration sec: NSTimeInterval) -> SKAction class func followPath(_ path: CGPath, asOffset offset: Bool, orientToPath orient: Bool, duration sec: NSTimeInterval) -> SKAction class func followPath(_ path: CGPath, speed speed: CGFloat) -> SKAction class func followPath(_ path: CGPath, asOffset offset: Bool, orientToPath orient: Bool, speed speed: CGFloat) -> SKAction class func speedBy(_ speed: CGFloat, duration sec: NSTimeInterval) -> SKAction class func speedTo(_ speed: CGFloat, duration sec: NSTimeInterval) -> SKAction class func reachTo(_ position: CGPoint, rootNode root: SKNode, duration sec: NSTimeInterval) -> SKAction class func reachTo(_ position: CGPoint, rootNode root: SKNode, velocity velocity: CGFloat) -> SKAction class func reachToNode(_ node: SKNode, rootNode root: SKNode, duration sec: NSTimeInterval) -> SKAction class func reachToNode(_ node: SKNode, rootNode root: SKNode, velocity velocity: CGFloat) -> SKAction class func strengthTo(_ strength: Float, duration sec: NSTimeInterval) -> SKAction class func strengthBy(_ strength: Float, duration sec: NSTimeInterval) -> SKAction class func waitForDuration(_ sec: NSTimeInterval) -> SKAction class func waitForDuration(_ sec: NSTimeInterval, withRange durationRange: NSTimeInterval) -> SKAction class func removeFromParent() -> SKAction class func performSelector(_ selector: Selector, onTarget target: AnyObject) -> SKAction class func runBlock(_ block: dispatch_block_t) -> SKAction class func runBlock(_ block: dispatch_block_t, queue queue: dispatch_queue_t) -> SKAction class func runAction(_ action: SKAction, onChildWithName name: String) -> SKAction class func customActionWithDuration(_ seconds: NSTimeInterval, actionBlock block: (SKNode, CGFloat) -> Void) -> SKAction init?(named name: String) class func actionNamed(_ name: String) -> SKAction? init?(named name: String, duration sec: NSTimeInterval) class func actionNamed(_ name: String, duration sec: NSTimeInterval) -> SKAction? init?(named name: String, fromURL url: NSURL) class func actionNamed(_ name: String, fromURL url: NSURL) -> SKAction? init?(named name: String, fromURL url: NSURL, duration sec: NSTimeInterval) class func actionNamed(_ name: String, fromURL url: NSURL, duration sec: NSTimeInterval) -> SKAction? } extension SKAction { class func changeChargeTo(_ v: Float, duration duration: NSTimeInterval) -> SKAction class func changeChargeBy(_ v: Float, duration duration: NSTimeInterval) -> SKAction class func changeMassTo(_ v: Float, duration duration: NSTimeInterval) -> SKAction class func changeMassBy(_ v: Float, duration duration: NSTimeInterval) -> SKAction class func applyForce(_ force: CGVector, duration sec: NSTimeInterval) -> SKAction class func applyForce(_ force: CGVector, atPoint point: CGPoint, duration sec: NSTimeInterval) -> SKAction class func applyTorque(_ torque: CGFloat, duration sec: NSTimeInterval) -> SKAction class func applyImpulse(_ impulse: CGVector, duration sec: NSTimeInterval) -> SKAction class func applyImpulse(_ impulse: CGVector, atPoint point: CGPoint, duration sec: NSTimeInterval) -> SKAction class func applyAngularImpulse(_ impulse: CGFloat, duration sec: NSTimeInterval) -> SKAction } extension SKAction { class func play() -> SKAction class func pause() -> SKAction class func stop() -> SKAction class func changePlaybackRateTo(_ v: Float, duration duration: NSTimeInterval) -> SKAction class func changePlaybackRateBy(_ v: Float, duration duration: NSTimeInterval) -> SKAction } extension SKAction { class func changeVolumeTo(_ v: Float, duration duration: NSTimeInterval) -> SKAction class func changeVolumeBy(_ v: Float, duration duration: NSTimeInterval) -> SKAction } extension SKAction { class func stereoPanTo(_ v: Float, duration duration: NSTimeInterval) -> SKAction class func stereoPanBy(_ v: Float, duration duration: NSTimeInterval) -> SKAction class func changeReverbTo(_ v: Float, duration duration: NSTimeInterval) -> SKAction class func changeReverbBy(_ v: Float, duration duration: NSTimeInterval) -> SKAction class func changeObstructionTo(_ v: Float, duration duration: NSTimeInterval) -> SKAction class func changeObstructionBy(_ v: Float, duration duration: NSTimeInterval) -> SKAction class func changeOcclusionTo(_ v: Float, duration duration: NSTimeInterval) -> SKAction class func changeOcclusionBy(_ v: Float, duration duration: NSTimeInterval) -> SKAction } | NSCoding, NSCopying |
To | class SKAction : NSObject, NSCopying, NSCoding { var duration: TimeInterval var timingMode: SKActionTimingMode var timingFunction: SpriteKit.SKActionTimingFunction var speed: CGFloat func reversed() -> SKAction class func stereoPan(to v: Float, duration duration: TimeInterval) -> SKAction class func stereoPan(by v: Float, duration duration: TimeInterval) -> SKAction class func changeReverb(to v: Float, duration duration: TimeInterval) -> SKAction class func changeReverb(by v: Float, duration duration: TimeInterval) -> SKAction class func changeObstruction(to v: Float, duration duration: TimeInterval) -> SKAction class func changeObstruction(by v: Float, duration duration: TimeInterval) -> SKAction class func changeOcclusion(to v: Float, duration duration: TimeInterval) -> SKAction class func changeOcclusion(by v: Float, duration duration: TimeInterval) -> SKAction class func warp(to warp: SKWarpGeometry, duration duration: TimeInterval) -> SKAction? class func animate(withWarps warps: [SKWarpGeometry], times times: [NSNumber]) -> SKAction? class func animate(withWarps warps: [SKWarpGeometry], times times: [NSNumber], restore restore: Bool) -> SKAction? class func changeVolume(to v: Float, duration duration: TimeInterval) -> SKAction class func changeVolume(by v: Float, duration duration: TimeInterval) -> SKAction class func play() -> SKAction class func pause() -> SKAction class func stop() -> SKAction class func changePlaybackRate(to v: Float, duration duration: TimeInterval) -> SKAction class func changePlaybackRate(by v: Float, duration duration: TimeInterval) -> SKAction class func changeCharge(to v: Float, duration duration: TimeInterval) -> SKAction class func changeCharge(by v: Float, duration duration: TimeInterval) -> SKAction class func changeMass(to v: Float, duration duration: TimeInterval) -> SKAction class func changeMass(by v: Float, duration duration: TimeInterval) -> SKAction class func applyForce(_ force: CGVector, duration sec: TimeInterval) -> SKAction class func applyForce(_ force: CGVector, at point: CGPoint, duration sec: TimeInterval) -> SKAction class func applyTorque(_ torque: CGFloat, duration sec: TimeInterval) -> SKAction class func applyImpulse(_ impulse: CGVector, duration sec: TimeInterval) -> SKAction class func applyImpulse(_ impulse: CGVector, at point: CGPoint, duration sec: TimeInterval) -> SKAction class func applyAngularImpulse(_ impulse: CGFloat, duration sec: TimeInterval) -> SKAction class func move(by delta: CGVector, duration sec: TimeInterval) -> SKAction class func moveBy(x deltaX: CGFloat, y deltaY: CGFloat, duration sec: TimeInterval) -> SKAction class func move(to location: CGPoint, duration sec: TimeInterval) -> SKAction class func moveTo(x x: CGFloat, duration sec: TimeInterval) -> SKAction class func moveTo(y y: CGFloat, duration sec: TimeInterval) -> SKAction class func rotate(byAngle radians: CGFloat, duration sec: TimeInterval) -> SKAction class func rotate(toAngle radians: CGFloat, duration sec: TimeInterval) -> SKAction class func rotate(toAngle radians: CGFloat, duration sec: TimeInterval, shortestUnitArc shortestUnitArc: Bool) -> SKAction class func resize(byWidth width: CGFloat, height height: CGFloat, duration duration: TimeInterval) -> SKAction class func resize(toWidth width: CGFloat, height height: CGFloat, duration duration: TimeInterval) -> SKAction class func resize(toWidth width: CGFloat, duration duration: TimeInterval) -> SKAction class func resize(toHeight height: CGFloat, duration duration: TimeInterval) -> SKAction class func scale(by scale: CGFloat, duration sec: TimeInterval) -> SKAction class func scaleX(by xScale: CGFloat, y yScale: CGFloat, duration sec: TimeInterval) -> SKAction class func scale(to scale: CGFloat, duration sec: TimeInterval) -> SKAction class func scaleX(to xScale: CGFloat, y yScale: CGFloat, duration sec: TimeInterval) -> SKAction class func scaleX(to scale: CGFloat, duration sec: TimeInterval) -> SKAction class func scaleY(to scale: CGFloat, duration sec: TimeInterval) -> SKAction class func scale(to size: CGSize, duration sec: TimeInterval) -> SKAction class func sequence(_ actions: [SKAction]) -> SKAction class func group(_ actions: [SKAction]) -> SKAction class func `repeat`(_ action: SKAction, count count: Int) -> SKAction class func repeatForever(_ action: SKAction) -> SKAction class func fadeIn(withDuration sec: TimeInterval) -> SKAction class func fadeOut(withDuration sec: TimeInterval) -> SKAction class func fadeAlpha(by factor: CGFloat, duration sec: TimeInterval) -> SKAction class func fadeAlpha(to alpha: CGFloat, duration sec: TimeInterval) -> SKAction class func hide() -> SKAction class func unhide() -> SKAction class func setTexture(_ texture: SKTexture) -> SKAction class func setNormalTexture(_ texture: SKTexture) -> SKAction class func setTexture(_ texture: SKTexture, resize resize: Bool) -> SKAction class func setNormalTexture(_ texture: SKTexture, resize resize: Bool) -> SKAction class func animate(with textures: [SKTexture], timePerFrame sec: TimeInterval) -> SKAction class func animate(withNormalTextures textures: [SKTexture], timePerFrame sec: TimeInterval) -> SKAction class func animate(with textures: [SKTexture], timePerFrame sec: TimeInterval, resize resize: Bool, restore restore: Bool) -> SKAction class func animate(withNormalTextures textures: [SKTexture], timePerFrame sec: TimeInterval, resize resize: Bool, restore restore: Bool) -> SKAction class func playSoundFileNamed(_ soundFile: String, waitForCompletion wait: Bool) -> SKAction class func colorize(with color: UIColor, colorBlendFactor colorBlendFactor: CGFloat, duration sec: TimeInterval) -> SKAction class func colorize(withColorBlendFactor colorBlendFactor: CGFloat, duration sec: TimeInterval) -> SKAction class func falloff(to falloff: Float, duration sec: TimeInterval) -> SKAction class func falloff(by falloff: Float, duration sec: TimeInterval) -> SKAction class func follow(_ path: CGPath, duration sec: TimeInterval) -> SKAction class func follow(_ path: CGPath, asOffset offset: Bool, orientToPath orient: Bool, duration sec: TimeInterval) -> SKAction class func follow(_ path: CGPath, speed speed: CGFloat) -> SKAction class func follow(_ path: CGPath, asOffset offset: Bool, orientToPath orient: Bool, speed speed: CGFloat) -> SKAction class func speed(by speed: CGFloat, duration sec: TimeInterval) -> SKAction class func speed(to speed: CGFloat, duration sec: TimeInterval) -> SKAction class func reach(to position: CGPoint, rootNode root: SKNode, duration sec: TimeInterval) -> SKAction class func reach(to position: CGPoint, rootNode root: SKNode, velocity velocity: CGFloat) -> SKAction class func reach(to node: SKNode, rootNode root: SKNode, duration sec: TimeInterval) -> SKAction class func reach(to node: SKNode, rootNode root: SKNode, velocity velocity: CGFloat) -> SKAction class func strength(to strength: Float, duration sec: TimeInterval) -> SKAction class func strength(by strength: Float, duration sec: TimeInterval) -> SKAction class func wait(forDuration sec: TimeInterval) -> SKAction class func wait(forDuration sec: TimeInterval, withRange durationRange: TimeInterval) -> SKAction class func removeFromParent() -> SKAction class func perform(_ selector: Selector, onTarget target: Any) -> SKAction class func run(_ block: @escaping () -> Swift.Void) -> SKAction class func run(_ block: @escaping () -> Swift.Void, queue queue: DispatchQueue) -> SKAction class func run(_ action: SKAction, onChildWithName name: String) -> SKAction class func customAction(withDuration seconds: TimeInterval, actionBlock block: @escaping (SKNode, CGFloat) -> Swift.Void) -> SKAction init?(named name: String) class func actionNamed(_ name: String) -> SKAction? init?(named name: String, duration sec: TimeInterval) class func actionNamed(_ name: String, duration sec: TimeInterval) -> SKAction? init?(named name: String, from url: URL) class func actionNamed(_ name: String, from url: URL) -> SKAction? init?(named name: String, from url: URL, duration sec: TimeInterval) class func actionNamed(_ name: String, from url: URL, duration sec: TimeInterval) -> SKAction? func awakeFromNib() func prepareForInterfaceBuilder() func accessibilityActivate() -> Bool func accessibilityIncrement() func accessibilityDecrement() func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool func accessibilityPerformEscape() -> Bool func accessibilityPerformMagicTap() -> Bool var accessibilityCustomActions: [UIAccessibilityCustomAction]? func accessibilityElementDidBecomeFocused() func accessibilityElementDidLoseFocus() func accessibilityElementIsFocused() -> Bool func accessibilityAssistiveTechnologyFocusedIdentifiers() -> Set<String>? func accessibilityElementCount() -> Int func accessibilityElement(at index: Int) -> Any? func index(ofAccessibilityElement element: Any) -> Int var accessibilityElements: [Any]? var isAccessibilityElement: Bool var accessibilityLabel: String? var accessibilityHint: String? var accessibilityValue: String? var accessibilityTraits: UIAccessibilityTraits var accessibilityFrame: CGRect @NSCopying var accessibilityPath: UIBezierPath? var accessibilityActivationPoint: CGPoint var accessibilityLanguage: String? var accessibilityElementsHidden: Bool var accessibilityViewIsModal: Bool var shouldGroupAccessibilityChildren: Bool var accessibilityNavigationStyle: UIAccessibilityNavigationStyle var accessibilityHeaderElements: [Any]? var accessibilityCustomRotors: [UIAccessibilityCustomRotor]? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension SKAction : CVarArg { } extension SKAction : Equatable, Hashable { var hashValue: Int { get } } extension SKAction { class func move(by delta: CGVector, duration sec: TimeInterval) -> SKAction class func moveBy(x deltaX: CGFloat, y deltaY: CGFloat, duration sec: TimeInterval) -> SKAction class func move(to location: CGPoint, duration sec: TimeInterval) -> SKAction class func moveTo(x x: CGFloat, duration sec: TimeInterval) -> SKAction class func moveTo(y y: CGFloat, duration sec: TimeInterval) -> SKAction class func rotate(byAngle radians: CGFloat, duration sec: TimeInterval) -> SKAction class func rotate(toAngle radians: CGFloat, duration sec: TimeInterval) -> SKAction class func rotate(toAngle radians: CGFloat, duration sec: TimeInterval, shortestUnitArc shortestUnitArc: Bool) -> SKAction class func resize(byWidth width: CGFloat, height height: CGFloat, duration duration: TimeInterval) -> SKAction class func resize(toWidth width: CGFloat, height height: CGFloat, duration duration: TimeInterval) -> SKAction class func resize(toWidth width: CGFloat, duration duration: TimeInterval) -> SKAction class func resize(toHeight height: CGFloat, duration duration: TimeInterval) -> SKAction class func scale(by scale: CGFloat, duration sec: TimeInterval) -> SKAction class func scaleX(by xScale: CGFloat, y yScale: CGFloat, duration sec: TimeInterval) -> SKAction class func scale(to scale: CGFloat, duration sec: TimeInterval) -> SKAction class func scaleX(to xScale: CGFloat, y yScale: CGFloat, duration sec: TimeInterval) -> SKAction class func scaleX(to scale: CGFloat, duration sec: TimeInterval) -> SKAction class func scaleY(to scale: CGFloat, duration sec: TimeInterval) -> SKAction class func scale(to size: CGSize, duration sec: TimeInterval) -> SKAction class func sequence(_ actions: [SKAction]) -> SKAction class func group(_ actions: [SKAction]) -> SKAction class func `repeat`(_ action: SKAction, count count: Int) -> SKAction class func repeatForever(_ action: SKAction) -> SKAction class func fadeIn(withDuration sec: TimeInterval) -> SKAction class func fadeOut(withDuration sec: TimeInterval) -> SKAction class func fadeAlpha(by factor: CGFloat, duration sec: TimeInterval) -> SKAction class func fadeAlpha(to alpha: CGFloat, duration sec: TimeInterval) -> SKAction class func hide() -> SKAction class func unhide() -> SKAction class func setTexture(_ texture: SKTexture) -> SKAction class func setNormalTexture(_ texture: SKTexture) -> SKAction class func setTexture(_ texture: SKTexture, resize resize: Bool) -> SKAction class func setNormalTexture(_ texture: SKTexture, resize resize: Bool) -> SKAction class func animate(with textures: [SKTexture], timePerFrame sec: TimeInterval) -> SKAction class func animate(withNormalTextures textures: [SKTexture], timePerFrame sec: TimeInterval) -> SKAction class func animate(with textures: [SKTexture], timePerFrame sec: TimeInterval, resize resize: Bool, restore restore: Bool) -> SKAction class func animate(withNormalTextures textures: [SKTexture], timePerFrame sec: TimeInterval, resize resize: Bool, restore restore: Bool) -> SKAction class func playSoundFileNamed(_ soundFile: String, waitForCompletion wait: Bool) -> SKAction class func colorize(with color: UIColor, colorBlendFactor colorBlendFactor: CGFloat, duration sec: TimeInterval) -> SKAction class func colorize(withColorBlendFactor colorBlendFactor: CGFloat, duration sec: TimeInterval) -> SKAction class func falloff(to falloff: Float, duration sec: TimeInterval) -> SKAction class func falloff(by falloff: Float, duration sec: TimeInterval) -> SKAction class func follow(_ path: CGPath, duration sec: TimeInterval) -> SKAction class func follow(_ path: CGPath, asOffset offset: Bool, orientToPath orient: Bool, duration sec: TimeInterval) -> SKAction class func follow(_ path: CGPath, speed speed: CGFloat) -> SKAction class func follow(_ path: CGPath, asOffset offset: Bool, orientToPath orient: Bool, speed speed: CGFloat) -> SKAction class func speed(by speed: CGFloat, duration sec: TimeInterval) -> SKAction class func speed(to speed: CGFloat, duration sec: TimeInterval) -> SKAction class func reach(to position: CGPoint, rootNode root: SKNode, duration sec: TimeInterval) -> SKAction class func reach(to position: CGPoint, rootNode root: SKNode, velocity velocity: CGFloat) -> SKAction class func reach(to node: SKNode, rootNode root: SKNode, duration sec: TimeInterval) -> SKAction class func reach(to node: SKNode, rootNode root: SKNode, velocity velocity: CGFloat) -> SKAction class func strength(to strength: Float, duration sec: TimeInterval) -> SKAction class func strength(by strength: Float, duration sec: TimeInterval) -> SKAction class func wait(forDuration sec: TimeInterval) -> SKAction class func wait(forDuration sec: TimeInterval, withRange durationRange: TimeInterval) -> SKAction class func removeFromParent() -> SKAction class func perform(_ selector: Selector, onTarget target: Any) -> SKAction class func run(_ block: @escaping () -> Swift.Void) -> SKAction class func run(_ block: @escaping () -> Swift.Void, queue queue: DispatchQueue) -> SKAction class func run(_ action: SKAction, onChildWithName name: String) -> SKAction class func customAction(withDuration seconds: TimeInterval, actionBlock block: @escaping (SKNode, CGFloat) -> Swift.Void) -> SKAction init?(named name: String) class func actionNamed(_ name: String) -> SKAction? init?(named name: String, duration sec: TimeInterval) class func actionNamed(_ name: String, duration sec: TimeInterval) -> SKAction? init?(named name: String, from url: URL) class func actionNamed(_ name: String, from url: URL) -> SKAction? init?(named name: String, from url: URL, duration sec: TimeInterval) class func actionNamed(_ name: String, from url: URL, duration sec: TimeInterval) -> SKAction? } extension SKAction { class func changeCharge(to v: Float, duration duration: TimeInterval) -> SKAction class func changeCharge(by v: Float, duration duration: TimeInterval) -> SKAction class func changeMass(to v: Float, duration duration: TimeInterval) -> SKAction class func changeMass(by v: Float, duration duration: TimeInterval) -> SKAction class func applyForce(_ force: CGVector, duration sec: TimeInterval) -> SKAction class func applyForce(_ force: CGVector, at point: CGPoint, duration sec: TimeInterval) -> SKAction class func applyTorque(_ torque: CGFloat, duration sec: TimeInterval) -> SKAction class func applyImpulse(_ impulse: CGVector, duration sec: TimeInterval) -> SKAction class func applyImpulse(_ impulse: CGVector, at point: CGPoint, duration sec: TimeInterval) -> SKAction class func applyAngularImpulse(_ impulse: CGFloat, duration sec: TimeInterval) -> SKAction } extension SKAction { class func play() -> SKAction class func pause() -> SKAction class func stop() -> SKAction class func changePlaybackRate(to v: Float, duration duration: TimeInterval) -> SKAction class func changePlaybackRate(by v: Float, duration duration: TimeInterval) -> SKAction } extension SKAction { class func changeVolume(to v: Float, duration duration: TimeInterval) -> SKAction class func changeVolume(by v: Float, duration duration: TimeInterval) -> SKAction } extension SKAction { class func stereoPan(to v: Float, duration duration: TimeInterval) -> SKAction class func stereoPan(by v: Float, duration duration: TimeInterval) -> SKAction class func changeReverb(to v: Float, duration duration: TimeInterval) -> SKAction class func changeReverb(by v: Float, duration duration: TimeInterval) -> SKAction class func changeObstruction(to v: Float, duration duration: TimeInterval) -> SKAction class func changeObstruction(by v: Float, duration duration: TimeInterval) -> SKAction class func changeOcclusion(to v: Float, duration duration: TimeInterval) -> SKAction class func changeOcclusion(by v: Float, duration duration: TimeInterval) -> SKAction } extension SKAction { class func warp(to warp: SKWarpGeometry, duration duration: TimeInterval) -> SKAction? class func animate(withWarps warps: [SKWarpGeometry], times times: [NSNumber]) -> SKAction? class func animate(withWarps warps: [SKWarpGeometry], times times: [NSNumber], restore restore: Bool) -> SKAction? } | CVarArg, Equatable, Hashable, NSCoding, NSCopying |
Declaration | |
---|---|
From | class func animateWithTextures(_ textures: [SKTexture], timePerFrame sec: NSTimeInterval) -> SKAction |
To | class func animate(with textures: [SKTexture], timePerFrame sec: TimeInterval) -> SKAction |
Declaration | |
---|---|
From | class func animateWithTextures(_ textures: [SKTexture], timePerFrame sec: NSTimeInterval, resize resize: Bool, restore restore: Bool) -> SKAction |
To | class func animate(with textures: [SKTexture], timePerFrame sec: TimeInterval, resize resize: Bool, restore restore: Bool) -> SKAction |
Modified SKAction.animate(withNormalTextures: [SKTexture], timePerFrame: TimeInterval) -> SKAction [class]
Declaration | |
---|---|
From | class func animateWithNormalTextures(_ textures: [SKTexture], timePerFrame sec: NSTimeInterval) -> SKAction |
To | class func animate(withNormalTextures textures: [SKTexture], timePerFrame sec: TimeInterval) -> SKAction |
Declaration | |
---|---|
From | class func animateWithNormalTextures(_ textures: [SKTexture], timePerFrame sec: NSTimeInterval, resize resize: Bool, restore restore: Bool) -> SKAction |
To | class func animate(withNormalTextures textures: [SKTexture], timePerFrame sec: TimeInterval, resize resize: Bool, restore restore: Bool) -> SKAction |
Declaration | |
---|---|
From | class func applyAngularImpulse(_ impulse: CGFloat, duration sec: NSTimeInterval) -> SKAction |
To | class func applyAngularImpulse(_ impulse: CGFloat, duration sec: TimeInterval) -> SKAction |
Declaration | |
---|---|
From | class func applyForce(_ force: CGVector, atPoint point: CGPoint, duration sec: NSTimeInterval) -> SKAction |
To | class func applyForce(_ force: CGVector, at point: CGPoint, duration sec: TimeInterval) -> SKAction |
Declaration | |
---|---|
From | class func applyForce(_ force: CGVector, duration sec: NSTimeInterval) -> SKAction |
To | class func applyForce(_ force: CGVector, duration sec: TimeInterval) -> SKAction |
Modified SKAction.applyImpulse(_: CGVector, at: CGPoint, duration: TimeInterval) -> SKAction [class]
Declaration | |
---|---|
From | class func applyImpulse(_ impulse: CGVector, atPoint point: CGPoint, duration sec: NSTimeInterval) -> SKAction |
To | class func applyImpulse(_ impulse: CGVector, at point: CGPoint, duration sec: TimeInterval) -> SKAction |
Declaration | |
---|---|
From | class func applyImpulse(_ impulse: CGVector, duration sec: NSTimeInterval) -> SKAction |
To | class func applyImpulse(_ impulse: CGVector, duration sec: TimeInterval) -> SKAction |
Declaration | |
---|---|
From | class func applyTorque(_ torque: CGFloat, duration sec: NSTimeInterval) -> SKAction |
To | class func applyTorque(_ torque: CGFloat, duration sec: TimeInterval) -> SKAction |
Declaration | |
---|---|
From | class func changeChargeBy(_ v: Float, duration duration: NSTimeInterval) -> SKAction |
To | class func changeCharge(by v: Float, duration duration: TimeInterval) -> SKAction |
Declaration | |
---|---|
From | class func changeChargeTo(_ v: Float, duration duration: NSTimeInterval) -> SKAction |
To | class func changeCharge(to v: Float, duration duration: TimeInterval) -> SKAction |
Declaration | |
---|---|
From | class func changeMassBy(_ v: Float, duration duration: NSTimeInterval) -> SKAction |
To | class func changeMass(by v: Float, duration duration: TimeInterval) -> SKAction |
Declaration | |
---|---|
From | class func changeMassTo(_ v: Float, duration duration: NSTimeInterval) -> SKAction |
To | class func changeMass(to v: Float, duration duration: TimeInterval) -> SKAction |
Declaration | |
---|---|
From | class func changeObstructionBy(_ v: Float, duration duration: NSTimeInterval) -> SKAction |
To | class func changeObstruction(by v: Float, duration duration: TimeInterval) -> SKAction |
Declaration | |
---|---|
From | class func changeObstructionTo(_ v: Float, duration duration: NSTimeInterval) -> SKAction |
To | class func changeObstruction(to v: Float, duration duration: TimeInterval) -> SKAction |
Declaration | |
---|---|
From | class func changeOcclusionBy(_ v: Float, duration duration: NSTimeInterval) -> SKAction |
To | class func changeOcclusion(by v: Float, duration duration: TimeInterval) -> SKAction |
Declaration | |
---|---|
From | class func changeOcclusionTo(_ v: Float, duration duration: NSTimeInterval) -> SKAction |
To | class func changeOcclusion(to v: Float, duration duration: TimeInterval) -> SKAction |
Declaration | |
---|---|
From | class func changePlaybackRateBy(_ v: Float, duration duration: NSTimeInterval) -> SKAction |
To | class func changePlaybackRate(by v: Float, duration duration: TimeInterval) -> SKAction |
Declaration | |
---|---|
From | class func changePlaybackRateTo(_ v: Float, duration duration: NSTimeInterval) -> SKAction |
To | class func changePlaybackRate(to v: Float, duration duration: TimeInterval) -> SKAction |
Declaration | |
---|---|
From | class func changeReverbBy(_ v: Float, duration duration: NSTimeInterval) -> SKAction |
To | class func changeReverb(by v: Float, duration duration: TimeInterval) -> SKAction |
Declaration | |
---|---|
From | class func changeReverbTo(_ v: Float, duration duration: NSTimeInterval) -> SKAction |
To | class func changeReverb(to v: Float, duration duration: TimeInterval) -> SKAction |
Declaration | |
---|---|
From | class func changeVolumeBy(_ v: Float, duration duration: NSTimeInterval) -> SKAction |
To | class func changeVolume(by v: Float, duration duration: TimeInterval) -> SKAction |
Declaration | |
---|---|
From | class func changeVolumeTo(_ v: Float, duration duration: NSTimeInterval) -> SKAction |
To | class func changeVolume(to v: Float, duration duration: TimeInterval) -> SKAction |
Declaration | |
---|---|
From | class func colorizeWithColor(_ color: UIColor, colorBlendFactor colorBlendFactor: CGFloat, duration sec: NSTimeInterval) -> SKAction |
To | class func colorize(with color: UIColor, colorBlendFactor colorBlendFactor: CGFloat, duration sec: TimeInterval) -> SKAction |
Modified SKAction.colorize(withColorBlendFactor: CGFloat, duration: TimeInterval) -> SKAction [class]
Declaration | |
---|---|
From | class func colorizeWithColorBlendFactor(_ colorBlendFactor: CGFloat, duration sec: NSTimeInterval) -> SKAction |
To | class func colorize(withColorBlendFactor colorBlendFactor: CGFloat, duration sec: TimeInterval) -> SKAction |
Declaration | |
---|---|
From | class func customActionWithDuration(_ seconds: NSTimeInterval, actionBlock block: (SKNode, CGFloat) -> Void) -> SKAction |
To | class func customAction(withDuration seconds: TimeInterval, actionBlock block: @escaping (SKNode, CGFloat) -> Swift.Void) -> SKAction |
Modified SKAction.duration
Declaration | |
---|---|
From | var duration: NSTimeInterval |
To | var duration: TimeInterval |
Declaration | |
---|---|
From | class func fadeAlphaBy(_ factor: CGFloat, duration sec: NSTimeInterval) -> SKAction |
To | class func fadeAlpha(by factor: CGFloat, duration sec: TimeInterval) -> SKAction |
Declaration | |
---|---|
From | class func fadeAlphaTo(_ alpha: CGFloat, duration sec: NSTimeInterval) -> SKAction |
To | class func fadeAlpha(to alpha: CGFloat, duration sec: TimeInterval) -> SKAction |
Declaration | |
---|---|
From | class func fadeInWithDuration(_ sec: NSTimeInterval) -> SKAction |
To | class func fadeIn(withDuration sec: TimeInterval) -> SKAction |
Declaration | |
---|---|
From | class func fadeOutWithDuration(_ sec: NSTimeInterval) -> SKAction |
To | class func fadeOut(withDuration sec: TimeInterval) -> SKAction |
Declaration | |
---|---|
From | class func falloffBy(_ falloff: Float, duration sec: NSTimeInterval) -> SKAction |
To | class func falloff(by falloff: Float, duration sec: TimeInterval) -> SKAction |
Declaration | |
---|---|
From | class func falloffTo(_ falloff: Float, duration sec: NSTimeInterval) -> SKAction |
To | class func falloff(to falloff: Float, duration sec: TimeInterval) -> SKAction |
Declaration | |
---|---|
From | class func followPath(_ path: CGPath, asOffset offset: Bool, orientToPath orient: Bool, duration sec: NSTimeInterval) -> SKAction |
To | class func follow(_ path: CGPath, asOffset offset: Bool, orientToPath orient: Bool, duration sec: TimeInterval) -> SKAction |
Modified SKAction.follow(_: CGPath, asOffset: Bool, orientToPath: Bool, speed: CGFloat) -> SKAction [class]
Declaration | |
---|---|
From | class func followPath(_ path: CGPath, asOffset offset: Bool, orientToPath orient: Bool, speed speed: CGFloat) -> SKAction |
To | class func follow(_ path: CGPath, asOffset offset: Bool, orientToPath orient: Bool, speed speed: CGFloat) -> SKAction |
Declaration | |
---|---|
From | class func followPath(_ path: CGPath, duration sec: NSTimeInterval) -> SKAction |
To | class func follow(_ path: CGPath, duration sec: TimeInterval) -> SKAction |
Declaration | |
---|---|
From | class func followPath(_ path: CGPath, speed speed: CGFloat) -> SKAction |
To | class func follow(_ path: CGPath, speed speed: CGFloat) -> SKAction |
Declaration | |
---|---|
From | init?(named name: String, duration sec: NSTimeInterval) |
To | init?(named name: String, duration sec: TimeInterval) |
Declaration | |
---|---|
From | init?(named name: String, fromURL url: NSURL) |
To | init?(named name: String, from url: URL) |
Declaration | |
---|---|
From | init?(named name: String, fromURL url: NSURL, duration sec: NSTimeInterval) |
To | init?(named name: String, from url: URL, duration sec: TimeInterval) |
Declaration | |
---|---|
From | class func moveBy(_ delta: CGVector, duration sec: NSTimeInterval) -> SKAction |
To | class func move(by delta: CGVector, duration sec: TimeInterval) -> SKAction |
Declaration | |
---|---|
From | class func moveTo(_ location: CGPoint, duration sec: NSTimeInterval) -> SKAction |
To | class func move(to location: CGPoint, duration sec: TimeInterval) -> SKAction |
Declaration | |
---|---|
From | class func moveByX(_ deltaX: CGFloat, y deltaY: CGFloat, duration sec: NSTimeInterval) -> SKAction |
To | class func moveBy(x deltaX: CGFloat, y deltaY: CGFloat, duration sec: TimeInterval) -> SKAction |
Declaration | |
---|---|
From | class func moveToX(_ x: CGFloat, duration sec: NSTimeInterval) -> SKAction |
To | class func moveTo(x x: CGFloat, duration sec: TimeInterval) -> SKAction |
Declaration | |
---|---|
From | class func moveToY(_ y: CGFloat, duration sec: NSTimeInterval) -> SKAction |
To | class func moveTo(y y: CGFloat, duration sec: TimeInterval) -> SKAction |
Declaration | |
---|---|
From | class func performSelector(_ selector: Selector, onTarget target: AnyObject) -> SKAction |
To | class func perform(_ selector: Selector, onTarget target: Any) -> SKAction |
Declaration | |
---|---|
From | class func reachToNode(_ node: SKNode, rootNode root: SKNode, duration sec: NSTimeInterval) -> SKAction |
To | class func reach(to node: SKNode, rootNode root: SKNode, duration sec: TimeInterval) -> SKAction |
Declaration | |
---|---|
From | class func reachTo(_ position: CGPoint, rootNode root: SKNode, duration sec: NSTimeInterval) -> SKAction |
To | class func reach(to position: CGPoint, rootNode root: SKNode, duration sec: TimeInterval) -> SKAction |
Declaration | |
---|---|
From | class func reachToNode(_ node: SKNode, rootNode root: SKNode, velocity velocity: CGFloat) -> SKAction |
To | class func reach(to node: SKNode, rootNode root: SKNode, velocity velocity: CGFloat) -> SKAction |
Declaration | |
---|---|
From | class func reachTo(_ position: CGPoint, rootNode root: SKNode, velocity velocity: CGFloat) -> SKAction |
To | class func reach(to position: CGPoint, rootNode root: SKNode, velocity velocity: CGFloat) -> SKAction |
Declaration | |
---|---|
From | class func repeatAction(_ action: SKAction, count count: Int) -> SKAction |
To | class func `repeat`(_ action: SKAction, count count: Int) -> SKAction |
Declaration | |
---|---|
From | class func repeatActionForever(_ action: SKAction) -> SKAction |
To | class func repeatForever(_ action: SKAction) -> SKAction |
Modified SKAction.resize(byWidth: CGFloat, height: CGFloat, duration: TimeInterval) -> SKAction [class]
Declaration | |
---|---|
From | class func resizeByWidth(_ width: CGFloat, height height: CGFloat, duration duration: NSTimeInterval) -> SKAction |
To | class func resize(byWidth width: CGFloat, height height: CGFloat, duration duration: TimeInterval) -> SKAction |
Declaration | |
---|---|
From | class func resizeToHeight(_ height: CGFloat, duration duration: NSTimeInterval) -> SKAction |
To | class func resize(toHeight height: CGFloat, duration duration: TimeInterval) -> SKAction |
Declaration | |
---|---|
From | class func resizeToWidth(_ width: CGFloat, duration duration: NSTimeInterval) -> SKAction |
To | class func resize(toWidth width: CGFloat, duration duration: TimeInterval) -> SKAction |
Modified SKAction.resize(toWidth: CGFloat, height: CGFloat, duration: TimeInterval) -> SKAction [class]
Declaration | |
---|---|
From | class func resizeToWidth(_ width: CGFloat, height height: CGFloat, duration duration: NSTimeInterval) -> SKAction |
To | class func resize(toWidth width: CGFloat, height height: CGFloat, duration duration: TimeInterval) -> SKAction |
Modified SKAction.reversed() -> SKAction
Declaration | |
---|---|
From | func reversedAction() -> SKAction |
To | func reversed() -> SKAction |
Declaration | |
---|---|
From | class func rotateByAngle(_ radians: CGFloat, duration sec: NSTimeInterval) -> SKAction |
To | class func rotate(byAngle radians: CGFloat, duration sec: TimeInterval) -> SKAction |
Declaration | |
---|---|
From | class func rotateToAngle(_ radians: CGFloat, duration sec: NSTimeInterval) -> SKAction |
To | class func rotate(toAngle radians: CGFloat, duration sec: TimeInterval) -> SKAction |
Modified SKAction.rotate(toAngle: CGFloat, duration: TimeInterval, shortestUnitArc: Bool) -> SKAction [class]
Declaration | |
---|---|
From | class func rotateToAngle(_ radians: CGFloat, duration sec: NSTimeInterval, shortestUnitArc shortestUnitArc: Bool) -> SKAction |
To | class func rotate(toAngle radians: CGFloat, duration sec: TimeInterval, shortestUnitArc shortestUnitArc: Bool) -> SKAction |
Declaration | |
---|---|
From | class func runBlock(_ block: dispatch_block_t) -> SKAction |
To | class func run(_ block: @escaping () -> Swift.Void) -> SKAction |
Declaration | |
---|---|
From | class func runAction(_ action: SKAction, onChildWithName name: String) -> SKAction |
To | class func run(_ action: SKAction, onChildWithName name: String) -> SKAction |
Declaration | |
---|---|
From | class func runBlock(_ block: dispatch_block_t, queue queue: dispatch_queue_t) -> SKAction |
To | class func run(_ block: @escaping () -> Swift.Void, queue queue: DispatchQueue) -> SKAction |
Declaration | |
---|---|
From | class func scaleBy(_ scale: CGFloat, duration sec: NSTimeInterval) -> SKAction |
To | class func scale(by scale: CGFloat, duration sec: TimeInterval) -> SKAction |
Declaration | |
---|---|
From | class func scaleTo(_ scale: CGFloat, duration sec: NSTimeInterval) -> SKAction |
To | class func scale(to scale: CGFloat, duration sec: TimeInterval) -> SKAction |
Declaration | |
---|---|
From | class func scaleXBy(_ xScale: CGFloat, y yScale: CGFloat, duration sec: NSTimeInterval) -> SKAction |
To | class func scaleX(by xScale: CGFloat, y yScale: CGFloat, duration sec: TimeInterval) -> SKAction |
Declaration | |
---|---|
From | class func scaleXTo(_ scale: CGFloat, duration sec: NSTimeInterval) -> SKAction |
To | class func scaleX(to scale: CGFloat, duration sec: TimeInterval) -> SKAction |
Declaration | |
---|---|
From | class func scaleXTo(_ xScale: CGFloat, y yScale: CGFloat, duration sec: NSTimeInterval) -> SKAction |
To | class func scaleX(to xScale: CGFloat, y yScale: CGFloat, duration sec: TimeInterval) -> SKAction |
Declaration | |
---|---|
From | class func scaleYTo(_ scale: CGFloat, duration sec: NSTimeInterval) -> SKAction |
To | class func scaleY(to scale: CGFloat, duration sec: TimeInterval) -> SKAction |
Declaration | |
---|---|
From | class func speedBy(_ speed: CGFloat, duration sec: NSTimeInterval) -> SKAction |
To | class func speed(by speed: CGFloat, duration sec: TimeInterval) -> SKAction |
Declaration | |
---|---|
From | class func speedTo(_ speed: CGFloat, duration sec: NSTimeInterval) -> SKAction |
To | class func speed(to speed: CGFloat, duration sec: TimeInterval) -> SKAction |
Declaration | |
---|---|
From | class func stereoPanBy(_ v: Float, duration duration: NSTimeInterval) -> SKAction |
To | class func stereoPan(by v: Float, duration duration: TimeInterval) -> SKAction |
Declaration | |
---|---|
From | class func stereoPanTo(_ v: Float, duration duration: NSTimeInterval) -> SKAction |
To | class func stereoPan(to v: Float, duration duration: TimeInterval) -> SKAction |
Declaration | |
---|---|
From | class func strengthBy(_ strength: Float, duration sec: NSTimeInterval) -> SKAction |
To | class func strength(by strength: Float, duration sec: TimeInterval) -> SKAction |
Declaration | |
---|---|
From | class func strengthTo(_ strength: Float, duration sec: NSTimeInterval) -> SKAction |
To | class func strength(to strength: Float, duration sec: TimeInterval) -> SKAction |
Modified SKAction.timingFunction
Declaration | |
---|---|
From | var timingFunction: SKActionTimingFunction |
To | var timingFunction: SpriteKit.SKActionTimingFunction |
Declaration | |
---|---|
From | class func waitForDuration(_ sec: NSTimeInterval) -> SKAction |
To | class func wait(forDuration sec: TimeInterval) -> SKAction |
Declaration | |
---|---|
From | class func waitForDuration(_ sec: NSTimeInterval, withRange durationRange: NSTimeInterval) -> SKAction |
To | class func wait(forDuration sec: TimeInterval, withRange durationRange: TimeInterval) -> SKAction |
Modified SKActionTimingMode [enum]
Declaration | |
---|---|
From | enum SKActionTimingMode : Int { case Linear case EaseIn case EaseOut case EaseInEaseOut } |
To | enum SKActionTimingMode : Int { case linear case easeIn case easeOut case easeInEaseOut } |
Modified SKActionTimingMode.easeIn
Declaration | |
---|---|
From | case EaseIn |
To | case easeIn |
Modified SKActionTimingMode.easeInEaseOut
Declaration | |
---|---|
From | case EaseInEaseOut |
To | case easeInEaseOut |
Modified SKActionTimingMode.easeOut
Declaration | |
---|---|
From | case EaseOut |
To | case easeOut |
Modified SKActionTimingMode.linear
Declaration | |
---|---|
From | case Linear |
To | case linear |
Modified SKAudioNode
Declaration | |
---|---|
From | class SKAudioNode : SKNode, NSCoding { init(AVAudioNode node: AVAudioNode?) init?(coder aDecoder: NSCoder) convenience init(fileNamed name: String) convenience init(URL url: NSURL) var avAudioNode: AVAudioNode? var autoplayLooped: Bool var positional: Bool } |
To | class SKAudioNode : SKNode, NSCoding { init(avAudioNode node: AVAudioNode?) init?(coder aDecoder: NSCoder) convenience init(fileNamed name: String) convenience init(url url: URL) var avAudioNode: AVAudioNode? var autoplayLooped: Bool var isPositional: Bool } |
Declaration | |
---|---|
From | init(AVAudioNode node: AVAudioNode?) |
To | init(avAudioNode node: AVAudioNode?) |
Modified SKAudioNode.init(url: URL)
Declaration | |
---|---|
From | convenience init(URL url: NSURL) |
To | convenience init(url url: URL) |
Modified SKAudioNode.isPositional
Declaration | |
---|---|
From | var positional: Bool |
To | var isPositional: Bool |
Modified SKBlendMode [enum]
Declaration | |
---|---|
From | enum SKBlendMode : Int { case Alpha case Add case Subtract case Multiply case MultiplyX2 case Screen case Replace } |
To | enum SKBlendMode : Int { case alpha case add case subtract case multiply case multiplyX2 case screen case replace } |
Modified SKBlendMode.add
Declaration | |
---|---|
From | case Add |
To | case add |
Modified SKBlendMode.alpha
Declaration | |
---|---|
From | case Alpha |
To | case alpha |
Modified SKBlendMode.multiply
Declaration | |
---|---|
From | case Multiply |
To | case multiply |
Modified SKBlendMode.multiplyX2
Declaration | |
---|---|
From | case MultiplyX2 |
To | case multiplyX2 |
Modified SKBlendMode.replace
Declaration | |
---|---|
From | case Replace |
To | case replace |
Modified SKBlendMode.screen
Declaration | |
---|---|
From | case Screen |
To | case screen |
Modified SKBlendMode.subtract
Declaration | |
---|---|
From | case Subtract |
To | case subtract |
Modified SKCameraNode
Declaration | |
---|---|
From | class SKCameraNode : SKNode { func containsNode(_ node: SKNode) -> Bool func containedNodeSet() -> Set<SKNode> } |
To | class SKCameraNode : SKNode { func contains(_ node: SKNode) -> Bool func containedNodeSet() -> Set<SKNode> } |
Declaration | |
---|---|
From | func containsNode(_ node: SKNode) -> Bool |
To | func contains(_ node: SKNode) -> Bool |
Modified SKConstraint
Declaration | Protocols | |
---|---|---|
From | class SKConstraint : NSObject, NSCoding, NSCopying { var enabled: Bool var referenceNode: SKNode? class func positionX(_ range: SKRange) -> Self class func positionY(_ range: SKRange) -> Self class func positionX(_ xRange: SKRange, y yRange: SKRange) -> Self class func distance(_ range: SKRange, toNode node: SKNode) -> Self class func distance(_ range: SKRange, toPoint point: CGPoint) -> Self class func distance(_ range: SKRange, toPoint point: CGPoint, inNode node: SKNode) -> Self class func zRotation(_ zRange: SKRange) -> Self class func orientToNode(_ node: SKNode, offset radians: SKRange) -> Self class func orientToPoint(_ point: CGPoint, offset radians: SKRange) -> Self class func orientToPoint(_ point: CGPoint, inNode node: SKNode, offset radians: SKRange) -> Self } | NSCoding, NSCopying |
To | class SKConstraint : NSObject, NSCoding, NSCopying { var enabled: Bool var referenceNode: SKNode? class func positionX(_ range: SKRange) -> Self class func positionY(_ range: SKRange) -> Self class func positionX(_ xRange: SKRange, y yRange: SKRange) -> Self class func distance(_ range: SKRange, to node: SKNode) -> Self class func distance(_ range: SKRange, to point: CGPoint) -> Self class func distance(_ range: SKRange, to point: CGPoint, in node: SKNode) -> Self class func zRotation(_ zRange: SKRange) -> Self class func orient(to node: SKNode, offset radians: SKRange) -> Self class func orient(to point: CGPoint, offset radians: SKRange) -> Self class func orient(to point: CGPoint, in node: SKNode, offset radians: SKRange) -> Self func awakeFromNib() func prepareForInterfaceBuilder() func accessibilityActivate() -> Bool func accessibilityIncrement() func accessibilityDecrement() func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool func accessibilityPerformEscape() -> Bool func accessibilityPerformMagicTap() -> Bool var accessibilityCustomActions: [UIAccessibilityCustomAction]? func accessibilityElementDidBecomeFocused() func accessibilityElementDidLoseFocus() func accessibilityElementIsFocused() -> Bool func accessibilityAssistiveTechnologyFocusedIdentifiers() -> Set<String>? func accessibilityElementCount() -> Int func accessibilityElement(at index: Int) -> Any? func index(ofAccessibilityElement element: Any) -> Int var accessibilityElements: [Any]? var isAccessibilityElement: Bool var accessibilityLabel: String? var accessibilityHint: String? var accessibilityValue: String? var accessibilityTraits: UIAccessibilityTraits var accessibilityFrame: CGRect @NSCopying var accessibilityPath: UIBezierPath? var accessibilityActivationPoint: CGPoint var accessibilityLanguage: String? var accessibilityElementsHidden: Bool var accessibilityViewIsModal: Bool var shouldGroupAccessibilityChildren: Bool var accessibilityNavigationStyle: UIAccessibilityNavigationStyle var accessibilityHeaderElements: [Any]? var accessibilityCustomRotors: [UIAccessibilityCustomRotor]? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension SKConstraint : CVarArg { } extension SKConstraint : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCoding, NSCopying |
Declaration | |
---|---|
From | class func distance(_ range: SKRange, toNode node: SKNode) -> Self |
To | class func distance(_ range: SKRange, to node: SKNode) -> Self |
Declaration | |
---|---|
From | class func distance(_ range: SKRange, toPoint point: CGPoint) -> Self |
To | class func distance(_ range: SKRange, to point: CGPoint) -> Self |
Declaration | |
---|---|
From | class func distance(_ range: SKRange, toPoint point: CGPoint, inNode node: SKNode) -> Self |
To | class func distance(_ range: SKRange, to point: CGPoint, in node: SKNode) -> Self |
Declaration | |
---|---|
From | class func orientToPoint(_ point: CGPoint, inNode node: SKNode, offset radians: SKRange) -> Self |
To | class func orient(to point: CGPoint, in node: SKNode, offset radians: SKRange) -> Self |
Declaration | |
---|---|
From | class func orientToPoint(_ point: CGPoint, offset radians: SKRange) -> Self |
To | class func orient(to point: CGPoint, offset radians: SKRange) -> Self |
Declaration | |
---|---|
From | class func orientToNode(_ node: SKNode, offset radians: SKRange) -> Self |
To | class func orient(to node: SKNode, offset radians: SKRange) -> Self |
Modified SKEffectNode
Declaration | Protocols | |
---|---|---|
From | class SKEffectNode : SKNode { var filter: CIFilter? var shouldCenterFilter: Bool var shouldEnableEffects: Bool var shouldRasterize: Bool var blendMode: SKBlendMode var shader: SKShader? } | -- |
To | class SKEffectNode : SKNode, SKWarpable { var filter: CIFilter? var shouldCenterFilter: Bool var shouldEnableEffects: Bool var shouldRasterize: Bool var blendMode: SKBlendMode var shader: SKShader? } | SKWarpable |
Modified SKEmitterNode
Declaration | |
---|---|
From | class SKEmitterNode : SKNode { func advanceSimulationTime(_ sec: NSTimeInterval) func resetSimulation() var particleTexture: SKTexture? var particleBlendMode: SKBlendMode var particleColor: UIColor var particleColorRedRange: CGFloat var particleColorGreenRange: CGFloat var particleColorBlueRange: CGFloat var particleColorAlphaRange: CGFloat var particleColorRedSpeed: CGFloat var particleColorGreenSpeed: CGFloat var particleColorBlueSpeed: CGFloat var particleColorAlphaSpeed: CGFloat var particleColorSequence: SKKeyframeSequence? var particleColorBlendFactor: CGFloat var particleColorBlendFactorRange: CGFloat var particleColorBlendFactorSpeed: CGFloat var particleColorBlendFactorSequence: SKKeyframeSequence? var particlePosition: CGPoint var particlePositionRange: CGVector var particleSpeed: CGFloat var particleSpeedRange: CGFloat var emissionAngle: CGFloat var emissionAngleRange: CGFloat var xAcceleration: CGFloat var yAcceleration: CGFloat var particleBirthRate: CGFloat var numParticlesToEmit: Int var particleLifetime: CGFloat var particleLifetimeRange: CGFloat var particleRotation: CGFloat var particleRotationRange: CGFloat var particleRotationSpeed: CGFloat var particleSize: CGSize var particleScale: CGFloat var particleScaleRange: CGFloat var particleScaleSpeed: CGFloat var particleScaleSequence: SKKeyframeSequence? var particleAlpha: CGFloat var particleAlphaRange: CGFloat var particleAlphaSpeed: CGFloat var particleAlphaSequence: SKKeyframeSequence? @NSCopying var particleAction: SKAction? var fieldBitMask: UInt32 weak var targetNode: SKNode? var shader: SKShader? var particleZPosition: CGFloat var particleRenderOrder: SKParticleRenderOrder var particleZPositionRange: CGFloat var particleZPositionSpeed: CGFloat } |
To | class SKEmitterNode : SKNode { func advanceSimulationTime(_ sec: TimeInterval) func resetSimulation() var particleTexture: SKTexture? var particleBlendMode: SKBlendMode var particleColor: UIColor var particleColorRedRange: CGFloat var particleColorGreenRange: CGFloat var particleColorBlueRange: CGFloat var particleColorAlphaRange: CGFloat var particleColorRedSpeed: CGFloat var particleColorGreenSpeed: CGFloat var particleColorBlueSpeed: CGFloat var particleColorAlphaSpeed: CGFloat var particleColorSequence: SKKeyframeSequence? var particleColorBlendFactor: CGFloat var particleColorBlendFactorRange: CGFloat var particleColorBlendFactorSpeed: CGFloat var particleColorBlendFactorSequence: SKKeyframeSequence? var particlePosition: CGPoint var particlePositionRange: CGVector var particleSpeed: CGFloat var particleSpeedRange: CGFloat var emissionAngle: CGFloat var emissionAngleRange: CGFloat var xAcceleration: CGFloat var yAcceleration: CGFloat var particleBirthRate: CGFloat var numParticlesToEmit: Int var particleLifetime: CGFloat var particleLifetimeRange: CGFloat var particleRotation: CGFloat var particleRotationRange: CGFloat var particleRotationSpeed: CGFloat var particleSize: CGSize var particleScale: CGFloat var particleScaleRange: CGFloat var particleScaleSpeed: CGFloat var particleScaleSequence: SKKeyframeSequence? var particleAlpha: CGFloat var particleAlphaRange: CGFloat var particleAlphaSpeed: CGFloat var particleAlphaSequence: SKKeyframeSequence? @NSCopying var particleAction: SKAction? var fieldBitMask: UInt32 weak var targetNode: SKNode? var shader: SKShader? var particleZPosition: CGFloat var particleRenderOrder: SKParticleRenderOrder var particleZPositionRange: CGFloat var particleZPositionSpeed: CGFloat } |
Declaration | |
---|---|
From | func advanceSimulationTime(_ sec: NSTimeInterval) |
To | func advanceSimulationTime(_ sec: TimeInterval) |
Modified SKFieldNode
Declaration | |
---|---|
From | class SKFieldNode : SKNode { var region: SKRegion? var strength: Float var falloff: Float var minimumRadius: Float var enabled: Bool var exclusive: Bool var categoryBitMask: UInt32 var direction: vector_float3 var smoothness: Float var animationSpeed: Float var texture: SKTexture? class func dragField() -> SKFieldNode class func vortexField() -> SKFieldNode class func radialGravityField() -> SKFieldNode class func linearGravityFieldWithVector(_ direction: vector_float3) -> SKFieldNode class func velocityFieldWithVector(_ direction: vector_float3) -> SKFieldNode class func velocityFieldWithTexture(_ velocityTexture: SKTexture) -> SKFieldNode class func noiseFieldWithSmoothness(_ smoothness: CGFloat, animationSpeed speed: CGFloat) -> SKFieldNode class func turbulenceFieldWithSmoothness(_ smoothness: CGFloat, animationSpeed speed: CGFloat) -> SKFieldNode class func springField() -> SKFieldNode class func electricField() -> SKFieldNode class func magneticField() -> SKFieldNode class func customFieldWithEvaluationBlock(_ block: SKFieldForceEvaluator) -> SKFieldNode } |
To | class SKFieldNode : SKNode { var region: SKRegion? var strength: Float var falloff: Float var minimumRadius: Float var isEnabled: Bool var isExclusive: Bool var categoryBitMask: UInt32 var direction: vector_float3 var smoothness: Float var animationSpeed: Float var texture: SKTexture? class func dragField() -> SKFieldNode class func vortexField() -> SKFieldNode class func radialGravityField() -> SKFieldNode class func linearGravityField(withVector direction: vector_float3) -> SKFieldNode class func velocityField(withVector direction: vector_float3) -> SKFieldNode class func velocityField(with velocityTexture: SKTexture) -> SKFieldNode class func noiseField(withSmoothness smoothness: CGFloat, animationSpeed speed: CGFloat) -> SKFieldNode class func turbulenceField(withSmoothness smoothness: CGFloat, animationSpeed speed: CGFloat) -> SKFieldNode class func springField() -> SKFieldNode class func electricField() -> SKFieldNode class func magneticField() -> SKFieldNode class func customField(evaluationBlock block: SpriteKit.SKFieldForceEvaluator) -> SKFieldNode } |
Modified SKFieldNode.customField(evaluationBlock: SpriteKit.SKFieldForceEvaluator) -> SKFieldNode [class]
Declaration | |
---|---|
From | class func customFieldWithEvaluationBlock(_ block: SKFieldForceEvaluator) -> SKFieldNode |
To | class func customField(evaluationBlock block: SpriteKit.SKFieldForceEvaluator) -> SKFieldNode |
Modified SKFieldNode.isEnabled
Declaration | |
---|---|
From | var enabled: Bool |
To | var isEnabled: Bool |
Modified SKFieldNode.isExclusive
Declaration | |
---|---|
From | var exclusive: Bool |
To | var isExclusive: Bool |
Declaration | |
---|---|
From | class func linearGravityFieldWithVector(_ direction: vector_float3) -> SKFieldNode |
To | class func linearGravityField(withVector direction: vector_float3) -> SKFieldNode |
Modified SKFieldNode.noiseField(withSmoothness: CGFloat, animationSpeed: CGFloat) -> SKFieldNode [class]
Declaration | |
---|---|
From | class func noiseFieldWithSmoothness(_ smoothness: CGFloat, animationSpeed speed: CGFloat) -> SKFieldNode |
To | class func noiseField(withSmoothness smoothness: CGFloat, animationSpeed speed: CGFloat) -> SKFieldNode |
Modified SKFieldNode.turbulenceField(withSmoothness: CGFloat, animationSpeed: CGFloat) -> SKFieldNode [class]
Declaration | |
---|---|
From | class func turbulenceFieldWithSmoothness(_ smoothness: CGFloat, animationSpeed speed: CGFloat) -> SKFieldNode |
To | class func turbulenceField(withSmoothness smoothness: CGFloat, animationSpeed speed: CGFloat) -> SKFieldNode |
Declaration | |
---|---|
From | class func velocityFieldWithTexture(_ velocityTexture: SKTexture) -> SKFieldNode |
To | class func velocityField(with velocityTexture: SKTexture) -> SKFieldNode |
Declaration | |
---|---|
From | class func velocityFieldWithVector(_ direction: vector_float3) -> SKFieldNode |
To | class func velocityField(withVector direction: vector_float3) -> SKFieldNode |
Modified SKInterpolationMode [enum]
Declaration | |
---|---|
From | enum SKInterpolationMode : Int { case Linear case Spline case Step } |
To | enum SKInterpolationMode : Int { case linear case spline case step } |
Modified SKInterpolationMode.linear
Declaration | |
---|---|
From | case Linear |
To | case linear |
Modified SKInterpolationMode.spline
Declaration | |
---|---|
From | case Spline |
To | case spline |
Modified SKInterpolationMode.step
Declaration | |
---|---|
From | case Step |
To | case step |
Modified SKKeyframeSequence
Declaration | Protocols | |
---|---|---|
From | class SKKeyframeSequence : NSObject, NSCoding, NSCopying { init(keyframeValues values: [AnyObject], times times: [NSNumber]) convenience init(capacity numItems: Int) init?(coder aDecoder: NSCoder) func count() -> Int func addKeyframeValue(_ value: AnyObject, time time: CGFloat) func removeLastKeyframe() func removeKeyframeAtIndex(_ index: Int) func setKeyframeValue(_ value: AnyObject, forIndex index: Int) func setKeyframeTime(_ time: CGFloat, forIndex index: Int) func setKeyframeValue(_ value: AnyObject, time time: CGFloat, forIndex index: Int) func getKeyframeValueForIndex(_ index: Int) -> AnyObject func getKeyframeTimeForIndex(_ index: Int) -> CGFloat func sampleAtTime(_ time: CGFloat) -> AnyObject? var interpolationMode: SKInterpolationMode var repeatMode: SKRepeatMode } | NSCoding, NSCopying |
To | class SKKeyframeSequence : NSObject, NSCoding, NSCopying { init(keyframeValues values: [Any], times times: [NSNumber]) convenience init(capacity numItems: Int) init?(coder aDecoder: NSCoder) func count() -> Int func addKeyframeValue(_ value: Any, time time: CGFloat) func removeLastKeyframe() func removeKeyframe(at index: Int) func setKeyframeValue(_ value: Any, for index: Int) func setKeyframeTime(_ time: CGFloat, for index: Int) func setKeyframeValue(_ value: Any, time time: CGFloat, for index: Int) func getKeyframeValue(for index: Int) -> Any func getKeyframeTime(for index: Int) -> CGFloat func sample(atTime time: CGFloat) -> Any? var interpolationMode: SKInterpolationMode var repeatMode: SKRepeatMode func awakeFromNib() func prepareForInterfaceBuilder() func accessibilityActivate() -> Bool func accessibilityIncrement() func accessibilityDecrement() func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool func accessibilityPerformEscape() -> Bool func accessibilityPerformMagicTap() -> Bool var accessibilityCustomActions: [UIAccessibilityCustomAction]? func accessibilityElementDidBecomeFocused() func accessibilityElementDidLoseFocus() func accessibilityElementIsFocused() -> Bool func accessibilityAssistiveTechnologyFocusedIdentifiers() -> Set<String>? func accessibilityElementCount() -> Int func accessibilityElement(at index: Int) -> Any? func index(ofAccessibilityElement element: Any) -> Int var accessibilityElements: [Any]? var isAccessibilityElement: Bool var accessibilityLabel: String? var accessibilityHint: String? var accessibilityValue: String? var accessibilityTraits: UIAccessibilityTraits var accessibilityFrame: CGRect @NSCopying var accessibilityPath: UIBezierPath? var accessibilityActivationPoint: CGPoint var accessibilityLanguage: String? var accessibilityElementsHidden: Bool var accessibilityViewIsModal: Bool var shouldGroupAccessibilityChildren: Bool var accessibilityNavigationStyle: UIAccessibilityNavigationStyle var accessibilityHeaderElements: [Any]? var accessibilityCustomRotors: [UIAccessibilityCustomRotor]? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension SKKeyframeSequence : CVarArg { } extension SKKeyframeSequence : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCoding, NSCopying |
Declaration | |
---|---|
From | func addKeyframeValue(_ value: AnyObject, time time: CGFloat) |
To | func addKeyframeValue(_ value: Any, time time: CGFloat) |
Declaration | |
---|---|
From | func getKeyframeTimeForIndex(_ index: Int) -> CGFloat |
To | func getKeyframeTime(for index: Int) -> CGFloat |
Declaration | |
---|---|
From | func getKeyframeValueForIndex(_ index: Int) -> AnyObject |
To | func getKeyframeValue(for index: Int) -> Any |
Declaration | |
---|---|
From | init(keyframeValues values: [AnyObject], times times: [NSNumber]) |
To | init(keyframeValues values: [Any], times times: [NSNumber]) |
Declaration | |
---|---|
From | func removeKeyframeAtIndex(_ index: Int) |
To | func removeKeyframe(at index: Int) |
Declaration | |
---|---|
From | func sampleAtTime(_ time: CGFloat) -> AnyObject? |
To | func sample(atTime time: CGFloat) -> Any? |
Declaration | |
---|---|
From | func setKeyframeTime(_ time: CGFloat, forIndex index: Int) |
To | func setKeyframeTime(_ time: CGFloat, for index: Int) |
Declaration | |
---|---|
From | func setKeyframeValue(_ value: AnyObject, forIndex index: Int) |
To | func setKeyframeValue(_ value: Any, for index: Int) |
Declaration | |
---|---|
From | func setKeyframeValue(_ value: AnyObject, time time: CGFloat, forIndex index: Int) |
To | func setKeyframeValue(_ value: Any, time time: CGFloat, for index: Int) |
Declaration | |
---|---|
From | enum SKLabelHorizontalAlignmentMode : Int { case Center case Left case Right } |
To | enum SKLabelHorizontalAlignmentMode : Int { case center case left case right } |
Declaration | |
---|---|
From | case Center |
To | case center |
Modified SKLabelHorizontalAlignmentMode.left
Declaration | |
---|---|
From | case Left |
To | case left |
Modified SKLabelHorizontalAlignmentMode.right
Declaration | |
---|---|
From | case Right |
To | case right |
Modified SKLabelNode
Declaration | |
---|---|
From | class SKLabelNode : SKNode { convenience init(text text: String?) class func labelNodeWithText(_ text: String?) -> Self convenience init(fontNamed fontName: String?) class func labelNodeWithFontNamed(_ fontName: String?) -> Self init(fontNamed fontName: String?) var verticalAlignmentMode: SKLabelVerticalAlignmentMode var horizontalAlignmentMode: SKLabelHorizontalAlignmentMode var fontName: String? var text: String? var fontSize: CGFloat var fontColor: UIColor? var colorBlendFactor: CGFloat var color: UIColor? var blendMode: SKBlendMode } |
To | class SKLabelNode : SKNode { convenience init(text text: String?) class func withText(_ text: String?) -> Self convenience init(fontNamed fontName: String?) class func withFontNamed(_ fontName: String?) -> Self init(fontNamed fontName: String?) var verticalAlignmentMode: SKLabelVerticalAlignmentMode var horizontalAlignmentMode: SKLabelHorizontalAlignmentMode var fontName: String? var text: String? var fontSize: CGFloat var fontColor: UIColor? var colorBlendFactor: CGFloat var color: UIColor? var blendMode: SKBlendMode } |
Modified SKLabelVerticalAlignmentMode [enum]
Declaration | |
---|---|
From | enum SKLabelVerticalAlignmentMode : Int { case Baseline case Center case Top case Bottom } |
To | enum SKLabelVerticalAlignmentMode : Int { case baseline case center case top case bottom } |
Declaration | |
---|---|
From | case Baseline |
To | case baseline |
Modified SKLabelVerticalAlignmentMode.bottom
Declaration | |
---|---|
From | case Bottom |
To | case bottom |
Modified SKLabelVerticalAlignmentMode.center
Declaration | |
---|---|
From | case Center |
To | case center |
Modified SKLabelVerticalAlignmentMode.top
Declaration | |
---|---|
From | case Top |
To | case top |
Modified SKLightNode
Declaration | |
---|---|
From | class SKLightNode : SKNode { var enabled: Bool var lightColor: UIColor var ambientColor: UIColor var shadowColor: UIColor var falloff: CGFloat var categoryBitMask: UInt32 } |
To | class SKLightNode : SKNode { var isEnabled: Bool var lightColor: UIColor var ambientColor: UIColor var shadowColor: UIColor var falloff: CGFloat var categoryBitMask: UInt32 } |
Modified SKLightNode.isEnabled
Declaration | |
---|---|
From | var enabled: Bool |
To | var isEnabled: Bool |
Modified SKMutableTexture
Declaration | Protocols | |
---|---|---|
From | class SKMutableTexture : SKTexture { init(size size: CGSize) class func mutableTextureWithSize(_ size: CGSize) -> Self init(size size: CGSize, pixelFormat format: Int32) func modifyPixelDataWithBlock(_ block: (UnsafeMutablePointer<Void>, Int) -> Void) } | -- |
To | class SKMutableTexture : SKTexture { init(size size: CGSize) class func withSize(_ size: CGSize) -> Self init(size size: CGSize, pixelFormat format: Int32) func modifyPixelData(_ block: @escaping (UnsafeMutableRawPointer?, Int) -> Swift.Void) func awakeFromNib() func prepareForInterfaceBuilder() func accessibilityActivate() -> Bool func accessibilityIncrement() func accessibilityDecrement() func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool func accessibilityPerformEscape() -> Bool func accessibilityPerformMagicTap() -> Bool var accessibilityCustomActions: [UIAccessibilityCustomAction]? func accessibilityElementDidBecomeFocused() func accessibilityElementDidLoseFocus() func accessibilityElementIsFocused() -> Bool func accessibilityAssistiveTechnologyFocusedIdentifiers() -> Set<String>? func accessibilityElementCount() -> Int func accessibilityElement(at index: Int) -> Any? func index(ofAccessibilityElement element: Any) -> Int var accessibilityElements: [Any]? var isAccessibilityElement: Bool var accessibilityLabel: String? var accessibilityHint: String? var accessibilityValue: String? var accessibilityTraits: UIAccessibilityTraits var accessibilityFrame: CGRect @NSCopying var accessibilityPath: UIBezierPath? var accessibilityActivationPoint: CGPoint var accessibilityLanguage: String? var accessibilityElementsHidden: Bool var accessibilityViewIsModal: Bool var shouldGroupAccessibilityChildren: Bool var accessibilityNavigationStyle: UIAccessibilityNavigationStyle var accessibilityHeaderElements: [Any]? var accessibilityCustomRotors: [UIAccessibilityCustomRotor]? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension SKMutableTexture : CustomPlaygroundQuickLookable { var customPlaygroundQuickLook: PlaygroundQuickLook { get } } extension SKMutableTexture : CVarArg { } extension SKMutableTexture : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, CustomPlaygroundQuickLookable, Equatable, Hashable |
Declaration | |
---|---|
From | func modifyPixelDataWithBlock(_ block: (UnsafeMutablePointer<Void>, Int) -> Void) |
To | func modifyPixelData(_ block: @escaping (UnsafeMutableRawPointer?, Int) -> Swift.Void) |
Modified SKNode
Declaration | Protocols | |
---|---|---|
From | class SKNode : UIResponder, NSCopying, NSCoding { init() init?(coder aDecoder: NSCoder) class func node() -> Self convenience init?(fileNamed filename: String) class func nodeWithFileNamed(_ filename: String) -> Self? var frame: CGRect { get } func calculateAccumulatedFrame() -> CGRect var position: CGPoint var zPosition: CGFloat var zRotation: CGFloat var xScale: CGFloat var yScale: CGFloat var speed: CGFloat var alpha: CGFloat var paused: Bool var hidden: Bool var userInteractionEnabled: Bool var parent: SKNode? { get } var children: [SKNode] { get } var name: String? var scene: SKScene? { get } var physicsBody: SKPhysicsBody? var userData: NSMutableDictionary? @NSCopying var reachConstraints: SKReachConstraints? var constraints: [SKConstraint]? func setScale(_ scale: CGFloat) func addChild(_ node: SKNode) func insertChild(_ node: SKNode, atIndex index: Int) func removeChildrenInArray(_ nodes: [SKNode]) func removeAllChildren() func removeFromParent() func moveToParent(_ parent: SKNode) func childNodeWithName(_ name: String) -> SKNode? func enumerateChildNodesWithName(_ name: String, usingBlock block: (SKNode, UnsafeMutablePointer<ObjCBool>) -> Void) subscript (_ name: String) -> [SKNode] { get } func objectForKeyedSubscript(_ name: String) -> [SKNode] func inParentHierarchy(_ parent: SKNode) -> Bool func runAction(_ action: SKAction) func runAction(_ action: SKAction, completion block: () -> Void) func runAction(_ action: SKAction, withKey key: String) func hasActions() -> Bool func actionForKey(_ key: String) -> SKAction? func removeActionForKey(_ key: String) func removeAllActions() func containsPoint(_ p: CGPoint) -> Bool func nodeAtPoint(_ p: CGPoint) -> SKNode func nodesAtPoint(_ p: CGPoint) -> [SKNode] func convertPoint(_ point: CGPoint, fromNode node: SKNode) -> CGPoint func convertPoint(_ point: CGPoint, toNode node: SKNode) -> CGPoint func intersectsNode(_ node: SKNode) -> Bool func isEqualToNode(_ node: SKNode) -> Bool class func obstaclesFromSpriteTextures(_ sprites: [SKNode], accuracy accuracy: Float) -> [GKPolygonObstacle] class func obstaclesFromNodeBounds(_ nodes: [SKNode]) -> [GKPolygonObstacle] class func obstaclesFromNodePhysicsBodies(_ nodes: [SKNode]) -> [GKPolygonObstacle] } | NSCoding, NSCopying |
To | class SKNode : UIResponder, NSCopying, NSCoding, UIFocusItem { init() init?(coder aDecoder: NSCoder) class func node() -> Self convenience init?(fileNamed filename: String) class func withFileNamed(_ filename: String) -> Self? var frame: CGRect { get } func calculateAccumulatedFrame() -> CGRect var position: CGPoint var zPosition: CGFloat var zRotation: CGFloat var xScale: CGFloat var yScale: CGFloat var speed: CGFloat var alpha: CGFloat var isPaused: Bool var isHidden: Bool var isUserInteractionEnabled: Bool var parent: SKNode? { get } var children: [SKNode] { get } var name: String? var scene: SKScene? { get } var physicsBody: SKPhysicsBody? var userData: NSMutableDictionary? @NSCopying var reachConstraints: SKReachConstraints? var constraints: [SKConstraint]? var attributeValues: [String : SKAttributeValue] func value(forAttributeNamed key: String) -> SKAttributeValue? func setValue(_ value: SKAttributeValue, forAttribute key: String) func setScale(_ scale: CGFloat) func addChild(_ node: SKNode) func insertChild(_ node: SKNode, at index: Int) func removeChildren(in nodes: [SKNode]) func removeAllChildren() func removeFromParent() func move(toParent parent: SKNode) func childNode(withName name: String) -> SKNode? func enumerateChildNodes(withName name: String, using block: @escaping (SKNode, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) subscript(_ name: String) -> [SKNode] { get } func objectForKeyedSubscript(_ name: String) -> [SKNode] func inParentHierarchy(_ parent: SKNode) -> Bool func run(_ action: SKAction) func run(_ action: SKAction, completion block: @escaping () -> Swift.Void) func run(_ action: SKAction, withKey key: String) func hasActions() -> Bool func action(forKey key: String) -> SKAction? func removeAction(forKey key: String) func removeAllActions() func contains(_ p: CGPoint) -> Bool func atPoint(_ p: CGPoint) -> SKNode func nodes(at p: CGPoint) -> [SKNode] func convert(_ point: CGPoint, from node: SKNode) -> CGPoint func convert(_ point: CGPoint, to node: SKNode) -> CGPoint func intersects(_ node: SKNode) -> Bool func isEqual(to node: SKNode) -> Bool var userActivity: NSUserActivity? func updateUserActivityState(_ activity: NSUserActivity) func restoreUserActivityState(_ activity: NSUserActivity) var inputView: UIView? { get } var inputAccessoryView: UIView? { get } var inputAssistantItem: UITextInputAssistantItem { get } var inputViewController: UIInputViewController? { get } var inputAccessoryViewController: UIInputViewController? { get } var textInputMode: UITextInputMode? { get } var textInputContextIdentifier: String? { get } class func clearTextInputContextIdentifier(_ identifier: String) func reloadInputViews() var keyCommands: [UIKeyCommand]? { get } func awakeFromNib() func prepareForInterfaceBuilder() func accessibilityActivate() -> Bool func accessibilityIncrement() func accessibilityDecrement() func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool func accessibilityPerformEscape() -> Bool func accessibilityPerformMagicTap() -> Bool var accessibilityCustomActions: [UIAccessibilityCustomAction]? func accessibilityElementDidBecomeFocused() func accessibilityElementDidLoseFocus() func accessibilityElementIsFocused() -> Bool func accessibilityAssistiveTechnologyFocusedIdentifiers() -> Set<String>? func accessibilityElementCount() -> Int func accessibilityElement(at index: Int) -> Any? func index(ofAccessibilityElement element: Any) -> Int var accessibilityElements: [Any]? var isAccessibilityElement: Bool var accessibilityLabel: String? var accessibilityHint: String? var accessibilityValue: String? var accessibilityTraits: UIAccessibilityTraits var accessibilityFrame: CGRect @NSCopying var accessibilityPath: UIBezierPath? var accessibilityActivationPoint: CGPoint var accessibilityLanguage: String? var accessibilityElementsHidden: Bool var accessibilityViewIsModal: Bool var shouldGroupAccessibilityChildren: Bool var accessibilityNavigationStyle: UIAccessibilityNavigationStyle var accessibilityHeaderElements: [Any]? var accessibilityCustomRotors: [UIAccessibilityCustomRotor]? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension SKNode { class func obstacles(fromSpriteTextures sprites: [SKNode], accuracy accuracy: Float) -> [GKPolygonObstacle] class func obstacles(fromNodeBounds nodes: [SKNode]) -> [GKPolygonObstacle] class func obstacles(fromNodePhysicsBodies nodes: [SKNode]) -> [GKPolygonObstacle] weak var entity: GKEntity? } extension SKNode : CVarArg { } extension SKNode : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCoding, NSCopying, UIFocusItem |
Declaration | |
---|---|
From | func actionForKey(_ key: String) -> SKAction? |
To | func action(forKey key: String) -> SKAction? |
Modified SKNode.atPoint(_: CGPoint) -> SKNode
Declaration | |
---|---|
From | func nodeAtPoint(_ p: CGPoint) -> SKNode |
To | func atPoint(_ p: CGPoint) -> SKNode |
Declaration | |
---|---|
From | func childNodeWithName(_ name: String) -> SKNode? |
To | func childNode(withName name: String) -> SKNode? |
Modified SKNode.contains(_: CGPoint) -> Bool
Declaration | |
---|---|
From | func containsPoint(_ p: CGPoint) -> Bool |
To | func contains(_ p: CGPoint) -> Bool |
Declaration | |
---|---|
From | func convertPoint(_ point: CGPoint, fromNode node: SKNode) -> CGPoint |
To | func convert(_ point: CGPoint, from node: SKNode) -> CGPoint |
Declaration | |
---|---|
From | func convertPoint(_ point: CGPoint, toNode node: SKNode) -> CGPoint |
To | func convert(_ point: CGPoint, to node: SKNode) -> CGPoint |
Declaration | |
---|---|
From | func enumerateChildNodesWithName(_ name: String, usingBlock block: (SKNode, UnsafeMutablePointer<ObjCBool>) -> Void) |
To | func enumerateChildNodes(withName name: String, using block: @escaping (SKNode, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) |
Declaration | |
---|---|
From | func insertChild(_ node: SKNode, atIndex index: Int) |
To | func insertChild(_ node: SKNode, at index: Int) |
Modified SKNode.intersects(_: SKNode) -> Bool
Declaration | |
---|---|
From | func intersectsNode(_ node: SKNode) -> Bool |
To | func intersects(_ node: SKNode) -> Bool |
Modified SKNode.isEqual(to: SKNode) -> Bool
Declaration | |
---|---|
From | func isEqualToNode(_ node: SKNode) -> Bool |
To | func isEqual(to node: SKNode) -> Bool |
Modified SKNode.isHidden
Declaration | |
---|---|
From | var hidden: Bool |
To | var isHidden: Bool |
Modified SKNode.isPaused
Declaration | |
---|---|
From | var paused: Bool |
To | var isPaused: Bool |
Modified SKNode.isUserInteractionEnabled
Declaration | |
---|---|
From | var userInteractionEnabled: Bool |
To | var isUserInteractionEnabled: Bool |
Modified SKNode.move(toParent: SKNode)
Declaration | |
---|---|
From | func moveToParent(_ parent: SKNode) |
To | func move(toParent parent: SKNode) |
Declaration | |
---|---|
From | func nodesAtPoint(_ p: CGPoint) -> [SKNode] |
To | func nodes(at p: CGPoint) -> [SKNode] |
Declaration | Module | |
---|---|---|
From | class func obstaclesFromNodeBounds(_ nodes: [SKNode]) -> [GKPolygonObstacle] | SpriteKit |
To | class func obstacles(fromNodeBounds nodes: [SKNode]) -> [GKPolygonObstacle] | GameplayKit |
Declaration | Module | |
---|---|---|
From | class func obstaclesFromNodePhysicsBodies(_ nodes: [SKNode]) -> [GKPolygonObstacle] | SpriteKit |
To | class func obstacles(fromNodePhysicsBodies nodes: [SKNode]) -> [GKPolygonObstacle] | GameplayKit |
Modified SKNode.obstacles(fromSpriteTextures: [SKNode], accuracy: Float) -> [GKPolygonObstacle] [class]
Declaration | Module | |
---|---|---|
From | class func obstaclesFromSpriteTextures(_ sprites: [SKNode], accuracy accuracy: Float) -> [GKPolygonObstacle] | SpriteKit |
To | class func obstacles(fromSpriteTextures sprites: [SKNode], accuracy accuracy: Float) -> [GKPolygonObstacle] | GameplayKit |
Modified SKNode.removeAction(forKey: String)
Declaration | |
---|---|
From | func removeActionForKey(_ key: String) |
To | func removeAction(forKey key: String) |
Modified SKNode.removeChildren(in: [SKNode])
Declaration | |
---|---|
From | func removeChildrenInArray(_ nodes: [SKNode]) |
To | func removeChildren(in nodes: [SKNode]) |
Modified SKNode.run(_: SKAction)
Declaration | |
---|---|
From | func runAction(_ action: SKAction) |
To | func run(_ action: SKAction) |
Declaration | |
---|---|
From | func runAction(_ action: SKAction, completion block: () -> Void) |
To | func run(_ action: SKAction, completion block: @escaping () -> Swift.Void) |
Declaration | |
---|---|
From | func runAction(_ action: SKAction, withKey key: String) |
To | func run(_ action: SKAction, withKey key: String) |
Declaration | |
---|---|
From | subscript (_ name: String) -> [SKNode] { get } |
To | subscript(_ name: String) -> [SKNode] { get } |
Modified SKParticleRenderOrder [enum]
Declaration | |
---|---|
From | enum SKParticleRenderOrder : UInt { case OldestLast case OldestFirst case DontCare } |
To | enum SKParticleRenderOrder : UInt { case oldestLast case oldestFirst case dontCare } |
Modified SKParticleRenderOrder.dontCare
Declaration | |
---|---|
From | case DontCare |
To | case dontCare |
Modified SKParticleRenderOrder.oldestFirst
Declaration | |
---|---|
From | case OldestFirst |
To | case oldestFirst |
Modified SKParticleRenderOrder.oldestLast
Declaration | |
---|---|
From | case OldestLast |
To | case oldestLast |
Modified SKPhysicsBody
Declaration | Protocols | |
---|---|---|
From | class SKPhysicsBody : NSObject, NSCopying, NSCoding { init(circleOfRadius r: CGFloat) class func bodyWithCircleOfRadius(_ r: CGFloat) -> SKPhysicsBody init(circleOfRadius r: CGFloat, center center: CGPoint) class func bodyWithCircleOfRadius(_ r: CGFloat, center center: CGPoint) -> SKPhysicsBody init(rectangleOfSize s: CGSize) class func bodyWithRectangleOfSize(_ s: CGSize) -> SKPhysicsBody init(rectangleOfSize s: CGSize, center center: CGPoint) class func bodyWithRectangleOfSize(_ s: CGSize, center center: CGPoint) -> SKPhysicsBody init(polygonFromPath path: CGPath) class func bodyWithPolygonFromPath(_ path: CGPath) -> SKPhysicsBody init(edgeFromPoint p1: CGPoint, toPoint p2: CGPoint) class func bodyWithEdgeFromPoint(_ p1: CGPoint, toPoint p2: CGPoint) -> SKPhysicsBody init(edgeChainFromPath path: CGPath) class func bodyWithEdgeChainFromPath(_ path: CGPath) -> SKPhysicsBody init(edgeLoopFromPath path: CGPath) class func bodyWithEdgeLoopFromPath(_ path: CGPath) -> SKPhysicsBody init(edgeLoopFromRect rect: CGRect) class func bodyWithEdgeLoopFromRect(_ rect: CGRect) -> SKPhysicsBody init(texture texture: SKTexture, size size: CGSize) class func bodyWithTexture(_ texture: SKTexture, size size: CGSize) -> SKPhysicsBody init(texture texture: SKTexture, alphaThreshold alphaThreshold: Float, size size: CGSize) class func bodyWithTexture(_ texture: SKTexture, alphaThreshold alphaThreshold: Float, size size: CGSize) -> SKPhysicsBody init(bodies bodies: [SKPhysicsBody]) class func bodyWithBodies(_ bodies: [SKPhysicsBody]) -> SKPhysicsBody var dynamic: Bool var usesPreciseCollisionDetection: Bool var allowsRotation: Bool var pinned: Bool var resting: Bool var friction: CGFloat var charge: CGFloat var restitution: CGFloat var linearDamping: CGFloat var angularDamping: CGFloat var density: CGFloat var mass: CGFloat var area: CGFloat { get } var affectedByGravity: Bool var fieldBitMask: UInt32 var categoryBitMask: UInt32 var collisionBitMask: UInt32 var contactTestBitMask: UInt32 var joints: [SKPhysicsJoint] { get } weak var node: SKNode? { get } var velocity: CGVector var angularVelocity: CGFloat func applyForce(_ force: CGVector) func applyForce(_ force: CGVector, atPoint point: CGPoint) func applyTorque(_ torque: CGFloat) func applyImpulse(_ impulse: CGVector) func applyImpulse(_ impulse: CGVector, atPoint point: CGPoint) func applyAngularImpulse(_ impulse: CGFloat) func allContactedBodies() -> [SKPhysicsBody] } | NSCoding, NSCopying |
To | class SKPhysicsBody : NSObject, NSCopying, NSCoding { init(circleOfRadius r: CGFloat) class func withCircleOfRadius(_ r: CGFloat) -> SKPhysicsBody init(circleOfRadius r: CGFloat, center center: CGPoint) class func withCircleOfRadius(_ r: CGFloat, center center: CGPoint) -> SKPhysicsBody init(rectangleOf s: CGSize) class func withRectangleOf(_ s: CGSize) -> SKPhysicsBody init(rectangleOf s: CGSize, center center: CGPoint) class func withRectangleOf(_ s: CGSize, center center: CGPoint) -> SKPhysicsBody init(polygonFrom path: CGPath) class func withPolygonFrom(_ path: CGPath) -> SKPhysicsBody init(edgeFrom p1: CGPoint, to p2: CGPoint) class func withEdgeFrom(_ p1: CGPoint, to p2: CGPoint) -> SKPhysicsBody init(edgeChainFrom path: CGPath) class func withEdgeChain(from path: CGPath) -> SKPhysicsBody init(edgeLoopFrom path: CGPath) class func withEdgeLoop(from path: CGPath) -> SKPhysicsBody init(edgeLoopFrom rect: CGRect) class func withEdgeLoop(from rect: CGRect) -> SKPhysicsBody init(texture texture: SKTexture, size size: CGSize) class func withTexture(_ texture: SKTexture, size size: CGSize) -> SKPhysicsBody init(texture texture: SKTexture, alphaThreshold alphaThreshold: Float, size size: CGSize) class func withTexture(_ texture: SKTexture, alphaThreshold alphaThreshold: Float, size size: CGSize) -> SKPhysicsBody init(bodies bodies: [SKPhysicsBody]) class func withBodies(_ bodies: [SKPhysicsBody]) -> SKPhysicsBody var isDynamic: Bool var usesPreciseCollisionDetection: Bool var allowsRotation: Bool var pinned: Bool var isResting: Bool var friction: CGFloat var charge: CGFloat var restitution: CGFloat var linearDamping: CGFloat var angularDamping: CGFloat var density: CGFloat var mass: CGFloat var area: CGFloat { get } var affectedByGravity: Bool var fieldBitMask: UInt32 var categoryBitMask: UInt32 var collisionBitMask: UInt32 var contactTestBitMask: UInt32 var joints: [SKPhysicsJoint] { get } weak var node: SKNode? { get } var velocity: CGVector var angularVelocity: CGFloat func applyForce(_ force: CGVector) func applyForce(_ force: CGVector, at point: CGPoint) func applyTorque(_ torque: CGFloat) func applyImpulse(_ impulse: CGVector) func applyImpulse(_ impulse: CGVector, at point: CGPoint) func applyAngularImpulse(_ impulse: CGFloat) func allContactedBodies() -> [SKPhysicsBody] func awakeFromNib() func prepareForInterfaceBuilder() func accessibilityActivate() -> Bool func accessibilityIncrement() func accessibilityDecrement() func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool func accessibilityPerformEscape() -> Bool func accessibilityPerformMagicTap() -> Bool var accessibilityCustomActions: [UIAccessibilityCustomAction]? func accessibilityElementDidBecomeFocused() func accessibilityElementDidLoseFocus() func accessibilityElementIsFocused() -> Bool func accessibilityAssistiveTechnologyFocusedIdentifiers() -> Set<String>? func accessibilityElementCount() -> Int func accessibilityElement(at index: Int) -> Any? func index(ofAccessibilityElement element: Any) -> Int var accessibilityElements: [Any]? var isAccessibilityElement: Bool var accessibilityLabel: String? var accessibilityHint: String? var accessibilityValue: String? var accessibilityTraits: UIAccessibilityTraits var accessibilityFrame: CGRect @NSCopying var accessibilityPath: UIBezierPath? var accessibilityActivationPoint: CGPoint var accessibilityLanguage: String? var accessibilityElementsHidden: Bool var accessibilityViewIsModal: Bool var shouldGroupAccessibilityChildren: Bool var accessibilityNavigationStyle: UIAccessibilityNavigationStyle var accessibilityHeaderElements: [Any]? var accessibilityCustomRotors: [UIAccessibilityCustomRotor]? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension SKPhysicsBody : CVarArg { } extension SKPhysicsBody : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCoding, NSCopying |
Declaration | |
---|---|
From | func applyForce(_ force: CGVector, atPoint point: CGPoint) |
To | func applyForce(_ force: CGVector, at point: CGPoint) |
Declaration | |
---|---|
From | func applyImpulse(_ impulse: CGVector, atPoint point: CGPoint) |
To | func applyImpulse(_ impulse: CGVector, at point: CGPoint) |
Declaration | |
---|---|
From | init(edgeChainFromPath path: CGPath) |
To | init(edgeChainFrom path: CGPath) |
Declaration | |
---|---|
From | init(edgeFromPoint p1: CGPoint, toPoint p2: CGPoint) |
To | init(edgeFrom p1: CGPoint, to p2: CGPoint) |
Declaration | |
---|---|
From | init(edgeLoopFromPath path: CGPath) |
To | init(edgeLoopFrom path: CGPath) |
Declaration | |
---|---|
From | init(edgeLoopFromRect rect: CGRect) |
To | init(edgeLoopFrom rect: CGRect) |
Declaration | |
---|---|
From | init(polygonFromPath path: CGPath) |
To | init(polygonFrom path: CGPath) |
Declaration | |
---|---|
From | init(rectangleOfSize s: CGSize) |
To | init(rectangleOf s: CGSize) |
Declaration | |
---|---|
From | init(rectangleOfSize s: CGSize, center center: CGPoint) |
To | init(rectangleOf s: CGSize, center center: CGPoint) |
Modified SKPhysicsBody.isDynamic
Declaration | |
---|---|
From | var dynamic: Bool |
To | var isDynamic: Bool |
Modified SKPhysicsBody.isResting
Declaration | |
---|---|
From | var resting: Bool |
To | var isResting: Bool |
Modified SKPhysicsContact
Declaration | Protocols | |
---|---|---|
From | class SKPhysicsContact : NSObject { var bodyA: SKPhysicsBody { get } var bodyB: SKPhysicsBody { get } var contactPoint: CGPoint { get } var contactNormal: CGVector { get } var collisionImpulse: CGFloat { get } } | -- |
To | class SKPhysicsContact : NSObject { var bodyA: SKPhysicsBody { get } var bodyB: SKPhysicsBody { get } var contactPoint: CGPoint { get } var contactNormal: CGVector { get } var collisionImpulse: CGFloat { get } func awakeFromNib() func prepareForInterfaceBuilder() func accessibilityActivate() -> Bool func accessibilityIncrement() func accessibilityDecrement() func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool func accessibilityPerformEscape() -> Bool func accessibilityPerformMagicTap() -> Bool var accessibilityCustomActions: [UIAccessibilityCustomAction]? func accessibilityElementDidBecomeFocused() func accessibilityElementDidLoseFocus() func accessibilityElementIsFocused() -> Bool func accessibilityAssistiveTechnologyFocusedIdentifiers() -> Set<String>? func accessibilityElementCount() -> Int func accessibilityElement(at index: Int) -> Any? func index(ofAccessibilityElement element: Any) -> Int var accessibilityElements: [Any]? var isAccessibilityElement: Bool var accessibilityLabel: String? var accessibilityHint: String? var accessibilityValue: String? var accessibilityTraits: UIAccessibilityTraits var accessibilityFrame: CGRect @NSCopying var accessibilityPath: UIBezierPath? var accessibilityActivationPoint: CGPoint var accessibilityLanguage: String? var accessibilityElementsHidden: Bool var accessibilityViewIsModal: Bool var shouldGroupAccessibilityChildren: Bool var accessibilityNavigationStyle: UIAccessibilityNavigationStyle var accessibilityHeaderElements: [Any]? var accessibilityCustomRotors: [UIAccessibilityCustomRotor]? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension SKPhysicsContact : CVarArg { } extension SKPhysicsContact : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Modified SKPhysicsContactDelegate
Declaration | |
---|---|
From | protocol SKPhysicsContactDelegate : NSObjectProtocol { optional func didBeginContact(_ contact: SKPhysicsContact) optional func didEndContact(_ contact: SKPhysicsContact) } |
To | protocol SKPhysicsContactDelegate : NSObjectProtocol { optional func didBegin(_ contact: SKPhysicsContact) optional func didEnd(_ contact: SKPhysicsContact) } |
Declaration | |
---|---|
From | optional func didBeginContact(_ contact: SKPhysicsContact) |
To | optional func didBegin(_ contact: SKPhysicsContact) |
Declaration | |
---|---|
From | optional func didEndContact(_ contact: SKPhysicsContact) |
To | optional func didEnd(_ contact: SKPhysicsContact) |
Modified SKPhysicsJoint
Declaration | Protocols | |
---|---|---|
From | class SKPhysicsJoint : NSObject, NSCoding { var bodyA: SKPhysicsBody var bodyB: SKPhysicsBody var reactionForce: CGVector { get } var reactionTorque: CGFloat { get } } | NSCoding |
To | class SKPhysicsJoint : NSObject, NSCoding { var bodyA: SKPhysicsBody var bodyB: SKPhysicsBody var reactionForce: CGVector { get } var reactionTorque: CGFloat { get } func awakeFromNib() func prepareForInterfaceBuilder() func accessibilityActivate() -> Bool func accessibilityIncrement() func accessibilityDecrement() func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool func accessibilityPerformEscape() -> Bool func accessibilityPerformMagicTap() -> Bool var accessibilityCustomActions: [UIAccessibilityCustomAction]? func accessibilityElementDidBecomeFocused() func accessibilityElementDidLoseFocus() func accessibilityElementIsFocused() -> Bool func accessibilityAssistiveTechnologyFocusedIdentifiers() -> Set<String>? func accessibilityElementCount() -> Int func accessibilityElement(at index: Int) -> Any? func index(ofAccessibilityElement element: Any) -> Int var accessibilityElements: [Any]? var isAccessibilityElement: Bool var accessibilityLabel: String? var accessibilityHint: String? var accessibilityValue: String? var accessibilityTraits: UIAccessibilityTraits var accessibilityFrame: CGRect @NSCopying var accessibilityPath: UIBezierPath? var accessibilityActivationPoint: CGPoint var accessibilityLanguage: String? var accessibilityElementsHidden: Bool var accessibilityViewIsModal: Bool var shouldGroupAccessibilityChildren: Bool var accessibilityNavigationStyle: UIAccessibilityNavigationStyle var accessibilityHeaderElements: [Any]? var accessibilityCustomRotors: [UIAccessibilityCustomRotor]? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension SKPhysicsJoint : CVarArg { } extension SKPhysicsJoint : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCoding |
Modified SKPhysicsJointFixed
Declaration | |
---|---|
From | class SKPhysicsJointFixed : SKPhysicsJoint { class func jointWithBodyA(_ bodyA: SKPhysicsBody, bodyB bodyB: SKPhysicsBody, anchor anchor: CGPoint) -> SKPhysicsJointFixed } |
To | class SKPhysicsJointFixed : SKPhysicsJoint { class func joint(withBodyA bodyA: SKPhysicsBody, bodyB bodyB: SKPhysicsBody, anchor anchor: CGPoint) -> SKPhysicsJointFixed } |
Declaration | |
---|---|
From | class func jointWithBodyA(_ bodyA: SKPhysicsBody, bodyB bodyB: SKPhysicsBody, anchor anchor: CGPoint) -> SKPhysicsJointFixed |
To | class func joint(withBodyA bodyA: SKPhysicsBody, bodyB bodyB: SKPhysicsBody, anchor anchor: CGPoint) -> SKPhysicsJointFixed |
Modified SKPhysicsJointLimit
Declaration | |
---|---|
From | class SKPhysicsJointLimit : SKPhysicsJoint { var maxLength: CGFloat class func jointWithBodyA(_ bodyA: SKPhysicsBody, bodyB bodyB: SKPhysicsBody, anchorA anchorA: CGPoint, anchorB anchorB: CGPoint) -> SKPhysicsJointLimit } |
To | class SKPhysicsJointLimit : SKPhysicsJoint { var maxLength: CGFloat class func joint(withBodyA bodyA: SKPhysicsBody, bodyB bodyB: SKPhysicsBody, anchorA anchorA: CGPoint, anchorB anchorB: CGPoint) -> SKPhysicsJointLimit } |
Declaration | |
---|---|
From | class func jointWithBodyA(_ bodyA: SKPhysicsBody, bodyB bodyB: SKPhysicsBody, anchorA anchorA: CGPoint, anchorB anchorB: CGPoint) -> SKPhysicsJointLimit |
To | class func joint(withBodyA bodyA: SKPhysicsBody, bodyB bodyB: SKPhysicsBody, anchorA anchorA: CGPoint, anchorB anchorB: CGPoint) -> SKPhysicsJointLimit |
Modified SKPhysicsJointPin
Declaration | |
---|---|
From | class SKPhysicsJointPin : SKPhysicsJoint { class func jointWithBodyA(_ bodyA: SKPhysicsBody, bodyB bodyB: SKPhysicsBody, anchor anchor: CGPoint) -> SKPhysicsJointPin var shouldEnableLimits: Bool var lowerAngleLimit: CGFloat var upperAngleLimit: CGFloat var frictionTorque: CGFloat var rotationSpeed: CGFloat } |
To | class SKPhysicsJointPin : SKPhysicsJoint { class func joint(withBodyA bodyA: SKPhysicsBody, bodyB bodyB: SKPhysicsBody, anchor anchor: CGPoint) -> SKPhysicsJointPin var shouldEnableLimits: Bool var lowerAngleLimit: CGFloat var upperAngleLimit: CGFloat var frictionTorque: CGFloat var rotationSpeed: CGFloat } |
Declaration | |
---|---|
From | class func jointWithBodyA(_ bodyA: SKPhysicsBody, bodyB bodyB: SKPhysicsBody, anchor anchor: CGPoint) -> SKPhysicsJointPin |
To | class func joint(withBodyA bodyA: SKPhysicsBody, bodyB bodyB: SKPhysicsBody, anchor anchor: CGPoint) -> SKPhysicsJointPin |
Modified SKPhysicsJointSliding
Declaration | |
---|---|
From | class SKPhysicsJointSliding : SKPhysicsJoint { class func jointWithBodyA(_ bodyA: SKPhysicsBody, bodyB bodyB: SKPhysicsBody, anchor anchor: CGPoint, axis axis: CGVector) -> SKPhysicsJointSliding var shouldEnableLimits: Bool var lowerDistanceLimit: CGFloat var upperDistanceLimit: CGFloat } |
To | class SKPhysicsJointSliding : SKPhysicsJoint { class func joint(withBodyA bodyA: SKPhysicsBody, bodyB bodyB: SKPhysicsBody, anchor anchor: CGPoint, axis axis: CGVector) -> SKPhysicsJointSliding var shouldEnableLimits: Bool var lowerDistanceLimit: CGFloat var upperDistanceLimit: CGFloat } |
Declaration | |
---|---|
From | class func jointWithBodyA(_ bodyA: SKPhysicsBody, bodyB bodyB: SKPhysicsBody, anchor anchor: CGPoint, axis axis: CGVector) -> SKPhysicsJointSliding |
To | class func joint(withBodyA bodyA: SKPhysicsBody, bodyB bodyB: SKPhysicsBody, anchor anchor: CGPoint, axis axis: CGVector) -> SKPhysicsJointSliding |
Modified SKPhysicsJointSpring
Declaration | |
---|---|
From | class SKPhysicsJointSpring : SKPhysicsJoint { class func jointWithBodyA(_ bodyA: SKPhysicsBody, bodyB bodyB: SKPhysicsBody, anchorA anchorA: CGPoint, anchorB anchorB: CGPoint) -> SKPhysicsJointSpring var damping: CGFloat var frequency: CGFloat } |
To | class SKPhysicsJointSpring : SKPhysicsJoint { class func joint(withBodyA bodyA: SKPhysicsBody, bodyB bodyB: SKPhysicsBody, anchorA anchorA: CGPoint, anchorB anchorB: CGPoint) -> SKPhysicsJointSpring var damping: CGFloat var frequency: CGFloat } |
Declaration | |
---|---|
From | class func jointWithBodyA(_ bodyA: SKPhysicsBody, bodyB bodyB: SKPhysicsBody, anchorA anchorA: CGPoint, anchorB anchorB: CGPoint) -> SKPhysicsJointSpring |
To | class func joint(withBodyA bodyA: SKPhysicsBody, bodyB bodyB: SKPhysicsBody, anchorA anchorA: CGPoint, anchorB anchorB: CGPoint) -> SKPhysicsJointSpring |
Modified SKPhysicsWorld
Declaration | Protocols | |
---|---|---|
From | class SKPhysicsWorld : NSObject, NSCoding { var gravity: CGVector var speed: CGFloat unowned(unsafe) var contactDelegate: SKPhysicsContactDelegate? func addJoint(_ joint: SKPhysicsJoint) func removeJoint(_ joint: SKPhysicsJoint) func removeAllJoints() func sampleFieldsAt(_ position: vector_float3) -> vector_float3 func bodyAtPoint(_ point: CGPoint) -> SKPhysicsBody? func bodyInRect(_ rect: CGRect) -> SKPhysicsBody? func bodyAlongRayStart(_ start: CGPoint, end end: CGPoint) -> SKPhysicsBody? func enumerateBodiesAtPoint(_ point: CGPoint, usingBlock block: (SKPhysicsBody, UnsafeMutablePointer<ObjCBool>) -> Void) func enumerateBodiesInRect(_ rect: CGRect, usingBlock block: (SKPhysicsBody, UnsafeMutablePointer<ObjCBool>) -> Void) func enumerateBodiesAlongRayStart(_ start: CGPoint, end end: CGPoint, usingBlock block: (SKPhysicsBody, CGPoint, CGVector, UnsafeMutablePointer<ObjCBool>) -> Void) } | NSCoding |
To | class SKPhysicsWorld : NSObject, NSCoding { var gravity: CGVector var speed: CGFloat unowned(unsafe) var contactDelegate: SKPhysicsContactDelegate? func add(_ joint: SKPhysicsJoint) func remove(_ joint: SKPhysicsJoint) func removeAllJoints() func sampleFields(at position: vector_float3) -> vector_float3 func body(at point: CGPoint) -> SKPhysicsBody? func body(in rect: CGRect) -> SKPhysicsBody? func body(alongRayStart start: CGPoint, end end: CGPoint) -> SKPhysicsBody? func enumerateBodies(at point: CGPoint, using block: @escaping (SKPhysicsBody, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) func enumerateBodies(in rect: CGRect, using block: @escaping (SKPhysicsBody, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) func enumerateBodies(alongRayStart start: CGPoint, end end: CGPoint, using block: @escaping (SKPhysicsBody, CGPoint, CGVector, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) func awakeFromNib() func prepareForInterfaceBuilder() func accessibilityActivate() -> Bool func accessibilityIncrement() func accessibilityDecrement() func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool func accessibilityPerformEscape() -> Bool func accessibilityPerformMagicTap() -> Bool var accessibilityCustomActions: [UIAccessibilityCustomAction]? func accessibilityElementDidBecomeFocused() func accessibilityElementDidLoseFocus() func accessibilityElementIsFocused() -> Bool func accessibilityAssistiveTechnologyFocusedIdentifiers() -> Set<String>? func accessibilityElementCount() -> Int func accessibilityElement(at index: Int) -> Any? func index(ofAccessibilityElement element: Any) -> Int var accessibilityElements: [Any]? var isAccessibilityElement: Bool var accessibilityLabel: String? var accessibilityHint: String? var accessibilityValue: String? var accessibilityTraits: UIAccessibilityTraits var accessibilityFrame: CGRect @NSCopying var accessibilityPath: UIBezierPath? var accessibilityActivationPoint: CGPoint var accessibilityLanguage: String? var accessibilityElementsHidden: Bool var accessibilityViewIsModal: Bool var shouldGroupAccessibilityChildren: Bool var accessibilityNavigationStyle: UIAccessibilityNavigationStyle var accessibilityHeaderElements: [Any]? var accessibilityCustomRotors: [UIAccessibilityCustomRotor]? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension SKPhysicsWorld : CVarArg { } extension SKPhysicsWorld : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCoding |
Declaration | |
---|---|
From | func addJoint(_ joint: SKPhysicsJoint) |
To | func add(_ joint: SKPhysicsJoint) |
Declaration | |
---|---|
From | func bodyAlongRayStart(_ start: CGPoint, end end: CGPoint) -> SKPhysicsBody? |
To | func body(alongRayStart start: CGPoint, end end: CGPoint) -> SKPhysicsBody? |
Declaration | |
---|---|
From | func bodyAtPoint(_ point: CGPoint) -> SKPhysicsBody? |
To | func body(at point: CGPoint) -> SKPhysicsBody? |
Declaration | |
---|---|
From | func bodyInRect(_ rect: CGRect) -> SKPhysicsBody? |
To | func body(in rect: CGRect) -> SKPhysicsBody? |
Declaration | |
---|---|
From | func enumerateBodiesAlongRayStart(_ start: CGPoint, end end: CGPoint, usingBlock block: (SKPhysicsBody, CGPoint, CGVector, UnsafeMutablePointer<ObjCBool>) -> Void) |
To | func enumerateBodies(alongRayStart start: CGPoint, end end: CGPoint, using block: @escaping (SKPhysicsBody, CGPoint, CGVector, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) |
Declaration | |
---|---|
From | func enumerateBodiesAtPoint(_ point: CGPoint, usingBlock block: (SKPhysicsBody, UnsafeMutablePointer<ObjCBool>) -> Void) |
To | func enumerateBodies(at point: CGPoint, using block: @escaping (SKPhysicsBody, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) |
Declaration | |
---|---|
From | func enumerateBodiesInRect(_ rect: CGRect, usingBlock block: (SKPhysicsBody, UnsafeMutablePointer<ObjCBool>) -> Void) |
To | func enumerateBodies(in rect: CGRect, using block: @escaping (SKPhysicsBody, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) |
Declaration | |
---|---|
From | func removeJoint(_ joint: SKPhysicsJoint) |
To | func remove(_ joint: SKPhysicsJoint) |
Declaration | |
---|---|
From | func sampleFieldsAt(_ position: vector_float3) -> vector_float3 |
To | func sampleFields(at position: vector_float3) -> vector_float3 |
Modified SKRange
Declaration | Protocols | |
---|---|---|
From | class SKRange : NSObject, NSCoding, NSCopying { init(lowerLimit lower: CGFloat, upperLimit upper: CGFloat) class func rangeWithLowerLimit(_ lower: CGFloat, upperLimit upper: CGFloat) -> Self convenience init(lowerLimit lower: CGFloat) class func rangeWithLowerLimit(_ lower: CGFloat) -> Self convenience init(upperLimit upper: CGFloat) class func rangeWithUpperLimit(_ upper: CGFloat) -> Self convenience init(constantValue value: CGFloat) class func rangeWithConstantValue(_ value: CGFloat) -> Self convenience init(value value: CGFloat, variance variance: CGFloat) class func rangeWithValue(_ value: CGFloat, variance variance: CGFloat) -> Self class func rangeWithNoLimits() -> Self var lowerLimit: CGFloat var upperLimit: CGFloat } | NSCoding, NSCopying |
To | class SKRange : NSObject, NSCoding, NSCopying { init(lowerLimit lower: CGFloat, upperLimit upper: CGFloat) class func withLowerLimit(_ lower: CGFloat, upperLimit upper: CGFloat) -> Self convenience init(lowerLimit lower: CGFloat) class func withLowerLimit(_ lower: CGFloat) -> Self convenience init(upperLimit upper: CGFloat) class func withUpperLimit(_ upper: CGFloat) -> Self convenience init(constantValue value: CGFloat) class func withConstantValue(_ value: CGFloat) -> Self convenience init(value value: CGFloat, variance variance: CGFloat) class func withValue(_ value: CGFloat, variance variance: CGFloat) -> Self class func withNoLimits() -> Self var lowerLimit: CGFloat var upperLimit: CGFloat func awakeFromNib() func prepareForInterfaceBuilder() func accessibilityActivate() -> Bool func accessibilityIncrement() func accessibilityDecrement() func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool func accessibilityPerformEscape() -> Bool func accessibilityPerformMagicTap() -> Bool var accessibilityCustomActions: [UIAccessibilityCustomAction]? func accessibilityElementDidBecomeFocused() func accessibilityElementDidLoseFocus() func accessibilityElementIsFocused() -> Bool func accessibilityAssistiveTechnologyFocusedIdentifiers() -> Set<String>? func accessibilityElementCount() -> Int func accessibilityElement(at index: Int) -> Any? func index(ofAccessibilityElement element: Any) -> Int var accessibilityElements: [Any]? var isAccessibilityElement: Bool var accessibilityLabel: String? var accessibilityHint: String? var accessibilityValue: String? var accessibilityTraits: UIAccessibilityTraits var accessibilityFrame: CGRect @NSCopying var accessibilityPath: UIBezierPath? var accessibilityActivationPoint: CGPoint var accessibilityLanguage: String? var accessibilityElementsHidden: Bool var accessibilityViewIsModal: Bool var shouldGroupAccessibilityChildren: Bool var accessibilityNavigationStyle: UIAccessibilityNavigationStyle var accessibilityHeaderElements: [Any]? var accessibilityCustomRotors: [UIAccessibilityCustomRotor]? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension SKRange : CVarArg { } extension SKRange : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCoding, NSCopying |
Declaration | |
---|---|
From | class func rangeWithNoLimits() -> Self |
To | class func withNoLimits() -> Self |
Modified SKReachConstraints
Declaration | Protocols | |
---|---|---|
From | class SKReachConstraints : NSObject, NSCoding { var lowerAngleLimit: CGFloat var upperAngleLimit: CGFloat init(lowerAngleLimit lowerAngleLimit: CGFloat, upperAngleLimit upperAngleLimit: CGFloat) } | NSCoding |
To | class SKReachConstraints : NSObject, NSCoding { var lowerAngleLimit: CGFloat var upperAngleLimit: CGFloat init(lowerAngleLimit lowerAngleLimit: CGFloat, upperAngleLimit upperAngleLimit: CGFloat) func awakeFromNib() func prepareForInterfaceBuilder() func accessibilityActivate() -> Bool func accessibilityIncrement() func accessibilityDecrement() func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool func accessibilityPerformEscape() -> Bool func accessibilityPerformMagicTap() -> Bool var accessibilityCustomActions: [UIAccessibilityCustomAction]? func accessibilityElementDidBecomeFocused() func accessibilityElementDidLoseFocus() func accessibilityElementIsFocused() -> Bool func accessibilityAssistiveTechnologyFocusedIdentifiers() -> Set<String>? func accessibilityElementCount() -> Int func accessibilityElement(at index: Int) -> Any? func index(ofAccessibilityElement element: Any) -> Int var accessibilityElements: [Any]? var isAccessibilityElement: Bool var accessibilityLabel: String? var accessibilityHint: String? var accessibilityValue: String? var accessibilityTraits: UIAccessibilityTraits var accessibilityFrame: CGRect @NSCopying var accessibilityPath: UIBezierPath? var accessibilityActivationPoint: CGPoint var accessibilityLanguage: String? var accessibilityElementsHidden: Bool var accessibilityViewIsModal: Bool var shouldGroupAccessibilityChildren: Bool var accessibilityNavigationStyle: UIAccessibilityNavigationStyle var accessibilityHeaderElements: [Any]? var accessibilityCustomRotors: [UIAccessibilityCustomRotor]? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension SKReachConstraints : CVarArg { } extension SKReachConstraints : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCoding |
Modified SKReferenceNode
Declaration | |
---|---|
From | class SKReferenceNode : SKNode { init(URL url: NSURL?) init(fileNamed fileName: String?) init?(coder aDecoder: NSCoder) convenience init(fileNamed fileName: String) class func referenceNodeWithFileNamed(_ fileName: String) -> Self convenience init(URL referenceURL: NSURL) class func referenceNodeWithURL(_ referenceURL: NSURL) -> Self func didLoadReferenceNode(_ node: SKNode?) func resolveReferenceNode() } |
To | class SKReferenceNode : SKNode { init(url url: URL?) init(fileNamed fileName: String?) init?(coder aDecoder: NSCoder) convenience init(fileNamed fileName: String) class func withFileNamed(_ fileName: String) -> Self convenience init(url referenceURL: URL) class func withURL(_ referenceURL: URL) -> Self func didLoad(_ node: SKNode?) func resolve() } |
Modified SKReferenceNode.didLoad(_: SKNode?)
Declaration | |
---|---|
From | func didLoadReferenceNode(_ node: SKNode?) |
To | func didLoad(_ node: SKNode?) |
Modified SKReferenceNode.init(url: URL)
Declaration | |
---|---|
From | convenience init(URL referenceURL: NSURL) |
To | convenience init(url referenceURL: URL) |
Modified SKReferenceNode.init(url: URL?)
Declaration | |
---|---|
From | init(URL url: NSURL?) |
To | init(url url: URL?) |
Modified SKReferenceNode.resolve()
Declaration | |
---|---|
From | func resolveReferenceNode() |
To | func resolve() |
Modified SKRegion
Declaration | Protocols | |
---|---|---|
From | class SKRegion : NSObject, NSCopying, NSCoding { var path: CGPath? { get } class func infiniteRegion() -> Self init(radius radius: Float) init(size size: CGSize) init(path path: CGPath) func inverseRegion() -> Self func regionByUnionWithRegion(_ region: SKRegion) -> Self func regionByDifferenceFromRegion(_ region: SKRegion) -> Self func regionByIntersectionWithRegion(_ region: SKRegion) -> Self func containsPoint(_ point: CGPoint) -> Bool } | NSCoding, NSCopying |
To | class SKRegion : NSObject, NSCopying, NSCoding { var path: CGPath? { get } class func infinite() -> Self init(radius radius: Float) init(size size: CGSize) init(path path: CGPath) func inverse() -> Self func byUnion(with region: SKRegion) -> Self func byDifference(from region: SKRegion) -> Self func byIntersection(with region: SKRegion) -> Self func contains(_ point: CGPoint) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func accessibilityActivate() -> Bool func accessibilityIncrement() func accessibilityDecrement() func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool func accessibilityPerformEscape() -> Bool func accessibilityPerformMagicTap() -> Bool var accessibilityCustomActions: [UIAccessibilityCustomAction]? func accessibilityElementDidBecomeFocused() func accessibilityElementDidLoseFocus() func accessibilityElementIsFocused() -> Bool func accessibilityAssistiveTechnologyFocusedIdentifiers() -> Set<String>? func accessibilityElementCount() -> Int func accessibilityElement(at index: Int) -> Any? func index(ofAccessibilityElement element: Any) -> Int var accessibilityElements: [Any]? var isAccessibilityElement: Bool var accessibilityLabel: String? var accessibilityHint: String? var accessibilityValue: String? var accessibilityTraits: UIAccessibilityTraits var accessibilityFrame: CGRect @NSCopying var accessibilityPath: UIBezierPath? var accessibilityActivationPoint: CGPoint var accessibilityLanguage: String? var accessibilityElementsHidden: Bool var accessibilityViewIsModal: Bool var shouldGroupAccessibilityChildren: Bool var accessibilityNavigationStyle: UIAccessibilityNavigationStyle var accessibilityHeaderElements: [Any]? var accessibilityCustomRotors: [UIAccessibilityCustomRotor]? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension SKRegion : CVarArg { } extension SKRegion : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCoding, NSCopying |
Declaration | |
---|---|
From | func regionByDifferenceFromRegion(_ region: SKRegion) -> Self |
To | func byDifference(from region: SKRegion) -> Self |
Declaration | |
---|---|
From | func regionByIntersectionWithRegion(_ region: SKRegion) -> Self |
To | func byIntersection(with region: SKRegion) -> Self |
Declaration | |
---|---|
From | func regionByUnionWithRegion(_ region: SKRegion) -> Self |
To | func byUnion(with region: SKRegion) -> Self |
Declaration | |
---|---|
From | func containsPoint(_ point: CGPoint) -> Bool |
To | func contains(_ point: CGPoint) -> Bool |
Modified SKRegion.infinite() -> Self [class]
Declaration | |
---|---|
From | class func infiniteRegion() -> Self |
To | class func infinite() -> Self |
Modified SKRegion.inverse() -> Self
Declaration | |
---|---|
From | func inverseRegion() -> Self |
To | func inverse() -> Self |
Modified SKRepeatMode [enum]
Declaration | |
---|---|
From | enum SKRepeatMode : Int { case Clamp case Loop } |
To | enum SKRepeatMode : Int { case clamp case loop } |
Modified SKRepeatMode.clamp
Declaration | |
---|---|
From | case Clamp |
To | case clamp |
Modified SKRepeatMode.loop
Declaration | |
---|---|
From | case Loop |
To | case loop |
Modified SKScene
Declaration | Protocols | |
---|---|---|
From | class SKScene : SKEffectNode { init(size size: CGSize) class func sceneWithSize(_ size: CGSize) -> Self var size: CGSize var scaleMode: SKSceneScaleMode weak var camera: SKCameraNode? weak var listener: SKNode? var audioEngine: AVAudioEngine { get } var backgroundColor: UIColor unowned(unsafe) var delegate: SKSceneDelegate? var anchorPoint: CGPoint var physicsWorld: SKPhysicsWorld { get } func convertPointFromView(_ point: CGPoint) -> CGPoint func convertPointToView(_ point: CGPoint) -> CGPoint weak var view: SKView? { get } func update(_ currentTime: NSTimeInterval) func didEvaluateActions() func didSimulatePhysics() func didApplyConstraints() func didFinishUpdate() func didMoveToView(_ view: SKView) func willMoveFromView(_ view: SKView) func didChangeSize(_ oldSize: CGSize) } | -- |
To | class SKScene : SKEffectNode { init(size size: CGSize) class func withSize(_ size: CGSize) -> Self func sceneDidLoad() var size: CGSize var scaleMode: SKSceneScaleMode weak var camera: SKCameraNode? weak var listener: SKNode? var audioEngine: AVAudioEngine { get } var backgroundColor: UIColor weak var delegate: SKSceneDelegate? var anchorPoint: CGPoint var physicsWorld: SKPhysicsWorld { get } weak var view: SKView? { get } func convertPoint(fromView point: CGPoint) -> CGPoint func convertPoint(toView point: CGPoint) -> CGPoint func update(_ currentTime: TimeInterval) func didEvaluateActions() func didSimulatePhysics() func didApplyConstraints() func didFinishUpdate() func didMove(to view: SKView) func willMove(from view: SKView) func didChangeSize(_ oldSize: CGSize) } extension SKScene : GKSceneRootNodeType { } | GKSceneRootNodeType |
Declaration | |
---|---|
From | func convertPointFromView(_ point: CGPoint) -> CGPoint |
To | func convertPoint(fromView point: CGPoint) -> CGPoint |
Declaration | |
---|---|
From | func convertPointToView(_ point: CGPoint) -> CGPoint |
To | func convertPoint(toView point: CGPoint) -> CGPoint |
Modified SKScene.delegate
Declaration | |
---|---|
From | unowned(unsafe) var delegate: SKSceneDelegate? |
To | weak var delegate: SKSceneDelegate? |
Modified SKScene.didMove(to: SKView)
Declaration | |
---|---|
From | func didMoveToView(_ view: SKView) |
To | func didMove(to view: SKView) |
Modified SKScene.update(_: TimeInterval)
Declaration | |
---|---|
From | func update(_ currentTime: NSTimeInterval) |
To | func update(_ currentTime: TimeInterval) |
Modified SKScene.willMove(from: SKView)
Declaration | |
---|---|
From | func willMoveFromView(_ view: SKView) |
To | func willMove(from view: SKView) |
Modified SKSceneDelegate
Declaration | |
---|---|
From | protocol SKSceneDelegate : NSObjectProtocol { optional func update(_ currentTime: NSTimeInterval, forScene scene: SKScene) optional func didEvaluateActionsForScene(_ scene: SKScene) optional func didSimulatePhysicsForScene(_ scene: SKScene) optional func didApplyConstraintsForScene(_ scene: SKScene) optional func didFinishUpdateForScene(_ scene: SKScene) } |
To | protocol SKSceneDelegate : NSObjectProtocol { optional func update(_ currentTime: TimeInterval, for scene: SKScene) optional func didEvaluateActions(for scene: SKScene) optional func didSimulatePhysics(for scene: SKScene) optional func didApplyConstraints(for scene: SKScene) optional func didFinishUpdate(for scene: SKScene) } |
Declaration | |
---|---|
From | optional func didApplyConstraintsForScene(_ scene: SKScene) |
To | optional func didApplyConstraints(for scene: SKScene) |
Declaration | |
---|---|
From | optional func didEvaluateActionsForScene(_ scene: SKScene) |
To | optional func didEvaluateActions(for scene: SKScene) |
Declaration | |
---|---|
From | optional func didFinishUpdateForScene(_ scene: SKScene) |
To | optional func didFinishUpdate(for scene: SKScene) |
Declaration | |
---|---|
From | optional func didSimulatePhysicsForScene(_ scene: SKScene) |
To | optional func didSimulatePhysics(for scene: SKScene) |
Declaration | |
---|---|
From | optional func update(_ currentTime: NSTimeInterval, forScene scene: SKScene) |
To | optional func update(_ currentTime: TimeInterval, for scene: SKScene) |
Modified SKSceneScaleMode [enum]
Declaration | |
---|---|
From | enum SKSceneScaleMode : Int { case Fill case AspectFill case AspectFit case ResizeFill } |
To | enum SKSceneScaleMode : Int { case fill case aspectFill case aspectFit case resizeFill } |
Modified SKSceneScaleMode.aspectFill
Declaration | |
---|---|
From | case AspectFill |
To | case aspectFill |
Modified SKSceneScaleMode.aspectFit
Declaration | |
---|---|
From | case AspectFit |
To | case aspectFit |
Modified SKSceneScaleMode.fill
Declaration | |
---|---|
From | case Fill |
To | case fill |
Modified SKSceneScaleMode.resizeFill
Declaration | |
---|---|
From | case ResizeFill |
To | case resizeFill |
Modified SKShader
Declaration | Protocols | |
---|---|---|
From | class SKShader : NSObject, NSCopying, NSCoding { init(source source: String) init(source source: String, uniforms uniforms: [SKUniform]) convenience init() class func shader() -> Self class func shaderWithSource(_ source: String) -> Self class func shaderWithSource(_ source: String, uniforms uniforms: [SKUniform]) -> Self convenience init(fileNamed name: String) class func shaderWithFileNamed(_ name: String) -> Self var source: String? var uniforms: [SKUniform] func addUniform(_ uniform: SKUniform) func uniformNamed(_ name: String) -> SKUniform? func removeUniformNamed(_ name: String) } | NSCoding, NSCopying |
To | class SKShader : NSObject, NSCopying, NSCoding { init(source source: String) init(source source: String, uniforms uniforms: [SKUniform]) convenience init() class func shader() -> Self class func withSource(_ source: String) -> Self class func withSource(_ source: String, uniforms uniforms: [SKUniform]) -> Self convenience init(fileNamed name: String) class func withFileNamed(_ name: String) -> Self var source: String? var uniforms: [SKUniform] func addUniform(_ uniform: SKUniform) func uniformNamed(_ name: String) -> SKUniform? func removeUniformNamed(_ name: String) var attributes: [SKAttribute] func awakeFromNib() func prepareForInterfaceBuilder() func accessibilityActivate() -> Bool func accessibilityIncrement() func accessibilityDecrement() func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool func accessibilityPerformEscape() -> Bool func accessibilityPerformMagicTap() -> Bool var accessibilityCustomActions: [UIAccessibilityCustomAction]? func accessibilityElementDidBecomeFocused() func accessibilityElementDidLoseFocus() func accessibilityElementIsFocused() -> Bool func accessibilityAssistiveTechnologyFocusedIdentifiers() -> Set<String>? func accessibilityElementCount() -> Int func accessibilityElement(at index: Int) -> Any? func index(ofAccessibilityElement element: Any) -> Int var accessibilityElements: [Any]? var isAccessibilityElement: Bool var accessibilityLabel: String? var accessibilityHint: String? var accessibilityValue: String? var accessibilityTraits: UIAccessibilityTraits var accessibilityFrame: CGRect @NSCopying var accessibilityPath: UIBezierPath? var accessibilityActivationPoint: CGPoint var accessibilityLanguage: String? var accessibilityElementsHidden: Bool var accessibilityViewIsModal: Bool var shouldGroupAccessibilityChildren: Bool var accessibilityNavigationStyle: UIAccessibilityNavigationStyle var accessibilityHeaderElements: [Any]? var accessibilityCustomRotors: [UIAccessibilityCustomRotor]? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension SKShader : CVarArg { } extension SKShader : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCoding, NSCopying |
Modified SKShapeNode
Declaration | Protocols | |
---|---|---|
From | class SKShapeNode : SKNode { convenience init(path path: CGPath) class func shapeNodeWithPath(_ path: CGPath) -> Self convenience init(path path: CGPath, centered centered: Bool) class func shapeNodeWithPath(_ path: CGPath, centered centered: Bool) -> Self convenience init(rect rect: CGRect) class func shapeNodeWithRect(_ rect: CGRect) -> Self convenience init(rectOfSize size: CGSize) class func shapeNodeWithRectOfSize(_ size: CGSize) -> Self convenience init(rect rect: CGRect, cornerRadius cornerRadius: CGFloat) class func shapeNodeWithRect(_ rect: CGRect, cornerRadius cornerRadius: CGFloat) -> Self convenience init(rectOfSize size: CGSize, cornerRadius cornerRadius: CGFloat) class func shapeNodeWithRectOfSize(_ size: CGSize, cornerRadius cornerRadius: CGFloat) -> Self convenience init(circleOfRadius radius: CGFloat) class func shapeNodeWithCircleOfRadius(_ radius: CGFloat) -> Self convenience init(ellipseInRect rect: CGRect) class func shapeNodeWithEllipseInRect(_ rect: CGRect) -> Self convenience init(ellipseOfSize size: CGSize) class func shapeNodeWithEllipseOfSize(_ size: CGSize) -> Self convenience init(points points: UnsafeMutablePointer<CGPoint>, count numPoints: Int) class func shapeNodeWithPoints(_ points: UnsafeMutablePointer<CGPoint>, count numPoints: Int) -> Self convenience init(splinePoints points: UnsafeMutablePointer<CGPoint>, count numPoints: Int) class func shapeNodeWithSplinePoints(_ points: UnsafeMutablePointer<CGPoint>, count numPoints: Int) -> Self var path: CGPath? var strokeColor: UIColor var fillColor: UIColor var blendMode: SKBlendMode var antialiased: Bool var lineWidth: CGFloat var glowWidth: CGFloat var lineCap: CGLineCap var lineJoin: CGLineJoin var miterLimit: CGFloat var lineLength: CGFloat { get } var fillTexture: SKTexture? var fillShader: SKShader? var strokeTexture: SKTexture? var strokeShader: SKShader? } extension SKShapeNode : _Reflectable { } extension SKShapeNode : _Reflectable { } | -- |
To | class SKShapeNode : SKNode { convenience init(path path: CGPath) class func withPath(_ path: CGPath) -> Self convenience init(path path: CGPath, centered centered: Bool) class func withPath(_ path: CGPath, centered centered: Bool) -> Self convenience init(rect rect: CGRect) class func withRect(_ rect: CGRect) -> Self convenience init(rectOf size: CGSize) class func withRectOf(_ size: CGSize) -> Self convenience init(rect rect: CGRect, cornerRadius cornerRadius: CGFloat) class func withRect(_ rect: CGRect, cornerRadius cornerRadius: CGFloat) -> Self convenience init(rectOf size: CGSize, cornerRadius cornerRadius: CGFloat) class func withRectOf(_ size: CGSize, cornerRadius cornerRadius: CGFloat) -> Self convenience init(circleOfRadius radius: CGFloat) class func withCircleOfRadius(_ radius: CGFloat) -> Self convenience init(ellipseIn rect: CGRect) class func withEllipseIn(_ rect: CGRect) -> Self convenience init(ellipseOf size: CGSize) class func withEllipseOf(_ size: CGSize) -> Self convenience init(points points: UnsafeMutablePointer<CGPoint>, count numPoints: Int) class func withPoints(_ points: UnsafeMutablePointer<CGPoint>, count numPoints: Int) -> Self convenience init(splinePoints points: UnsafeMutablePointer<CGPoint>, count numPoints: Int) class func withSplinePoints(_ points: UnsafeMutablePointer<CGPoint>, count numPoints: Int) -> Self var path: CGPath? var strokeColor: UIColor var fillColor: UIColor var blendMode: SKBlendMode var isAntialiased: Bool var lineWidth: CGFloat var glowWidth: CGFloat var lineCap: CGLineCap var lineJoin: CGLineJoin var miterLimit: CGFloat var lineLength: CGFloat { get } var fillTexture: SKTexture? var fillShader: SKShader? var strokeTexture: SKTexture? var strokeShader: SKShader? } extension SKShapeNode : CustomPlaygroundQuickLookable { var customPlaygroundQuickLook: PlaygroundQuickLook { get } } extension SKShapeNode : CustomPlaygroundQuickLookable { var customPlaygroundQuickLook: PlaygroundQuickLook { get } } | CustomPlaygroundQuickLookable |
Modified SKShapeNode.init(ellipseIn: CGRect)
Declaration | |
---|---|
From | convenience init(ellipseInRect rect: CGRect) |
To | convenience init(ellipseIn rect: CGRect) |
Modified SKShapeNode.init(ellipseOf: CGSize)
Declaration | |
---|---|
From | convenience init(ellipseOfSize size: CGSize) |
To | convenience init(ellipseOf size: CGSize) |
Modified SKShapeNode.init(rectOf: CGSize)
Declaration | |
---|---|
From | convenience init(rectOfSize size: CGSize) |
To | convenience init(rectOf size: CGSize) |
Declaration | |
---|---|
From | convenience init(rectOfSize size: CGSize, cornerRadius cornerRadius: CGFloat) |
To | convenience init(rectOf size: CGSize, cornerRadius cornerRadius: CGFloat) |
Modified SKShapeNode.isAntialiased
Declaration | |
---|---|
From | var antialiased: Bool |
To | var isAntialiased: Bool |
Modified SKSpriteNode
Declaration | Protocols | |
---|---|---|
From | class SKSpriteNode : SKNode { convenience init(texture texture: SKTexture?, size size: CGSize) class func spriteNodeWithTexture(_ texture: SKTexture?, size size: CGSize) -> Self convenience init(texture texture: SKTexture?) class func spriteNodeWithTexture(_ texture: SKTexture?) -> Self convenience init(texture texture: SKTexture?, normalMap normalMap: SKTexture?) class func spriteNodeWithTexture(_ texture: SKTexture?, normalMap normalMap: SKTexture?) -> Self convenience init(imageNamed name: String) class func spriteNodeWithImageNamed(_ name: String) -> Self convenience init(imageNamed name: String, normalMapped generateNormalMap: Bool) class func spriteNodeWithImageNamed(_ name: String, normalMapped generateNormalMap: Bool) -> Self convenience init(color color: UIColor, size size: CGSize) class func spriteNodeWithColor(_ color: UIColor, size size: CGSize) -> Self init(texture texture: SKTexture?, color color: UIColor, size size: CGSize) convenience init(texture texture: SKTexture?) convenience init(imageNamed name: String) convenience init(color color: UIColor, size size: CGSize) init?(coder aDecoder: NSCoder) var texture: SKTexture? var normalTexture: SKTexture? var lightingBitMask: UInt32 var shadowCastBitMask: UInt32 var shadowedBitMask: UInt32 var centerRect: CGRect var colorBlendFactor: CGFloat var color: UIColor var blendMode: SKBlendMode var anchorPoint: CGPoint var size: CGSize var shader: SKShader? } extension SKSpriteNode : _Reflectable { } extension SKSpriteNode : _Reflectable { } | -- |
To | class SKSpriteNode : SKNode, SKWarpable { convenience init(texture texture: SKTexture?, size size: CGSize) class func withTexture(_ texture: SKTexture?, size size: CGSize) -> Self convenience init(texture texture: SKTexture?) class func withTexture(_ texture: SKTexture?) -> Self convenience init(texture texture: SKTexture?, normalMap normalMap: SKTexture?) class func withTexture(_ texture: SKTexture?, normalMap normalMap: SKTexture?) -> Self convenience init(imageNamed name: String) class func withImageNamed(_ name: String) -> Self convenience init(imageNamed name: String, normalMapped generateNormalMap: Bool) class func withImageNamed(_ name: String, normalMapped generateNormalMap: Bool) -> Self convenience init(color color: UIColor, size size: CGSize) class func withColor(_ color: UIColor, size size: CGSize) -> Self init(texture texture: SKTexture?, color color: UIColor, size size: CGSize) convenience init(texture texture: SKTexture?) convenience init(imageNamed name: String) convenience init(color color: UIColor, size size: CGSize) init?(coder aDecoder: NSCoder) var texture: SKTexture? var normalTexture: SKTexture? var lightingBitMask: UInt32 var shadowCastBitMask: UInt32 var shadowedBitMask: UInt32 var centerRect: CGRect var colorBlendFactor: CGFloat var color: UIColor var blendMode: SKBlendMode var anchorPoint: CGPoint var size: CGSize func scale(to size: CGSize) var shader: SKShader? } extension SKSpriteNode : CustomPlaygroundQuickLookable { var customPlaygroundQuickLook: PlaygroundQuickLook { get } } extension SKSpriteNode : CustomPlaygroundQuickLookable { var customPlaygroundQuickLook: PlaygroundQuickLook { get } } | CustomPlaygroundQuickLookable, SKWarpable |
Modified SKTexture
Declaration | Protocols | |
---|---|---|
From | class SKTexture : NSObject, NSCopying, NSCoding { convenience init(imageNamed name: String) class func textureWithImageNamed(_ name: String) -> Self convenience init(rect rect: CGRect, inTexture texture: SKTexture) class func textureWithRect(_ rect: CGRect, inTexture texture: SKTexture) -> Self convenience init(vectorNoiseWithSmoothness smoothness: CGFloat, size size: CGSize) class func textureVectorNoiseWithSmoothness(_ smoothness: CGFloat, size size: CGSize) -> Self convenience init(noiseWithSmoothness smoothness: CGFloat, size size: CGSize, grayscale grayscale: Bool) class func textureNoiseWithSmoothness(_ smoothness: CGFloat, size size: CGSize, grayscale grayscale: Bool) -> Self convenience init(CGImage image: CGImage) class func textureWithCGImage(_ image: CGImage) -> Self convenience init(image image: UIImage) class func textureWithImage(_ image: UIImage) -> Self convenience init(data pixelData: NSData, size size: CGSize) class func textureWithData(_ pixelData: NSData, size size: CGSize) -> Self convenience init(data pixelData: NSData, size size: CGSize, flipped flipped: Bool) class func textureWithData(_ pixelData: NSData, size size: CGSize, flipped flipped: Bool) -> Self convenience init(data pixelData: NSData, size size: CGSize, rowLength rowLength: UInt32, alignment alignment: UInt32) class func textureWithData(_ pixelData: NSData, size size: CGSize, rowLength rowLength: UInt32, alignment alignment: UInt32) -> Self func textureByApplyingCIFilter(_ filter: CIFilter) -> Self func textureByGeneratingNormalMap() -> Self func textureByGeneratingNormalMapWithSmoothness(_ smoothness: CGFloat, contrast contrast: CGFloat) -> Self func textureRect() -> CGRect func size() -> CGSize var filteringMode: SKTextureFilteringMode var usesMipmaps: Bool func CGImage() -> CGImage class func preloadTextures(_ textures: [SKTexture], withCompletionHandler completionHandler: () -> Void) func preloadWithCompletionHandler(_ completionHandler: () -> Void) } extension SKTexture : _Reflectable { } extension SKTexture : _Reflectable { } | NSCoding, NSCopying |
To | class SKTexture : NSObject, NSCopying, NSCoding { convenience init(imageNamed name: String) class func withImageNamed(_ name: String) -> Self convenience init(rect rect: CGRect, in texture: SKTexture) class func withRect(_ rect: CGRect, in texture: SKTexture) -> Self convenience init(vectorNoiseWithSmoothness smoothness: CGFloat, size size: CGSize) class func textureVectorNoise(withSmoothness smoothness: CGFloat, size size: CGSize) -> Self convenience init(noiseWithSmoothness smoothness: CGFloat, size size: CGSize, grayscale grayscale: Bool) class func textureNoise(withSmoothness smoothness: CGFloat, size size: CGSize, grayscale grayscale: Bool) -> Self convenience init(cgImage image: CGImage) class func withCGImage(_ image: CGImage) -> Self convenience init(image image: UIImage) class func withImage(_ image: UIImage) -> Self convenience init(data pixelData: Data, size size: CGSize) class func withData(_ pixelData: Data, size size: CGSize) -> Self convenience init(data pixelData: Data, size size: CGSize, flipped flipped: Bool) class func withData(_ pixelData: Data, size size: CGSize, flipped flipped: Bool) -> Self convenience init(data pixelData: Data, size size: CGSize, rowLength rowLength: UInt32, alignment alignment: UInt32) class func withData(_ pixelData: Data, size size: CGSize, rowLength rowLength: UInt32, alignment alignment: UInt32) -> Self func applying(_ filter: CIFilter) -> Self func generatingNormalMap() -> Self func generatingNormalMap(withSmoothness smoothness: CGFloat, contrast contrast: CGFloat) -> Self func textureRect() -> CGRect func size() -> CGSize var filteringMode: SKTextureFilteringMode var usesMipmaps: Bool func cgImage() -> CGImage class func preload(_ textures: [SKTexture], withCompletionHandler completionHandler: @escaping () -> Swift.Void) func preload(completionHandler completionHandler: @escaping () -> Swift.Void) func awakeFromNib() func prepareForInterfaceBuilder() func accessibilityActivate() -> Bool func accessibilityIncrement() func accessibilityDecrement() func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool func accessibilityPerformEscape() -> Bool func accessibilityPerformMagicTap() -> Bool var accessibilityCustomActions: [UIAccessibilityCustomAction]? func accessibilityElementDidBecomeFocused() func accessibilityElementDidLoseFocus() func accessibilityElementIsFocused() -> Bool func accessibilityAssistiveTechnologyFocusedIdentifiers() -> Set<String>? func accessibilityElementCount() -> Int func accessibilityElement(at index: Int) -> Any? func index(ofAccessibilityElement element: Any) -> Int var accessibilityElements: [Any]? var isAccessibilityElement: Bool var accessibilityLabel: String? var accessibilityHint: String? var accessibilityValue: String? var accessibilityTraits: UIAccessibilityTraits var accessibilityFrame: CGRect @NSCopying var accessibilityPath: UIBezierPath? var accessibilityActivationPoint: CGPoint var accessibilityLanguage: String? var accessibilityElementsHidden: Bool var accessibilityViewIsModal: Bool var shouldGroupAccessibilityChildren: Bool var accessibilityNavigationStyle: UIAccessibilityNavigationStyle var accessibilityHeaderElements: [Any]? var accessibilityCustomRotors: [UIAccessibilityCustomRotor]? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension SKTexture { convenience init(noiseMap noiseMap: GKNoiseMap) class func withNoiseMap(_ noiseMap: GKNoiseMap) -> Self } extension SKTexture : CVarArg { } extension SKTexture : CustomPlaygroundQuickLookable { var customPlaygroundQuickLook: PlaygroundQuickLook { get } } extension SKTexture : Equatable, Hashable { var hashValue: Int { get } } extension SKTexture : CustomPlaygroundQuickLookable { var customPlaygroundQuickLook: PlaygroundQuickLook { get } } | CVarArg, CustomPlaygroundQuickLookable, Equatable, Hashable, NSCoding, NSCopying |
Declaration | |
---|---|
From | func textureByApplyingCIFilter(_ filter: CIFilter) -> Self |
To | func applying(_ filter: CIFilter) -> Self |
Modified SKTexture.cgImage() -> CGImage
Declaration | |
---|---|
From | func CGImage() -> CGImage |
To | func cgImage() -> CGImage |
Declaration | |
---|---|
From | func textureByGeneratingNormalMap() -> Self |
To | func generatingNormalMap() -> Self |
Declaration | |
---|---|
From | func textureByGeneratingNormalMapWithSmoothness(_ smoothness: CGFloat, contrast contrast: CGFloat) -> Self |
To | func generatingNormalMap(withSmoothness smoothness: CGFloat, contrast contrast: CGFloat) -> Self |
Modified SKTexture.init(cgImage: CGImage)
Declaration | |
---|---|
From | convenience init(CGImage image: CGImage) |
To | convenience init(cgImage image: CGImage) |
Declaration | |
---|---|
From | convenience init(data pixelData: NSData, size size: CGSize) |
To | convenience init(data pixelData: Data, size size: CGSize) |
Declaration | |
---|---|
From | convenience init(data pixelData: NSData, size size: CGSize, flipped flipped: Bool) |
To | convenience init(data pixelData: Data, size size: CGSize, flipped flipped: Bool) |
Declaration | |
---|---|
From | convenience init(data pixelData: NSData, size size: CGSize, rowLength rowLength: UInt32, alignment alignment: UInt32) |
To | convenience init(data pixelData: Data, size size: CGSize, rowLength rowLength: UInt32, alignment alignment: UInt32) |
Declaration | |
---|---|
From | convenience init(rect rect: CGRect, inTexture texture: SKTexture) |
To | convenience init(rect rect: CGRect, in texture: SKTexture) |
Declaration | |
---|---|
From | class func preloadTextures(_ textures: [SKTexture], withCompletionHandler completionHandler: () -> Void) |
To | class func preload(_ textures: [SKTexture], withCompletionHandler completionHandler: @escaping () -> Swift.Void) |
Declaration | |
---|---|
From | func preloadWithCompletionHandler(_ completionHandler: () -> Void) |
To | func preload(completionHandler completionHandler: @escaping () -> Swift.Void) |
Modified SKTextureAtlas
Declaration | Protocols | |
---|---|---|
From | class SKTextureAtlas : NSObject, NSCoding { convenience init(named name: String) class func atlasNamed(_ name: String) -> Self convenience init(dictionary properties: [String : AnyObject]) class func atlasWithDictionary(_ properties: [String : AnyObject]) -> Self func textureNamed(_ name: String) -> SKTexture class func preloadTextureAtlases(_ textureAtlases: [SKTextureAtlas], withCompletionHandler completionHandler: () -> Void) class func preloadTextureAtlasesNamed(_ atlasNames: [String], withCompletionHandler completionHandler: (NSError?, [SKTextureAtlas]) -> Void) func preloadWithCompletionHandler(_ completionHandler: () -> Void) var textureNames: [String] { get } } extension SKTextureAtlas : _Reflectable { } extension SKTextureAtlas : _Reflectable { } | NSCoding |
To | class SKTextureAtlas : NSObject, NSCoding { convenience init(named name: String) class func atlasNamed(_ name: String) -> Self convenience init(dictionary properties: [String : Any]) class func withDictionary(_ properties: [String : Any]) -> Self func textureNamed(_ name: String) -> SKTexture class func preloadTextureAtlases(_ textureAtlases: [SKTextureAtlas], withCompletionHandler completionHandler: @escaping () -> Swift.Void) class func preloadTextureAtlasesNamed(_ atlasNames: [String], withCompletionHandler completionHandler: @escaping (Error?, [SKTextureAtlas]) -> Swift.Void) func preload(completionHandler completionHandler: @escaping () -> Swift.Void) var textureNames: [String] { get } func awakeFromNib() func prepareForInterfaceBuilder() func accessibilityActivate() -> Bool func accessibilityIncrement() func accessibilityDecrement() func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool func accessibilityPerformEscape() -> Bool func accessibilityPerformMagicTap() -> Bool var accessibilityCustomActions: [UIAccessibilityCustomAction]? func accessibilityElementDidBecomeFocused() func accessibilityElementDidLoseFocus() func accessibilityElementIsFocused() -> Bool func accessibilityAssistiveTechnologyFocusedIdentifiers() -> Set<String>? func accessibilityElementCount() -> Int func accessibilityElement(at index: Int) -> Any? func index(ofAccessibilityElement element: Any) -> Int var accessibilityElements: [Any]? var isAccessibilityElement: Bool var accessibilityLabel: String? var accessibilityHint: String? var accessibilityValue: String? var accessibilityTraits: UIAccessibilityTraits var accessibilityFrame: CGRect @NSCopying var accessibilityPath: UIBezierPath? var accessibilityActivationPoint: CGPoint var accessibilityLanguage: String? var accessibilityElementsHidden: Bool var accessibilityViewIsModal: Bool var shouldGroupAccessibilityChildren: Bool var accessibilityNavigationStyle: UIAccessibilityNavigationStyle var accessibilityHeaderElements: [Any]? var accessibilityCustomRotors: [UIAccessibilityCustomRotor]? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension SKTextureAtlas : CVarArg { } extension SKTextureAtlas : CustomPlaygroundQuickLookable { var customPlaygroundQuickLook: PlaygroundQuickLook { get } } extension SKTextureAtlas : Equatable, Hashable { var hashValue: Int { get } } extension SKTextureAtlas : CustomPlaygroundQuickLookable { var customPlaygroundQuickLook: PlaygroundQuickLook { get } } | CVarArg, CustomPlaygroundQuickLookable, Equatable, Hashable, NSCoding |
Declaration | |
---|---|
From | convenience init(dictionary properties: [String : AnyObject]) |
To | convenience init(dictionary properties: [String : Any]) |
Declaration | |
---|---|
From | func preloadWithCompletionHandler(_ completionHandler: () -> Void) |
To | func preload(completionHandler completionHandler: @escaping () -> Swift.Void) |
Declaration | |
---|---|
From | class func preloadTextureAtlases(_ textureAtlases: [SKTextureAtlas], withCompletionHandler completionHandler: () -> Void) |
To | class func preloadTextureAtlases(_ textureAtlases: [SKTextureAtlas], withCompletionHandler completionHandler: @escaping () -> Swift.Void) |
Declaration | |
---|---|
From | class func preloadTextureAtlasesNamed(_ atlasNames: [String], withCompletionHandler completionHandler: (NSError?, [SKTextureAtlas]) -> Void) |
To | class func preloadTextureAtlasesNamed(_ atlasNames: [String], withCompletionHandler completionHandler: @escaping (Error?, [SKTextureAtlas]) -> Swift.Void) |
Modified SKTextureFilteringMode [enum]
Declaration | |
---|---|
From | enum SKTextureFilteringMode : Int { case Nearest case Linear } |
To | enum SKTextureFilteringMode : Int { case nearest case linear } |
Modified SKTextureFilteringMode.linear
Declaration | |
---|---|
From | case Linear |
To | case linear |
Modified SKTextureFilteringMode.nearest
Declaration | |
---|---|
From | case Nearest |
To | case nearest |
Modified SKTransition
Declaration | Protocols | |
---|---|---|
From | class SKTransition : NSObject, NSCopying { class func crossFadeWithDuration(_ sec: NSTimeInterval) -> SKTransition class func fadeWithDuration(_ sec: NSTimeInterval) -> SKTransition class func fadeWithColor(_ color: UIColor, duration sec: NSTimeInterval) -> SKTransition class func flipHorizontalWithDuration(_ sec: NSTimeInterval) -> SKTransition class func flipVerticalWithDuration(_ sec: NSTimeInterval) -> SKTransition class func revealWithDirection(_ direction: SKTransitionDirection, duration sec: NSTimeInterval) -> SKTransition class func moveInWithDirection(_ direction: SKTransitionDirection, duration sec: NSTimeInterval) -> SKTransition class func pushWithDirection(_ direction: SKTransitionDirection, duration sec: NSTimeInterval) -> SKTransition class func doorsOpenHorizontalWithDuration(_ sec: NSTimeInterval) -> SKTransition class func doorsOpenVerticalWithDuration(_ sec: NSTimeInterval) -> SKTransition class func doorsCloseHorizontalWithDuration(_ sec: NSTimeInterval) -> SKTransition class func doorsCloseVerticalWithDuration(_ sec: NSTimeInterval) -> SKTransition class func doorwayWithDuration(_ sec: NSTimeInterval) -> SKTransition init(CIFilter filter: CIFilter, duration sec: NSTimeInterval) class func transitionWithCIFilter(_ filter: CIFilter, duration sec: NSTimeInterval) -> SKTransition var pausesIncomingScene: Bool var pausesOutgoingScene: Bool } | NSCopying |
To | class SKTransition : NSObject, NSCopying { class func crossFade(withDuration sec: TimeInterval) -> SKTransition class func fade(withDuration sec: TimeInterval) -> SKTransition class func fade(with color: UIColor, duration sec: TimeInterval) -> SKTransition class func flipHorizontal(withDuration sec: TimeInterval) -> SKTransition class func flipVertical(withDuration sec: TimeInterval) -> SKTransition class func reveal(with direction: SKTransitionDirection, duration sec: TimeInterval) -> SKTransition class func moveIn(with direction: SKTransitionDirection, duration sec: TimeInterval) -> SKTransition class func push(with direction: SKTransitionDirection, duration sec: TimeInterval) -> SKTransition class func doorsOpenHorizontal(withDuration sec: TimeInterval) -> SKTransition class func doorsOpenVertical(withDuration sec: TimeInterval) -> SKTransition class func doorsCloseHorizontal(withDuration sec: TimeInterval) -> SKTransition class func doorsCloseVertical(withDuration sec: TimeInterval) -> SKTransition class func doorway(withDuration sec: TimeInterval) -> SKTransition init(ciFilter filter: CIFilter, duration sec: TimeInterval) class func withCIFilter(_ filter: CIFilter, duration sec: TimeInterval) -> SKTransition var pausesIncomingScene: Bool var pausesOutgoingScene: Bool func awakeFromNib() func prepareForInterfaceBuilder() func accessibilityActivate() -> Bool func accessibilityIncrement() func accessibilityDecrement() func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool func accessibilityPerformEscape() -> Bool func accessibilityPerformMagicTap() -> Bool var accessibilityCustomActions: [UIAccessibilityCustomAction]? func accessibilityElementDidBecomeFocused() func accessibilityElementDidLoseFocus() func accessibilityElementIsFocused() -> Bool func accessibilityAssistiveTechnologyFocusedIdentifiers() -> Set<String>? func accessibilityElementCount() -> Int func accessibilityElement(at index: Int) -> Any? func index(ofAccessibilityElement element: Any) -> Int var accessibilityElements: [Any]? var isAccessibilityElement: Bool var accessibilityLabel: String? var accessibilityHint: String? var accessibilityValue: String? var accessibilityTraits: UIAccessibilityTraits var accessibilityFrame: CGRect @NSCopying var accessibilityPath: UIBezierPath? var accessibilityActivationPoint: CGPoint var accessibilityLanguage: String? var accessibilityElementsHidden: Bool var accessibilityViewIsModal: Bool var shouldGroupAccessibilityChildren: Bool var accessibilityNavigationStyle: UIAccessibilityNavigationStyle var accessibilityHeaderElements: [Any]? var accessibilityCustomRotors: [UIAccessibilityCustomRotor]? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension SKTransition : CVarArg { } extension SKTransition : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCopying |
Declaration | |
---|---|
From | class func crossFadeWithDuration(_ sec: NSTimeInterval) -> SKTransition |
To | class func crossFade(withDuration sec: TimeInterval) -> SKTransition |
Declaration | |
---|---|
From | class func doorsCloseHorizontalWithDuration(_ sec: NSTimeInterval) -> SKTransition |
To | class func doorsCloseHorizontal(withDuration sec: TimeInterval) -> SKTransition |
Declaration | |
---|---|
From | class func doorsCloseVerticalWithDuration(_ sec: NSTimeInterval) -> SKTransition |
To | class func doorsCloseVertical(withDuration sec: TimeInterval) -> SKTransition |
Declaration | |
---|---|
From | class func doorsOpenHorizontalWithDuration(_ sec: NSTimeInterval) -> SKTransition |
To | class func doorsOpenHorizontal(withDuration sec: TimeInterval) -> SKTransition |
Declaration | |
---|---|
From | class func doorsOpenVerticalWithDuration(_ sec: NSTimeInterval) -> SKTransition |
To | class func doorsOpenVertical(withDuration sec: TimeInterval) -> SKTransition |
Declaration | |
---|---|
From | class func doorwayWithDuration(_ sec: NSTimeInterval) -> SKTransition |
To | class func doorway(withDuration sec: TimeInterval) -> SKTransition |
Declaration | |
---|---|
From | class func fadeWithColor(_ color: UIColor, duration sec: NSTimeInterval) -> SKTransition |
To | class func fade(with color: UIColor, duration sec: TimeInterval) -> SKTransition |
Declaration | |
---|---|
From | class func fadeWithDuration(_ sec: NSTimeInterval) -> SKTransition |
To | class func fade(withDuration sec: TimeInterval) -> SKTransition |
Declaration | |
---|---|
From | class func flipHorizontalWithDuration(_ sec: NSTimeInterval) -> SKTransition |
To | class func flipHorizontal(withDuration sec: TimeInterval) -> SKTransition |
Declaration | |
---|---|
From | class func flipVerticalWithDuration(_ sec: NSTimeInterval) -> SKTransition |
To | class func flipVertical(withDuration sec: TimeInterval) -> SKTransition |
Declaration | |
---|---|
From | init(CIFilter filter: CIFilter, duration sec: NSTimeInterval) |
To | init(ciFilter filter: CIFilter, duration sec: TimeInterval) |
Modified SKTransition.moveIn(with: SKTransitionDirection, duration: TimeInterval) -> SKTransition [class]
Declaration | |
---|---|
From | class func moveInWithDirection(_ direction: SKTransitionDirection, duration sec: NSTimeInterval) -> SKTransition |
To | class func moveIn(with direction: SKTransitionDirection, duration sec: TimeInterval) -> SKTransition |
Modified SKTransition.push(with: SKTransitionDirection, duration: TimeInterval) -> SKTransition [class]
Declaration | |
---|---|
From | class func pushWithDirection(_ direction: SKTransitionDirection, duration sec: NSTimeInterval) -> SKTransition |
To | class func push(with direction: SKTransitionDirection, duration sec: TimeInterval) -> SKTransition |
Modified SKTransition.reveal(with: SKTransitionDirection, duration: TimeInterval) -> SKTransition [class]
Declaration | |
---|---|
From | class func revealWithDirection(_ direction: SKTransitionDirection, duration sec: NSTimeInterval) -> SKTransition |
To | class func reveal(with direction: SKTransitionDirection, duration sec: TimeInterval) -> SKTransition |
Modified SKTransitionDirection [enum]
Declaration | |
---|---|
From | enum SKTransitionDirection : Int { case Up case Down case Right case Left } |
To | enum SKTransitionDirection : Int { case up case down case right case left } |
Modified SKTransitionDirection.down
Declaration | |
---|---|
From | case Down |
To | case down |
Modified SKTransitionDirection.left
Declaration | |
---|---|
From | case Left |
To | case left |
Modified SKTransitionDirection.right
Declaration | |
---|---|
From | case Right |
To | case right |
Modified SKTransitionDirection.up
Declaration | |
---|---|
From | case Up |
To | case up |
Modified SKUniform
Declaration | Protocols | |
---|---|---|
From | class SKUniform : NSObject, NSCopying, NSCoding { convenience init(name name: String) class func uniformWithName(_ name: String) -> Self convenience init(name name: String, texture texture: SKTexture) class func uniformWithName(_ name: String, texture texture: SKTexture) -> Self convenience init(name name: String, float value: Float) class func uniformWithName(_ name: String, float value: Float) -> Self convenience init(name name: String, floatVector2 value: GLKVector2) class func uniformWithName(_ name: String, floatVector2 value: GLKVector2) -> Self convenience init(name name: String, floatVector3 value: GLKVector3) class func uniformWithName(_ name: String, floatVector3 value: GLKVector3) -> Self convenience init(name name: String, floatVector4 value: GLKVector4) class func uniformWithName(_ name: String, floatVector4 value: GLKVector4) -> Self convenience init(name name: String, floatMatrix2 value: GLKMatrix2) class func uniformWithName(_ name: String, floatMatrix2 value: GLKMatrix2) -> Self convenience init(name name: String, floatMatrix3 value: GLKMatrix3) class func uniformWithName(_ name: String, floatMatrix3 value: GLKMatrix3) -> Self convenience init(name name: String, floatMatrix4 value: GLKMatrix4) class func uniformWithName(_ name: String, floatMatrix4 value: GLKMatrix4) -> Self var name: String { get } var uniformType: SKUniformType { get } var textureValue: SKTexture? var floatValue: Float var floatVector2Value: GLKVector2 var floatVector3Value: GLKVector3 var floatVector4Value: GLKVector4 var floatMatrix2Value: GLKMatrix2 var floatMatrix3Value: GLKMatrix3 var floatMatrix4Value: GLKMatrix4 init(name name: String) init(name name: String, texture texture: SKTexture?) init(name name: String, float value: Float) init(name name: String, floatVector2 value: GLKVector2) init(name name: String, floatVector3 value: GLKVector3) init(name name: String, floatVector4 value: GLKVector4) init(name name: String, floatMatrix2 value: GLKMatrix2) init(name name: String, floatMatrix3 value: GLKMatrix3) init(name name: String, floatMatrix4 value: GLKMatrix4) } | NSCoding, NSCopying |
To | class SKUniform : NSObject, NSCopying, NSCoding { convenience init(name name: String) class func withName(_ name: String) -> Self convenience init(name name: String, texture texture: SKTexture?) class func withName(_ name: String, texture texture: SKTexture?) -> Self convenience init(name name: String, float value: Float) class func withName(_ name: String, float value: Float) -> Self convenience init(name name: String, vectorFloat2 value: vector_float2) class func withName(_ name: String, vectorFloat2 value: vector_float2) -> Self convenience init(name name: String, vectorFloat3 value: vector_float3) class func withName(_ name: String, vectorFloat3 value: vector_float3) -> Self convenience init(name name: String, vectorFloat4 value: vector_float4) class func withName(_ name: String, vectorFloat4 value: vector_float4) -> Self convenience init(name name: String, matrixFloat2x2 value: matrix_float2x2) class func withName(_ name: String, matrixFloat2x2 value: matrix_float2x2) -> Self convenience init(name name: String, matrixFloat3x3 value: matrix_float3x3) class func withName(_ name: String, matrixFloat3x3 value: matrix_float3x3) -> Self convenience init(name name: String, matrixFloat4x4 value: matrix_float4x4) class func withName(_ name: String, matrixFloat4x4 value: matrix_float4x4) -> Self var name: String { get } var uniformType: SKUniformType { get } var textureValue: SKTexture? var floatValue: Float var vectorFloat2Value: vector_float2 var vectorFloat3Value: vector_float3 var vectorFloat4Value: vector_float4 var matrixFloat2x2Value: matrix_float2x2 var matrixFloat3x3Value: matrix_float3x3 var matrixFloat4x4Value: matrix_float4x4 init(name name: String) init(name name: String, texture texture: SKTexture?) init(name name: String, float value: Float) init(name name: String, vectorFloat2 value: vector_float2) init(name name: String, vectorFloat3 value: vector_float3) init(name name: String, vectorFloat4 value: vector_float4) init(name name: String, matrixFloat2x2 value: matrix_float2x2) init(name name: String, matrixFloat3x3 value: matrix_float3x3) init(name name: String, matrixFloat4x4 value: matrix_float4x4) var floatVector2Value: GLKVector2 var floatVector3Value: GLKVector3 var floatVector4Value: GLKVector4 var floatMatrix2Value: GLKMatrix2 var floatMatrix3Value: GLKMatrix3 var floatMatrix4Value: GLKMatrix4 convenience init(name name: String, float value: GLKVector2) class func withName(_ name: String, float value: GLKVector2) -> Self convenience init(name name: String, float value: GLKVector3) class func withName(_ name: String, float value: GLKVector3) -> Self convenience init(name name: String, float value: GLKVector4) class func withName(_ name: String, float value: GLKVector4) -> Self convenience init(name name: String, float value: GLKMatrix2) class func withName(_ name: String, float value: GLKMatrix2) -> Self convenience init(name name: String, float value: GLKMatrix3) class func withName(_ name: String, float value: GLKMatrix3) -> Self convenience init(name name: String, float value: GLKMatrix4) class func withName(_ name: String, float value: GLKMatrix4) -> Self init(name name: String, float value: GLKVector2) init(name name: String, float value: GLKVector3) init(name name: String, float value: GLKVector4) init(name name: String, float value: GLKMatrix2) init(name name: String, float value: GLKMatrix3) init(name name: String, float value: GLKMatrix4) func awakeFromNib() func prepareForInterfaceBuilder() func accessibilityActivate() -> Bool func accessibilityIncrement() func accessibilityDecrement() func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool func accessibilityPerformEscape() -> Bool func accessibilityPerformMagicTap() -> Bool var accessibilityCustomActions: [UIAccessibilityCustomAction]? func accessibilityElementDidBecomeFocused() func accessibilityElementDidLoseFocus() func accessibilityElementIsFocused() -> Bool func accessibilityAssistiveTechnologyFocusedIdentifiers() -> Set<String>? func accessibilityElementCount() -> Int func accessibilityElement(at index: Int) -> Any? func index(ofAccessibilityElement element: Any) -> Int var accessibilityElements: [Any]? var isAccessibilityElement: Bool var accessibilityLabel: String? var accessibilityHint: String? var accessibilityValue: String? var accessibilityTraits: UIAccessibilityTraits var accessibilityFrame: CGRect @NSCopying var accessibilityPath: UIBezierPath? var accessibilityActivationPoint: CGPoint var accessibilityLanguage: String? var accessibilityElementsHidden: Bool var accessibilityViewIsModal: Bool var shouldGroupAccessibilityChildren: Bool var accessibilityNavigationStyle: UIAccessibilityNavigationStyle var accessibilityHeaderElements: [Any]? var accessibilityCustomRotors: [UIAccessibilityCustomRotor]? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension SKUniform : CVarArg { } extension SKUniform : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCoding, NSCopying |
Modified SKUniform.floatMatrix2Value
Introduction | Deprecation | |
---|---|---|
From | iOS 8.3 | -- |
To | iOS 7.0 | iOS 10.0 |
Modified SKUniform.floatMatrix3Value
Introduction | Deprecation | |
---|---|---|
From | iOS 8.3 | -- |
To | iOS 7.0 | iOS 10.0 |
Modified SKUniform.floatMatrix4Value
Introduction | Deprecation | |
---|---|---|
From | iOS 8.3 | -- |
To | iOS 7.0 | iOS 10.0 |
Modified SKUniform.floatVector2Value
Introduction | Deprecation | |
---|---|---|
From | iOS 8.3 | -- |
To | iOS 7.0 | iOS 10.0 |
Modified SKUniform.floatVector3Value
Introduction | Deprecation | |
---|---|---|
From | iOS 8.3 | -- |
To | iOS 7.0 | iOS 10.0 |
Modified SKUniform.floatVector4Value
Introduction | Deprecation | |
---|---|---|
From | iOS 8.3 | -- |
To | iOS 7.0 | iOS 10.0 |
Declaration | Introduction | Deprecation | |
---|---|---|---|
From | init(name name: String, floatVector3 value: GLKVector3) | iOS 8.3 | -- |
To | init(name name: String, float value: GLKVector3) | iOS 7.0 | iOS 10.0 |
Declaration | Introduction | Deprecation | |
---|---|---|---|
From | init(name name: String, floatMatrix2 value: GLKMatrix2) | iOS 8.3 | -- |
To | init(name name: String, float value: GLKMatrix2) | iOS 7.0 | iOS 10.0 |
Declaration | Introduction | Deprecation | |
---|---|---|---|
From | init(name name: String, floatMatrix4 value: GLKMatrix4) | iOS 8.3 | -- |
To | init(name name: String, float value: GLKMatrix4) | iOS 7.0 | iOS 10.0 |
Declaration | Introduction | Deprecation | |
---|---|---|---|
From | init(name name: String, floatVector2 value: GLKVector2) | iOS 8.3 | -- |
To | init(name name: String, float value: GLKVector2) | iOS 7.0 | iOS 10.0 |
Declaration | Introduction | Deprecation | |
---|---|---|---|
From | init(name name: String, floatVector4 value: GLKVector4) | iOS 8.3 | -- |
To | init(name name: String, float value: GLKVector4) | iOS 7.0 | iOS 10.0 |
Declaration | Introduction | Deprecation | |
---|---|---|---|
From | init(name name: String, floatMatrix3 value: GLKMatrix3) | iOS 8.3 | -- |
To | init(name name: String, float value: GLKMatrix3) | iOS 7.0 | iOS 10.0 |
Modified SKUniformType [enum]
Declaration | |
---|---|
From | enum SKUniformType : Int { case None case Float case FloatVector2 case FloatVector3 case FloatVector4 case FloatMatrix2 case FloatMatrix3 case FloatMatrix4 case Texture } |
To | enum SKUniformType : Int { case none case float case floatVector2 case floatVector3 case floatVector4 case floatMatrix2 case floatMatrix3 case floatMatrix4 case texture } |
Modified SKUniformType.float
Declaration | |
---|---|
From | case Float |
To | case float |
Modified SKUniformType.floatMatrix2
Declaration | |
---|---|
From | case FloatMatrix2 |
To | case floatMatrix2 |
Modified SKUniformType.floatMatrix3
Declaration | |
---|---|
From | case FloatMatrix3 |
To | case floatMatrix3 |
Modified SKUniformType.floatMatrix4
Declaration | |
---|---|
From | case FloatMatrix4 |
To | case floatMatrix4 |
Modified SKUniformType.floatVector2
Declaration | |
---|---|
From | case FloatVector2 |
To | case floatVector2 |
Modified SKUniformType.floatVector3
Declaration | |
---|---|
From | case FloatVector3 |
To | case floatVector3 |
Modified SKUniformType.floatVector4
Declaration | |
---|---|
From | case FloatVector4 |
To | case floatVector4 |
Modified SKUniformType.none
Declaration | |
---|---|
From | case None |
To | case none |
Modified SKUniformType.texture
Declaration | |
---|---|
From | case Texture |
To | case texture |
Modified SKVideoNode
Declaration | |
---|---|
From | class SKVideoNode : SKNode { init(AVPlayer player: AVPlayer) class func videoNodeWithAVPlayer(_ player: AVPlayer) -> SKVideoNode init(videoFileNamed videoFile: String) class func videoNodeWithVideoFileNamed(_ videoFile: String) -> SKVideoNode init(fileNamed videoFile: String) class func videoNodeWithFileNamed(_ videoFile: String) -> SKVideoNode init(videoURL videoURL: NSURL) class func videoNodeWithVideoURL(_ videoURL: NSURL) -> SKVideoNode init(URL videoURL: NSURL) class func videoNodeWithURL(_ videoURL: NSURL) -> SKVideoNode init(AVPlayer player: AVPlayer) init(videoFileNamed videoFile: String) init(fileNamed videoFile: String) init(videoURL url: NSURL) init(URL url: NSURL) init?(coder aDecoder: NSCoder) func play() func pause() var size: CGSize var anchorPoint: CGPoint } |
To | class SKVideoNode : SKNode { init(avPlayer player: AVPlayer) class func withAVPlayer(_ player: AVPlayer) -> SKVideoNode init(videoFileNamed videoFile: String) class func withVideoFileNamed(_ videoFile: String) -> SKVideoNode init(fileNamed videoFile: String) class func withFileNamed(_ videoFile: String) -> SKVideoNode init(videoURL videoURL: URL) class func withVideoURL(_ videoURL: URL) -> SKVideoNode init(url videoURL: URL) class func withURL(_ videoURL: URL) -> SKVideoNode init(avPlayer player: AVPlayer) init(videoFileNamed videoFile: String) init(fileNamed videoFile: String) init(videoURL url: URL) init(url url: URL) init?(coder aDecoder: NSCoder) func play() func pause() var size: CGSize var anchorPoint: CGPoint } |
Modified SKVideoNode.init(avPlayer: AVPlayer)
Declaration | |
---|---|
From | init(AVPlayer player: AVPlayer) |
To | init(avPlayer player: AVPlayer) |
Modified SKVideoNode.init(url: URL)
Declaration | |
---|---|
From | init(URL url: NSURL) |
To | init(url url: URL) |
Modified SKVideoNode.init(videoURL: URL)
Declaration | |
---|---|
From | init(videoURL url: NSURL) |
To | init(videoURL url: URL) |
Modified SKView
Declaration | Protocols | |
---|---|---|
From | class SKView : UIView { var paused: Bool var showsFPS: Bool var showsDrawCount: Bool var showsNodeCount: Bool var showsQuadCount: Bool var showsPhysics: Bool var showsFields: Bool var asynchronous: Bool var allowsTransparency: Bool var ignoresSiblingOrder: Bool var shouldCullNonVisibleNodes: Bool var frameInterval: Int func presentScene(_ scene: SKScene?) func presentScene(_ scene: SKScene, transition transition: SKTransition) var scene: SKScene? { get } func textureFromNode(_ node: SKNode) -> SKTexture? func textureFromNode(_ node: SKNode, crop crop: CGRect) -> SKTexture? func convertPoint(_ point: CGPoint, toScene scene: SKScene) -> CGPoint func convertPoint(_ point: CGPoint, fromScene scene: SKScene) -> CGPoint } | -- |
To | class SKView : UIView { var isPaused: Bool var showsFPS: Bool var showsDrawCount: Bool var showsNodeCount: Bool var showsQuadCount: Bool var showsPhysics: Bool var showsFields: Bool var isAsynchronous: Bool var allowsTransparency: Bool var ignoresSiblingOrder: Bool var shouldCullNonVisibleNodes: Bool var preferredFramesPerSecond: Int weak var delegate: SKViewDelegate? var frameInterval: Int var preferredFrameRate: Float func presentScene(_ scene: SKScene?) func presentScene(_ scene: SKScene, transition transition: SKTransition) var scene: SKScene? { get } func texture(from node: SKNode) -> SKTexture? func texture(from node: SKNode, crop crop: CGRect) -> SKTexture? func convert(_ point: CGPoint, to scene: SKScene) -> CGPoint func convert(_ point: CGPoint, from scene: SKScene) -> CGPoint func viewPrintFormatter() -> UIViewPrintFormatter func draw(_ rect: CGRect, for formatter: UIViewPrintFormatter) func endEditing(_ force: Bool) -> Bool func snapshotView(afterScreenUpdates afterUpdates: Bool) -> UIView? func resizableSnapshotView(from rect: CGRect, afterScreenUpdates afterUpdates: Bool, withCapInsets capInsets: UIEdgeInsets) -> UIView? func drawHierarchy(in rect: CGRect, afterScreenUpdates afterUpdates: Bool) -> Bool var restorationIdentifier: String? func encodeRestorableState(with coder: NSCoder) func decodeRestorableState(with coder: NSCoder) func constraintsAffectingLayout(for axis: UILayoutConstraintAxis) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var layoutGuides: [UILayoutGuide] { get } func addLayoutGuide(_ layoutGuide: UILayoutGuide) func removeLayoutGuide(_ layoutGuide: UILayoutGuide) func systemLayoutSizeFitting(_ targetSize: CGSize) -> CGSize func systemLayoutSizeFitting(_ targetSize: CGSize, withHorizontalFittingPriority horizontalFittingPriority: UILayoutPriority, verticalFittingPriority verticalFittingPriority: UILayoutPriority) -> CGSize func alignmentRect(forFrame frame: CGRect) -> CGRect func frame(forAlignmentRect alignmentRect: CGRect) -> CGRect var alignmentRectInsets: UIEdgeInsets { get } func forBaselineLayout() -> UIView var forFirstBaselineLayout: UIView { get } var forLastBaselineLayout: UIView { get } var intrinsicContentSize: CGSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for axis: UILayoutConstraintAxis) -> UILayoutPriority func setContentHuggingPriority(_ priority: UILayoutPriority, for axis: UILayoutConstraintAxis) func contentCompressionResistancePriority(for axis: UILayoutConstraintAxis) -> UILayoutPriority func setContentCompressionResistancePriority(_ priority: UILayoutPriority, for axis: UILayoutConstraintAxis) var translatesAutoresizingMaskIntoConstraints: Bool class var requiresConstraintBasedLayout: Bool { get } func updateConstraintsIfNeeded() func updateConstraints() func needsUpdateConstraints() -> Bool func setNeedsUpdateConstraints() var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) func addMotionEffect(_ effect: UIMotionEffect) func removeMotionEffect(_ effect: UIMotionEffect) var motionEffects: [UIMotionEffect] var gestureRecognizers: [UIGestureRecognizer]? func addGestureRecognizer(_ gestureRecognizer: UIGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: UIGestureRecognizer) func gestureRecognizerShouldBegin(_ gestureRecognizer: UIGestureRecognizer) -> Bool class func animateKeyframes(withDuration duration: TimeInterval, delay delay: TimeInterval, options options: UIViewKeyframeAnimationOptions = [], animations animations: @escaping () -> Void, completion completion: (@escaping (Bool) -> Void)? = nil) class func addKeyframe(withRelativeStartTime frameStartTime: Double, relativeDuration frameDuration: Double, animations animations: @escaping () -> Void) class func animate(withDuration duration: TimeInterval, delay delay: TimeInterval, options options: UIViewAnimationOptions = [], animations animations: @escaping () -> Void, completion completion: (@escaping (Bool) -> Void)? = nil) class func animate(withDuration duration: TimeInterval, animations animations: @escaping () -> Void, completion completion: (@escaping (Bool) -> Void)? = nil) class func animate(withDuration duration: TimeInterval, animations animations: @escaping () -> Void) class func animate(withDuration duration: TimeInterval, delay delay: TimeInterval, usingSpringWithDamping dampingRatio: CGFloat, initialSpringVelocity velocity: CGFloat, options options: UIViewAnimationOptions = [], animations animations: @escaping () -> Void, completion completion: (@escaping (Bool) -> Void)? = nil) class func transition(with view: UIView, duration duration: TimeInterval, options options: UIViewAnimationOptions = [], animations animations: (@escaping () -> Void)?, completion completion: (@escaping (Bool) -> Void)? = nil) class func transition(from fromView: UIView, to toView: UIView, duration duration: TimeInterval, options options: UIViewAnimationOptions = [], completion completion: (@escaping (Bool) -> Void)? = nil) class func perform(_ animation: UISystemAnimation, on views: [UIView], options options: UIViewAnimationOptions = [], animations parallelAnimations: (@escaping () -> Void)?, completion completion: (@escaping (Bool) -> Void)? = nil) class func beginAnimations(_ animationID: String?, context context: UnsafeMutableRawPointer?) class func commitAnimations() class func setAnimationDelegate(_ delegate: Any?) class func setAnimationWillStart(_ selector: Selector?) class func setAnimationDidStop(_ selector: Selector?) class func setAnimationDuration(_ duration: TimeInterval) class func setAnimationDelay(_ delay: TimeInterval) class func setAnimationStart(_ startDate: Date) class func setAnimationCurve(_ curve: UIViewAnimationCurve) class func setAnimationRepeatCount(_ repeatCount: Float) class func setAnimationRepeatAutoreverses(_ repeatAutoreverses: Bool) class func setAnimationBeginsFromCurrentState(_ fromCurrentState: Bool) class func setAnimationTransition(_ transition: UIViewAnimationTransition, for view: UIView, cache cache: Bool) class func setAnimationsEnabled(_ enabled: Bool) class var areAnimationsEnabled: Bool { get } class func performWithoutAnimation(_ actionsWithoutAnimation: () -> Void) class var inheritedAnimationDuration: TimeInterval { get } func draw(_ rect: CGRect) func setNeedsDisplay() func setNeedsDisplay(_ rect: CGRect) var clipsToBounds: Bool @NSCopying var backgroundColor: UIColor? var alpha: CGFloat var isOpaque: Bool var clearsContextBeforeDrawing: Bool var isHidden: Bool var contentMode: UIViewContentMode var contentStretch: CGRect var mask: UIView? var tintColor: UIColor! var tintAdjustmentMode: UIViewTintAdjustmentMode func tintColorDidChange() var superview: UIView? { get } var subviews: [UIView] { get } var window: UIWindow? { get } func removeFromSuperview() func insertSubview(_ view: UIView, at index: Int) func exchangeSubview(at index1: Int, withSubviewAt index2: Int) func addSubview(_ view: UIView) func insertSubview(_ view: UIView, belowSubview siblingSubview: UIView) func insertSubview(_ view: UIView, aboveSubview siblingSubview: UIView) func bringSubview(toFront view: UIView) func sendSubview(toBack view: UIView) func didAddSubview(_ subview: UIView) func willRemoveSubview(_ subview: UIView) func willMove(toSuperview newSuperview: UIView?) func didMoveToSuperview() func willMove(toWindow newWindow: UIWindow?) func didMoveToWindow() func isDescendant(of view: UIView) -> Bool func viewWithTag(_ tag: Int) -> UIView? func setNeedsLayout() func layoutIfNeeded() func layoutSubviews() var layoutMargins: UIEdgeInsets var preservesSuperviewLayoutMargins: Bool func layoutMarginsDidChange() var layoutMarginsGuide: UILayoutGuide { get } var readableContentGuide: UILayoutGuide { get } var frame: CGRect var bounds: CGRect var center: CGPoint var transform: CGAffineTransform var contentScaleFactor: CGFloat var isMultipleTouchEnabled: Bool var isExclusiveTouch: Bool func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? func point(inside point: CGPoint, with event: UIEvent?) -> Bool func convert(_ point: CGPoint, to view: UIView?) -> CGPoint func convert(_ point: CGPoint, from view: UIView?) -> CGPoint func convert(_ rect: CGRect, to view: UIView?) -> CGRect func convert(_ rect: CGRect, from view: UIView?) -> CGRect var autoresizesSubviews: Bool var autoresizingMask: UIViewAutoresizing func sizeThatFits(_ size: CGSize) -> CGSize func sizeToFit() var userActivity: NSUserActivity? func updateUserActivityState(_ activity: NSUserActivity) func restoreUserActivityState(_ activity: NSUserActivity) var inputView: UIView? { get } var inputAccessoryView: UIView? { get } var inputAssistantItem: UITextInputAssistantItem { get } var inputViewController: UIInputViewController? { get } var inputAccessoryViewController: UIInputViewController? { get } var textInputMode: UITextInputMode? { get } var textInputContextIdentifier: String? { get } class func clearTextInputContextIdentifier(_ identifier: String) func reloadInputViews() var keyCommands: [UIKeyCommand]? { get } func awakeFromNib() func prepareForInterfaceBuilder() func accessibilityActivate() -> Bool func accessibilityIncrement() func accessibilityDecrement() func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool func accessibilityPerformEscape() -> Bool func accessibilityPerformMagicTap() -> Bool var accessibilityCustomActions: [UIAccessibilityCustomAction]? func accessibilityElementDidBecomeFocused() func accessibilityElementDidLoseFocus() func accessibilityElementIsFocused() -> Bool func accessibilityAssistiveTechnologyFocusedIdentifiers() -> Set<String>? func accessibilityElementCount() -> Int func accessibilityElement(at index: Int) -> Any? func index(ofAccessibilityElement element: Any) -> Int var accessibilityElements: [Any]? var isAccessibilityElement: Bool var accessibilityLabel: String? var accessibilityHint: String? var accessibilityValue: String? var accessibilityTraits: UIAccessibilityTraits var accessibilityFrame: CGRect @NSCopying var accessibilityPath: UIBezierPath? var accessibilityActivationPoint: CGPoint var accessibilityLanguage: String? var accessibilityElementsHidden: Bool var accessibilityViewIsModal: Bool var shouldGroupAccessibilityChildren: Bool var accessibilityNavigationStyle: UIAccessibilityNavigationStyle var accessibilityHeaderElements: [Any]? var accessibilityCustomRotors: [UIAccessibilityCustomRotor]? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension SKView : UIAccessibilityIdentification { } extension SKView : CVarArg { } extension SKView : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, UIAccessibilityIdentification |
Declaration | |
---|---|
From | func convertPoint(_ point: CGPoint, fromScene scene: SKScene) -> CGPoint |
To | func convert(_ point: CGPoint, from scene: SKScene) -> CGPoint |
Declaration | |
---|---|
From | func convertPoint(_ point: CGPoint, toScene scene: SKScene) -> CGPoint |
To | func convert(_ point: CGPoint, to scene: SKScene) -> CGPoint |
Modified SKView.frameInterval
Introduction | Deprecation | |
---|---|---|
From | iOS 8.0 | -- |
To | iOS 7.0 | iOS 10.0 |
Modified SKView.isAsynchronous
Declaration | |
---|---|
From | var asynchronous: Bool |
To | var isAsynchronous: Bool |
Modified SKView.isPaused
Declaration | |
---|---|
From | var paused: Bool |
To | var isPaused: Bool |
Declaration | |
---|---|
From | func textureFromNode(_ node: SKNode) -> SKTexture? |
To | func texture(from node: SKNode) -> SKTexture? |
Declaration | |
---|---|
From | func textureFromNode(_ node: SKNode, crop crop: CGRect) -> SKTexture? |
To | func texture(from node: SKNode, crop crop: CGRect) -> SKTexture? |
Declaration | |
---|---|
From | func locationInNode(_ node: SKNode) -> CGPoint |
To | func location(in node: SKNode) -> CGPoint |
Declaration | |
---|---|
From | func previousLocationInNode(_ node: SKNode) -> CGPoint |
To | func previousLocation(in node: SKNode) -> CGPoint |
Modified SKFieldForceEvaluator
Declaration | |
---|---|
From | typealias SKFieldForceEvaluator = (vector_float3, vector_float3, Float, Float, NSTimeInterval) -> vector_float3 |
To | typealias SKFieldForceEvaluator = (vector_float3, vector_float3, Float, Float, TimeInterval) -> vector_float3 |