Documentation Archive Developer
Search

GameplayKit Changes for Swift

GameplayKit

Modified GKAgent
Protocols
FromAnyObject
To--

Modified GKAgent2D
Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Modified GKBehavior
Protocols
FromAnyObject, NSFastEnumeration
ToNSFastEnumeration

Protocols
FromAnyObject
To--

Modified GKComponent
Protocols
FromAnyObject, NSCopying
ToNSCopying

Protocols
FromAnyObject, NSFastEnumeration
ToNSFastEnumeration

Modified GKEntity
Protocols
FromAnyObject, NSCopying
ToNSCopying

Protocols
FromAnyObject
To--

Modified GKGoal
Protocols
FromAnyObject, NSCopying
ToNSCopying

Modified GKGraph
Protocols
FromAnyObject
To--

Modified GKGraphNode
Protocols
FromAnyObject
To--

Modified GKGraphNode2D
Protocols
FromAnyObject
To--

Modified GKGridGraph
Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Modified GKObstacle
Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Modified GKPath
Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Protocols
FromAnyObject, GKRandom
ToGKRandom

DeclarationProtocols
From
class GKRandomSource : NSObject, GKRandom, NSSecureCoding, NSCoding, NSCopying {
    init()
    init(coder aDecoder: NSCoder)
    class func sharedRandom() -> GKRandomSource
    func arrayByShufflingObjectsInArray(_ array: [AnyObject]) -> [AnyObject]
}
AnyObject, GKRandom, NSCoding, NSCopying, NSSecureCoding
To
class GKRandomSource : NSObject, GKRandom, NSSecureCoding, NSCopying {
    init()
    init(coder aDecoder: NSCoder)
    class func sharedRandom() -> GKRandomSource
    func arrayByShufflingObjectsInArray(_ array: [AnyObject]) -> [AnyObject]
}
GKRandom, NSCopying, NSSecureCoding

Modified GKRule
Protocols
FromAnyObject
To--

Modified GKRuleSystem
Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Modified GKState
Protocols
FromAnyObject
To--

Protocols
FromAnyObject
To--

Declaration
From
var GKGameModelMaxScore: Int32 { get }
To
let GKGameModelMaxScore: Int