GameKit Changes for Swift
GameKit
Modified GKAchievement
Declaration | |
---|---|
From | class GKAchievement : NSObject, NSCoding, NSSecureCoding { class func loadAchievements(completionHandler completionHandler: (@escaping ([GKAchievement]?, Error?) -> Swift.Void)? = nil) class func resetAchievements(completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) init(identifier identifier: String?) init(identifier identifier: String?, player player: GKPlayer) class func report(_ achievements: [GKAchievement], withCompletionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) var identifier: String? var percentComplete: Double var isCompleted: Bool { get } var lastReportedDate: Date { get } var showsCompletionBanner: Bool var player: GKPlayer? { get } func selectChallengeablePlayerIDs(_ playerIDs: [String]?, withCompletionHandler completionHandler: (@escaping ([String]?, Error?) -> Swift.Void)? = nil) func issueChallenge(toPlayers playerIDs: [String]?, message message: String?) func challengeComposeController(withPlayers playerIDs: [String]?, message message: String?, completionHandler completionHandler: GameKit.GKChallengeComposeCompletionBlock? = nil) -> UIViewController? func challengeComposeController(withMessage message: String?, players players: [GKPlayer], completionHandler completionHandler: GameKit.GKChallengeComposeCompletionBlock? = nil) -> UIViewController func selectChallengeablePlayers(_ players: [GKPlayer], withCompletionHandler completionHandler: (@escaping ([GKPlayer]?, Error?) -> Swift.Void)? = nil) class func report(_ achievements: [GKAchievement], withEligibleChallenges challenges: [GKChallenge], withCompletionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) func report(completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) init(identifier identifier: String?, forPlayer playerID: String) var isHidden: Bool { get } var playerID: 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 GKAchievement : CVarArg { } extension GKAchievement : Equatable, Hashable { var hashValue: Int { get } } extension GKAchievement { func report(completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) init(identifier identifier: String?, forPlayer playerID: String) var isHidden: Bool { get } var playerID: String { get } } extension GKAchievement { func challengeComposeController(withMessage message: String?, players players: [GKPlayer], completionHandler completionHandler: GameKit.GKChallengeComposeCompletionBlock? = nil) -> UIViewController func selectChallengeablePlayers(_ players: [GKPlayer], withCompletionHandler completionHandler: (@escaping ([GKPlayer]?, Error?) -> Swift.Void)? = nil) class func report(_ achievements: [GKAchievement], withEligibleChallenges challenges: [GKChallenge], withCompletionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) } extension GKAchievement { func selectChallengeablePlayerIDs(_ playerIDs: [String]?, withCompletionHandler completionHandler: (@escaping ([String]?, Error?) -> Swift.Void)? = nil) func issueChallenge(toPlayers playerIDs: [String]?, message message: String?) func challengeComposeController(withPlayers playerIDs: [String]?, message message: String?, completionHandler completionHandler: GameKit.GKChallengeComposeCompletionBlock? = nil) -> UIViewController? } |
To | class GKAchievement : NSObject, NSCoding, NSSecureCoding { class func loadAchievements(completionHandler completionHandler: (([GKAchievement]?, Error?) -> Swift.Void)? = nil) class func resetAchievements(completionHandler completionHandler: ((Error?) -> Swift.Void)? = nil) init(identifier identifier: String?) init(identifier identifier: String?, player player: GKPlayer) class func report(_ achievements: [GKAchievement], withCompletionHandler completionHandler: ((Error?) -> Swift.Void)? = nil) var identifier: String? var percentComplete: Double var isCompleted: Bool { get } var lastReportedDate: Date { get } var showsCompletionBanner: Bool var player: GKPlayer? { get } func selectChallengeablePlayerIDs(_ playerIDs: [String]?, withCompletionHandler completionHandler: (([String]?, Error?) -> Swift.Void)? = nil) func issueChallenge(toPlayers playerIDs: [String]?, message message: String?) func challengeComposeController(withPlayers playerIDs: [String]?, message message: String?, completionHandler completionHandler: GameKit.GKChallengeComposeCompletionBlock? = nil) -> UIViewController? func challengeComposeController(withMessage message: String?, players players: [GKPlayer], completionHandler completionHandler: GameKit.GKChallengeComposeCompletionBlock? = nil) -> UIViewController func selectChallengeablePlayers(_ players: [GKPlayer], withCompletionHandler completionHandler: (([GKPlayer]?, Error?) -> Swift.Void)? = nil) class func report(_ achievements: [GKAchievement], withEligibleChallenges challenges: [GKChallenge], withCompletionHandler completionHandler: ((Error?) -> Swift.Void)? = nil) func report(completionHandler completionHandler: ((Error?) -> Swift.Void)? = nil) init(identifier identifier: String?, forPlayer playerID: String) var isHidden: Bool { get } var playerID: 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 GKAchievement : CVarArg { } extension GKAchievement : Equatable, Hashable { var hashValue: Int { get } } extension GKAchievement { func report(completionHandler completionHandler: ((Error?) -> Swift.Void)? = nil) init(identifier identifier: String?, forPlayer playerID: String) var isHidden: Bool { get } var playerID: String { get } } extension GKAchievement { func challengeComposeController(withMessage message: String?, players players: [GKPlayer], completionHandler completionHandler: GameKit.GKChallengeComposeCompletionBlock? = nil) -> UIViewController func selectChallengeablePlayers(_ players: [GKPlayer], withCompletionHandler completionHandler: (([GKPlayer]?, Error?) -> Swift.Void)? = nil) class func report(_ achievements: [GKAchievement], withEligibleChallenges challenges: [GKChallenge], withCompletionHandler completionHandler: ((Error?) -> Swift.Void)? = nil) } extension GKAchievement { func selectChallengeablePlayerIDs(_ playerIDs: [String]?, withCompletionHandler completionHandler: (([String]?, Error?) -> Swift.Void)? = nil) func issueChallenge(toPlayers playerIDs: [String]?, message message: String?) func challengeComposeController(withPlayers playerIDs: [String]?, message message: String?, completionHandler completionHandler: GameKit.GKChallengeComposeCompletionBlock? = nil) -> UIViewController? } |
Declaration | |
---|---|
From | class func loadAchievements(completionHandler completionHandler: (@escaping ([GKAchievement]?, Error?) -> Swift.Void)? = nil) |
To | class func loadAchievements(completionHandler completionHandler: (([GKAchievement]?, Error?) -> Swift.Void)? = nil) |
Modified GKAchievement.report(_: [GKAchievement], withCompletionHandler: ((Error?) -> Swift.Void)?) [class]
Declaration | |
---|---|
From | class func report(_ achievements: [GKAchievement], withCompletionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) |
To | class func report(_ achievements: [GKAchievement], withCompletionHandler completionHandler: ((Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | class func report(_ achievements: [GKAchievement], withEligibleChallenges challenges: [GKChallenge], withCompletionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) |
To | class func report(_ achievements: [GKAchievement], withEligibleChallenges challenges: [GKChallenge], withCompletionHandler completionHandler: ((Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | class func resetAchievements(completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) |
To | class func resetAchievements(completionHandler completionHandler: ((Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func selectChallengeablePlayerIDs(_ playerIDs: [String]?, withCompletionHandler completionHandler: (@escaping ([String]?, Error?) -> Swift.Void)? = nil) |
To | func selectChallengeablePlayerIDs(_ playerIDs: [String]?, withCompletionHandler completionHandler: (([String]?, Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func selectChallengeablePlayers(_ players: [GKPlayer], withCompletionHandler completionHandler: (@escaping ([GKPlayer]?, Error?) -> Swift.Void)? = nil) |
To | func selectChallengeablePlayers(_ players: [GKPlayer], withCompletionHandler completionHandler: (([GKPlayer]?, Error?) -> Swift.Void)? = nil) |
Modified GKAchievementDescription
Declaration | |
---|---|
From | class GKAchievementDescription : NSObject, NSCoding, NSSecureCoding { class func loadAchievementDescriptions(completionHandler completionHandler: (@escaping ([GKAchievementDescription]?, Error?) -> Swift.Void)? = nil) var identifier: String? { get } var groupIdentifier: String? { get } var title: String? { get } var achievedDescription: String? { get } var unachievedDescription: String? { get } var maximumPoints: Int { get } var isHidden: Bool { get } var isReplayable: Bool { get } var image: UIImage? { get } func loadImage(completionHandler completionHandler: (@escaping (UIImage?, Error?) -> Swift.Void)? = nil) class func incompleteAchievementImage() -> UIImage class func placeholderCompletedAchievementImage() -> UIImage 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 GKAchievementDescription : CVarArg { } extension GKAchievementDescription : Equatable, Hashable { var hashValue: Int { get } } extension GKAchievementDescription { var image: UIImage? { get } func loadImage(completionHandler completionHandler: (@escaping (UIImage?, Error?) -> Swift.Void)? = nil) class func incompleteAchievementImage() -> UIImage class func placeholderCompletedAchievementImage() -> UIImage } |
To | class GKAchievementDescription : NSObject, NSCoding, NSSecureCoding { class func loadAchievementDescriptions(completionHandler completionHandler: (([GKAchievementDescription]?, Error?) -> Swift.Void)? = nil) var identifier: String? { get } var groupIdentifier: String? { get } var title: String? { get } var achievedDescription: String? { get } var unachievedDescription: String? { get } var maximumPoints: Int { get } var isHidden: Bool { get } var isReplayable: Bool { get } var image: UIImage? { get } func loadImage(completionHandler completionHandler: ((UIImage?, Error?) -> Swift.Void)? = nil) class func incompleteAchievementImage() -> UIImage class func placeholderCompletedAchievementImage() -> UIImage 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 GKAchievementDescription : CVarArg { } extension GKAchievementDescription : Equatable, Hashable { var hashValue: Int { get } } extension GKAchievementDescription { var image: UIImage? { get } func loadImage(completionHandler completionHandler: ((UIImage?, Error?) -> Swift.Void)? = nil) class func incompleteAchievementImage() -> UIImage class func placeholderCompletedAchievementImage() -> UIImage } |
Declaration | |
---|---|
From | class func loadAchievementDescriptions(completionHandler completionHandler: (@escaping ([GKAchievementDescription]?, Error?) -> Swift.Void)? = nil) |
To | class func loadAchievementDescriptions(completionHandler completionHandler: (([GKAchievementDescription]?, Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func loadImage(completionHandler completionHandler: (@escaping (UIImage?, Error?) -> Swift.Void)? = nil) |
To | func loadImage(completionHandler completionHandler: ((UIImage?, Error?) -> Swift.Void)? = nil) |
Modified GKChallenge
Declaration | |
---|---|
From | class GKChallenge : NSObject, NSCoding, NSSecureCoding { class func loadReceivedChallenges(completionHandler completionHandler: (@escaping ([GKChallenge]?, Error?) -> Swift.Void)? = nil) func decline() var issuingPlayerID: String? { get } var receivingPlayerID: String? { get } @NSCopying var issuingPlayer: GKPlayer? { get } @NSCopying var receivingPlayer: GKPlayer? { get } var state: GKChallengeState { get } var issueDate: Date { get } var completionDate: Date? { get } var message: 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 GKChallenge : CVarArg { } extension GKChallenge : Equatable, Hashable { var hashValue: Int { get } } |
To | class GKChallenge : NSObject, NSCoding, NSSecureCoding { class func loadReceivedChallenges(completionHandler completionHandler: (([GKChallenge]?, Error?) -> Swift.Void)? = nil) func decline() var issuingPlayerID: String? { get } var receivingPlayerID: String? { get } @NSCopying var issuingPlayer: GKPlayer? { get } @NSCopying var receivingPlayer: GKPlayer? { get } var state: GKChallengeState { get } var issueDate: Date { get } var completionDate: Date? { get } var message: 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 GKChallenge : CVarArg { } extension GKChallenge : Equatable, Hashable { var hashValue: Int { get } } |
Declaration | |
---|---|
From | class func loadReceivedChallenges(completionHandler completionHandler: (@escaping ([GKChallenge]?, Error?) -> Swift.Void)? = nil) |
To | class func loadReceivedChallenges(completionHandler completionHandler: (([GKChallenge]?, Error?) -> Swift.Void)? = nil) |
Modified GKLeaderboard
Declaration | |
---|---|
From | class GKLeaderboard : NSObject { var timeScope: GKLeaderboardTimeScope var playerScope: GKLeaderboardPlayerScope var identifier: String? var title: String? { get } var range: NSRange var scores: [GKScore]? { get } var maxRange: Int { get } var localPlayerScore: GKScore? { get } var isLoading: Bool { get } var groupIdentifier: String? { get } init() init(players players: [GKPlayer]) func loadScores(completionHandler completionHandler: (@escaping ([GKScore]?, Error?) -> Swift.Void)? = nil) class func loadLeaderboards(completionHandler completionHandler: (@escaping ([GKLeaderboard]?, Error?) -> Swift.Void)? = nil) func loadImage(completionHandler completionHandler: (@escaping (UIImage?, Error?) -> Swift.Void)? = nil) var category: String? init?(playerIDs playerIDs: [String]?) class func loadCategories(completionHandler completionHandler: (@escaping ([String]?, [String]?, Error?) -> Swift.Void)? = nil) class func setDefault(_ leaderboardIdentifier: String?, withCompletionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) 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 GKLeaderboard : CVarArg { } extension GKLeaderboard : Equatable, Hashable { var hashValue: Int { get } } extension GKLeaderboard { var category: String? init?(playerIDs playerIDs: [String]?) class func loadCategories(completionHandler completionHandler: (@escaping ([String]?, [String]?, Error?) -> Swift.Void)? = nil) class func setDefault(_ leaderboardIdentifier: String?, withCompletionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) } extension GKLeaderboard { func loadImage(completionHandler completionHandler: (@escaping (UIImage?, Error?) -> Swift.Void)? = nil) } |
To | class GKLeaderboard : NSObject { var timeScope: GKLeaderboardTimeScope var playerScope: GKLeaderboardPlayerScope var identifier: String? var title: String? { get } var range: NSRange var scores: [GKScore]? { get } var maxRange: Int { get } var localPlayerScore: GKScore? { get } var isLoading: Bool { get } var groupIdentifier: String? { get } init() init(players players: [GKPlayer]) func loadScores(completionHandler completionHandler: (([GKScore]?, Error?) -> Swift.Void)? = nil) class func loadLeaderboards(completionHandler completionHandler: (([GKLeaderboard]?, Error?) -> Swift.Void)? = nil) func loadImage(completionHandler completionHandler: ((UIImage?, Error?) -> Swift.Void)? = nil) var category: String? init?(playerIDs playerIDs: [String]?) class func loadCategories(completionHandler completionHandler: (([String]?, [String]?, Error?) -> Swift.Void)? = nil) class func setDefault(_ leaderboardIdentifier: String?, withCompletionHandler completionHandler: ((Error?) -> Swift.Void)? = nil) 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 GKLeaderboard : CVarArg { } extension GKLeaderboard : Equatable, Hashable { var hashValue: Int { get } } extension GKLeaderboard { var category: String? init?(playerIDs playerIDs: [String]?) class func loadCategories(completionHandler completionHandler: (([String]?, [String]?, Error?) -> Swift.Void)? = nil) class func setDefault(_ leaderboardIdentifier: String?, withCompletionHandler completionHandler: ((Error?) -> Swift.Void)? = nil) } extension GKLeaderboard { func loadImage(completionHandler completionHandler: ((UIImage?, Error?) -> Swift.Void)? = nil) } |
Declaration | |
---|---|
From | func loadImage(completionHandler completionHandler: (@escaping (UIImage?, Error?) -> Swift.Void)? = nil) |
To | func loadImage(completionHandler completionHandler: ((UIImage?, Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | class func loadLeaderboards(completionHandler completionHandler: (@escaping ([GKLeaderboard]?, Error?) -> Swift.Void)? = nil) |
To | class func loadLeaderboards(completionHandler completionHandler: (([GKLeaderboard]?, Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func loadScores(completionHandler completionHandler: (@escaping ([GKScore]?, Error?) -> Swift.Void)? = nil) |
To | func loadScores(completionHandler completionHandler: (([GKScore]?, Error?) -> Swift.Void)? = nil) |
Modified GKLeaderboardSet
Declaration | |
---|---|
From | class GKLeaderboardSet : NSObject, NSCoding, NSSecureCoding { var title: String { get } var groupIdentifier: String? { get } var identifier: String? class func loadLeaderboardSets(completionHandler completionHandler: (@escaping ([GKLeaderboardSet]?, Error?) -> Swift.Void)? = nil) func loadLeaderboards(completionHandler completionHandler: (@escaping ([GKLeaderboard]?, Error?) -> Swift.Void)? = nil) func loadImage(completionHandler completionHandler: (@escaping (UIImage?, Error?) -> Swift.Void)? = nil) 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 GKLeaderboardSet : CVarArg { } extension GKLeaderboardSet : Equatable, Hashable { var hashValue: Int { get } } extension GKLeaderboardSet { func loadImage(completionHandler completionHandler: (@escaping (UIImage?, Error?) -> Swift.Void)? = nil) } |
To | class GKLeaderboardSet : NSObject, NSCoding, NSSecureCoding { var title: String { get } var groupIdentifier: String? { get } var identifier: String? class func loadLeaderboardSets(completionHandler completionHandler: (([GKLeaderboardSet]?, Error?) -> Swift.Void)? = nil) func loadLeaderboards(completionHandler completionHandler: (([GKLeaderboard]?, Error?) -> Swift.Void)? = nil) func loadImage(completionHandler completionHandler: ((UIImage?, Error?) -> Swift.Void)? = nil) 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 GKLeaderboardSet : CVarArg { } extension GKLeaderboardSet : Equatable, Hashable { var hashValue: Int { get } } extension GKLeaderboardSet { func loadImage(completionHandler completionHandler: ((UIImage?, Error?) -> Swift.Void)? = nil) } |
Declaration | |
---|---|
From | func loadImage(completionHandler completionHandler: (@escaping (UIImage?, Error?) -> Swift.Void)? = nil) |
To | func loadImage(completionHandler completionHandler: ((UIImage?, Error?) -> Swift.Void)? = nil) |
Modified GKLeaderboardSet.loadLeaderboards(completionHandler: (([GKLeaderboard]?, Error?) -> Swift.Void)?)
Declaration | |
---|---|
From | func loadLeaderboards(completionHandler completionHandler: (@escaping ([GKLeaderboard]?, Error?) -> Swift.Void)? = nil) |
To | func loadLeaderboards(completionHandler completionHandler: (([GKLeaderboard]?, Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | class func loadLeaderboardSets(completionHandler completionHandler: (@escaping ([GKLeaderboardSet]?, Error?) -> Swift.Void)? = nil) |
To | class func loadLeaderboardSets(completionHandler completionHandler: (([GKLeaderboardSet]?, Error?) -> Swift.Void)? = nil) |
Modified GKLocalPlayer
Declaration | |
---|---|
From | class GKLocalPlayer : GKPlayer { class func localPlayer() -> GKLocalPlayer var isAuthenticated: Bool { get } var isUnderage: Bool { get } var authenticateHandler: ((UIViewController?, Error?) -> Swift.Void)? func loadRecentPlayers(completionHandler completionHandler: (@escaping ([GKPlayer]?, Error?) -> Swift.Void)? = nil) func setDefaultLeaderboardIdentifier(_ leaderboardIdentifier: String, completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) func loadDefaultLeaderboardIdentifier(completionHandler completionHandler: (@escaping (String?, Error?) -> Swift.Void)? = nil) func generateIdentityVerificationSignature(completionHandler completionHandler: (@escaping (URL?, Data?, Data?, UInt64, Error?) -> Swift.Void)? = nil) func setDefaultLeaderboardCategoryID(_ categoryID: String?, completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) func loadDefaultLeaderboardCategoryID(completionHandler completionHandler: (@escaping (String?, Error?) -> Swift.Void)? = nil) func loadFriends(completionHandler completionHandler: (@escaping ([String]?, Error?) -> Swift.Void)? = nil) func authenticate(completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) var friends: [String]? { get } func loadFriendPlayers(completionHandler completionHandler: (@escaping ([GKPlayer]?, Error?) -> Swift.Void)? = nil) func register(_ listener: GKLocalPlayerListener) func unregisterListener(_ listener: GKLocalPlayerListener) func unregisterAllListeners() var isFriend: Bool { get } func loadPhoto(forSize size: GKPhotoSize, withCompletionHandler completionHandler: (@escaping (UIImage?, Error?) -> Void)? = nil) } extension GKLocalPlayer : GKSavedGameListener { func fetchSavedGames(completionHandler handler: (@escaping ([GKSavedGame]?, Error?) -> Swift.Void)? = nil) func saveGameData(_ data: Data, withName name: String, completionHandler handler: (@escaping (GKSavedGame?, Error?) -> Swift.Void)? = nil) func deleteSavedGames(withName name: String, completionHandler handler: (@escaping (Error?) -> Swift.Void)? = nil) func resolveConflictingSavedGames(_ conflictingSavedGames: [GKSavedGame], with data: Data, completionHandler handler: (@escaping ([GKSavedGame]?, Error?) -> Swift.Void)? = nil) } extension GKLocalPlayer { func register(_ listener: GKLocalPlayerListener) func unregisterListener(_ listener: GKLocalPlayerListener) func unregisterAllListeners() } extension GKLocalPlayer { func setDefaultLeaderboardCategoryID(_ categoryID: String?, completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) func loadDefaultLeaderboardCategoryID(completionHandler completionHandler: (@escaping (String?, Error?) -> Swift.Void)? = nil) func loadFriends(completionHandler completionHandler: (@escaping ([String]?, Error?) -> Swift.Void)? = nil) func authenticate(completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) var friends: [String]? { get } func loadFriendPlayers(completionHandler completionHandler: (@escaping ([GKPlayer]?, Error?) -> Swift.Void)? = nil) } extension GKLocalPlayer : GKSavedGameListener { func fetchSavedGames(completionHandler handler: (@escaping ([GKSavedGame]?, Error?) -> Swift.Void)? = nil) func saveGameData(_ data: Data, withName name: String, completionHandler handler: (@escaping (GKSavedGame?, Error?) -> Swift.Void)? = nil) func deleteSavedGames(withName name: String, completionHandler handler: (@escaping (Error?) -> Swift.Void)? = nil) func resolveConflictingSavedGames(_ conflictingSavedGames: [GKSavedGame], with data: Data, completionHandler handler: (@escaping ([GKSavedGame]?, Error?) -> Swift.Void)? = nil) } |
To | class GKLocalPlayer : GKPlayer { class func localPlayer() -> GKLocalPlayer var isAuthenticated: Bool { get } var isUnderage: Bool { get } var authenticateHandler: ((UIViewController?, Error?) -> Swift.Void)? func loadRecentPlayers(completionHandler completionHandler: (([GKPlayer]?, Error?) -> Swift.Void)? = nil) func setDefaultLeaderboardIdentifier(_ leaderboardIdentifier: String, completionHandler completionHandler: ((Error?) -> Swift.Void)? = nil) func loadDefaultLeaderboardIdentifier(completionHandler completionHandler: ((String?, Error?) -> Swift.Void)? = nil) func generateIdentityVerificationSignature(completionHandler completionHandler: ((URL?, Data?, Data?, UInt64, Error?) -> Swift.Void)? = nil) func setDefaultLeaderboardCategoryID(_ categoryID: String?, completionHandler completionHandler: ((Error?) -> Swift.Void)? = nil) func loadDefaultLeaderboardCategoryID(completionHandler completionHandler: ((String?, Error?) -> Swift.Void)? = nil) func loadFriends(completionHandler completionHandler: (([String]?, Error?) -> Swift.Void)? = nil) func authenticate(completionHandler completionHandler: ((Error?) -> Swift.Void)? = nil) var friends: [String]? { get } func loadFriendPlayers(completionHandler completionHandler: (([GKPlayer]?, Error?) -> Swift.Void)? = nil) func register(_ listener: GKLocalPlayerListener) func unregisterListener(_ listener: GKLocalPlayerListener) func unregisterAllListeners() var isFriend: Bool { get } func loadPhoto(forSize size: GKPhotoSize, withCompletionHandler completionHandler: ((UIImage?, Error?) -> Void)? = nil) } extension GKLocalPlayer : GKSavedGameListener { func fetchSavedGames(completionHandler handler: (([GKSavedGame]?, Error?) -> Swift.Void)? = nil) func saveGameData(_ data: Data, withName name: String, completionHandler handler: ((GKSavedGame?, Error?) -> Swift.Void)? = nil) func deleteSavedGames(withName name: String, completionHandler handler: ((Error?) -> Swift.Void)? = nil) func resolveConflictingSavedGames(_ conflictingSavedGames: [GKSavedGame], with data: Data, completionHandler handler: (([GKSavedGame]?, Error?) -> Swift.Void)? = nil) } extension GKLocalPlayer { func register(_ listener: GKLocalPlayerListener) func unregisterListener(_ listener: GKLocalPlayerListener) func unregisterAllListeners() } extension GKLocalPlayer { func setDefaultLeaderboardCategoryID(_ categoryID: String?, completionHandler completionHandler: ((Error?) -> Swift.Void)? = nil) func loadDefaultLeaderboardCategoryID(completionHandler completionHandler: ((String?, Error?) -> Swift.Void)? = nil) func loadFriends(completionHandler completionHandler: (([String]?, Error?) -> Swift.Void)? = nil) func authenticate(completionHandler completionHandler: ((Error?) -> Swift.Void)? = nil) var friends: [String]? { get } func loadFriendPlayers(completionHandler completionHandler: (([GKPlayer]?, Error?) -> Swift.Void)? = nil) } extension GKLocalPlayer : GKSavedGameListener { func fetchSavedGames(completionHandler handler: (([GKSavedGame]?, Error?) -> Swift.Void)? = nil) func saveGameData(_ data: Data, withName name: String, completionHandler handler: ((GKSavedGame?, Error?) -> Swift.Void)? = nil) func deleteSavedGames(withName name: String, completionHandler handler: ((Error?) -> Swift.Void)? = nil) func resolveConflictingSavedGames(_ conflictingSavedGames: [GKSavedGame], with data: Data, completionHandler handler: (([GKSavedGame]?, Error?) -> Swift.Void)? = nil) } |
Modified GKLocalPlayer.deleteSavedGames(withName: String, completionHandler: ((Error?) -> Swift.Void)?)
Declaration | |
---|---|
From | func deleteSavedGames(withName name: String, completionHandler handler: (@escaping (Error?) -> Swift.Void)? = nil) |
To | func deleteSavedGames(withName name: String, completionHandler handler: ((Error?) -> Swift.Void)? = nil) |
Modified GKLocalPlayer.fetchSavedGames(completionHandler: (([GKSavedGame]?, Error?) -> Swift.Void)?)
Declaration | |
---|---|
From | func fetchSavedGames(completionHandler handler: (@escaping ([GKSavedGame]?, Error?) -> Swift.Void)? = nil) |
To | func fetchSavedGames(completionHandler handler: (([GKSavedGame]?, Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func generateIdentityVerificationSignature(completionHandler completionHandler: (@escaping (URL?, Data?, Data?, UInt64, Error?) -> Swift.Void)? = nil) |
To | func generateIdentityVerificationSignature(completionHandler completionHandler: ((URL?, Data?, Data?, UInt64, Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func loadDefaultLeaderboardIdentifier(completionHandler completionHandler: (@escaping (String?, Error?) -> Swift.Void)? = nil) |
To | func loadDefaultLeaderboardIdentifier(completionHandler completionHandler: ((String?, Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func loadFriendPlayers(completionHandler completionHandler: (@escaping ([GKPlayer]?, Error?) -> Swift.Void)? = nil) |
To | func loadFriendPlayers(completionHandler completionHandler: (([GKPlayer]?, Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func loadFriends(completionHandler completionHandler: (@escaping ([String]?, Error?) -> Swift.Void)? = nil) |
To | func loadFriends(completionHandler completionHandler: (([String]?, Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func loadRecentPlayers(completionHandler completionHandler: (@escaping ([GKPlayer]?, Error?) -> Swift.Void)? = nil) |
To | func loadRecentPlayers(completionHandler completionHandler: (([GKPlayer]?, Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func resolveConflictingSavedGames(_ conflictingSavedGames: [GKSavedGame], with data: Data, completionHandler handler: (@escaping ([GKSavedGame]?, Error?) -> Swift.Void)? = nil) |
To | func resolveConflictingSavedGames(_ conflictingSavedGames: [GKSavedGame], with data: Data, completionHandler handler: (([GKSavedGame]?, Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func saveGameData(_ data: Data, withName name: String, completionHandler handler: (@escaping (GKSavedGame?, Error?) -> Swift.Void)? = nil) |
To | func saveGameData(_ data: Data, withName name: String, completionHandler handler: ((GKSavedGame?, Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func setDefaultLeaderboardIdentifier(_ leaderboardIdentifier: String, completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) |
To | func setDefaultLeaderboardIdentifier(_ leaderboardIdentifier: String, completionHandler completionHandler: ((Error?) -> Swift.Void)? = nil) |
Modified GKMatch
Declaration | |
---|---|
From | class GKMatch : NSObject { var players: [GKPlayer] { get } unowned(unsafe) var delegate: GKMatchDelegate? var expectedPlayerCount: Int { get } func send(_ data: Data, to players: [GKPlayer], dataMode mode: GKMatchSendDataMode) throws func sendData(toAllPlayers data: Data, with mode: GKMatchSendDataMode) throws func disconnect() func voiceChat(withName name: String) -> GKVoiceChat? func chooseBestHostingPlayer(completionHandler completionHandler: @escaping (GKPlayer?) -> Swift.Void) func rematch(completionHandler completionHandler: (@escaping (GKMatch?, Error?) -> Swift.Void)? = nil) func chooseBestHostPlayer(completionHandler completionHandler: @escaping (String?) -> Swift.Void) func send(_ data: Data, toPlayers playerIDs: [String], with mode: GKMatchSendDataMode) throws var playerIDs: [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 GKMatch : CVarArg { } extension GKMatch : Equatable, Hashable { var hashValue: Int { get } } extension GKMatch { func chooseBestHostPlayer(completionHandler completionHandler: @escaping (String?) -> Swift.Void) func send(_ data: Data, toPlayers playerIDs: [String], with mode: GKMatchSendDataMode) throws var playerIDs: [String] { get } } |
To | class GKMatch : NSObject { var players: [GKPlayer] { get } unowned(unsafe) var delegate: GKMatchDelegate? var expectedPlayerCount: Int { get } func send(_ data: Data, to players: [GKPlayer], dataMode mode: GKMatchSendDataMode) throws func sendData(toAllPlayers data: Data, with mode: GKMatchSendDataMode) throws func disconnect() func voiceChat(withName name: String) -> GKVoiceChat? func chooseBestHostingPlayer(completionHandler completionHandler: @escaping (GKPlayer?) -> Swift.Void) func rematch(completionHandler completionHandler: ((GKMatch?, Error?) -> Swift.Void)? = nil) func chooseBestHostPlayer(completionHandler completionHandler: @escaping (String?) -> Swift.Void) func send(_ data: Data, toPlayers playerIDs: [String], with mode: GKMatchSendDataMode) throws var playerIDs: [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 GKMatch : CVarArg { } extension GKMatch : Equatable, Hashable { var hashValue: Int { get } } extension GKMatch { func chooseBestHostPlayer(completionHandler completionHandler: @escaping (String?) -> Swift.Void) func send(_ data: Data, toPlayers playerIDs: [String], with mode: GKMatchSendDataMode) throws var playerIDs: [String] { get } } |
Declaration | |
---|---|
From | func rematch(completionHandler completionHandler: (@escaping (GKMatch?, Error?) -> Swift.Void)? = nil) |
To | func rematch(completionHandler completionHandler: ((GKMatch?, Error?) -> Swift.Void)? = nil) |
Modified GKMatchmaker
Declaration | |
---|---|
From | class GKMatchmaker : NSObject { class func shared() -> GKMatchmaker func match(for invite: GKInvite, completionHandler completionHandler: (@escaping (GKMatch?, Error?) -> Swift.Void)? = nil) func findMatch(for request: GKMatchRequest, withCompletionHandler completionHandler: (@escaping (GKMatch?, Error?) -> Swift.Void)? = nil) func findPlayers(forHostedRequest request: GKMatchRequest, withCompletionHandler completionHandler: (@escaping ([GKPlayer]?, Error?) -> Swift.Void)? = nil) func addPlayers(to match: GKMatch, matchRequest matchRequest: GKMatchRequest, completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) func cancel() func cancelPendingInvite(to player: GKPlayer) func finishMatchmaking(for match: GKMatch) func queryPlayerGroupActivity(_ playerGroup: Int, withCompletionHandler completionHandler: (@escaping (Int, Error?) -> Swift.Void)? = nil) func queryActivity(completionHandler completionHandler: (@escaping (Int, Error?) -> Swift.Void)? = nil) func startBrowsingForNearbyPlayers(handler reachableHandler: (@escaping (GKPlayer, Bool) -> Swift.Void)? = nil) func stopBrowsingForNearbyPlayers() var inviteHandler: ((GKInvite, [Any]?) -> Swift.Void)? func startBrowsingForNearbyPlayers(reachableHandler reachableHandler: (@escaping (String, Bool) -> Swift.Void)? = nil) func cancelInvite(toPlayer playerID: String) func findPlayers(forHostedMatchRequest request: GKMatchRequest, withCompletionHandler completionHandler: (@escaping ([String]?, Error?) -> Swift.Void)? = nil) 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 GKMatchmaker : CVarArg { } extension GKMatchmaker : Equatable, Hashable { var hashValue: Int { get } } extension GKMatchmaker { var inviteHandler: ((GKInvite, [Any]?) -> Swift.Void)? func startBrowsingForNearbyPlayers(reachableHandler reachableHandler: (@escaping (String, Bool) -> Swift.Void)? = nil) func cancelInvite(toPlayer playerID: String) func findPlayers(forHostedMatchRequest request: GKMatchRequest, withCompletionHandler completionHandler: (@escaping ([String]?, Error?) -> Swift.Void)? = nil) } |
To | class GKMatchmaker : NSObject { class func shared() -> GKMatchmaker func match(for invite: GKInvite, completionHandler completionHandler: ((GKMatch?, Error?) -> Swift.Void)? = nil) func findMatch(for request: GKMatchRequest, withCompletionHandler completionHandler: ((GKMatch?, Error?) -> Swift.Void)? = nil) func findPlayers(forHostedRequest request: GKMatchRequest, withCompletionHandler completionHandler: (([GKPlayer]?, Error?) -> Swift.Void)? = nil) func addPlayers(to match: GKMatch, matchRequest matchRequest: GKMatchRequest, completionHandler completionHandler: ((Error?) -> Swift.Void)? = nil) func cancel() func cancelPendingInvite(to player: GKPlayer) func finishMatchmaking(for match: GKMatch) func queryPlayerGroupActivity(_ playerGroup: Int, withCompletionHandler completionHandler: ((Int, Error?) -> Swift.Void)? = nil) func queryActivity(completionHandler completionHandler: ((Int, Error?) -> Swift.Void)? = nil) func startBrowsingForNearbyPlayers(handler reachableHandler: ((GKPlayer, Bool) -> Swift.Void)? = nil) func stopBrowsingForNearbyPlayers() var inviteHandler: ((GKInvite, [Any]?) -> Swift.Void)? func startBrowsingForNearbyPlayers(reachableHandler reachableHandler: ((String, Bool) -> Swift.Void)? = nil) func cancelInvite(toPlayer playerID: String) func findPlayers(forHostedMatchRequest request: GKMatchRequest, withCompletionHandler completionHandler: (([String]?, Error?) -> Swift.Void)? = nil) 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 GKMatchmaker : CVarArg { } extension GKMatchmaker : Equatable, Hashable { var hashValue: Int { get } } extension GKMatchmaker { var inviteHandler: ((GKInvite, [Any]?) -> Swift.Void)? func startBrowsingForNearbyPlayers(reachableHandler reachableHandler: ((String, Bool) -> Swift.Void)? = nil) func cancelInvite(toPlayer playerID: String) func findPlayers(forHostedMatchRequest request: GKMatchRequest, withCompletionHandler completionHandler: (([String]?, Error?) -> Swift.Void)? = nil) } |
Declaration | |
---|---|
From | func addPlayers(to match: GKMatch, matchRequest matchRequest: GKMatchRequest, completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) |
To | func addPlayers(to match: GKMatch, matchRequest matchRequest: GKMatchRequest, completionHandler completionHandler: ((Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func findMatch(for request: GKMatchRequest, withCompletionHandler completionHandler: (@escaping (GKMatch?, Error?) -> Swift.Void)? = nil) |
To | func findMatch(for request: GKMatchRequest, withCompletionHandler completionHandler: ((GKMatch?, Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func findPlayers(forHostedMatchRequest request: GKMatchRequest, withCompletionHandler completionHandler: (@escaping ([String]?, Error?) -> Swift.Void)? = nil) |
To | func findPlayers(forHostedMatchRequest request: GKMatchRequest, withCompletionHandler completionHandler: (([String]?, Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func findPlayers(forHostedRequest request: GKMatchRequest, withCompletionHandler completionHandler: (@escaping ([GKPlayer]?, Error?) -> Swift.Void)? = nil) |
To | func findPlayers(forHostedRequest request: GKMatchRequest, withCompletionHandler completionHandler: (([GKPlayer]?, Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func match(for invite: GKInvite, completionHandler completionHandler: (@escaping (GKMatch?, Error?) -> Swift.Void)? = nil) |
To | func match(for invite: GKInvite, completionHandler completionHandler: ((GKMatch?, Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func queryActivity(completionHandler completionHandler: (@escaping (Int, Error?) -> Swift.Void)? = nil) |
To | func queryActivity(completionHandler completionHandler: ((Int, Error?) -> Swift.Void)? = nil) |
Modified GKMatchmaker.queryPlayerGroupActivity(_: Int, withCompletionHandler: ((Int, Error?) -> Swift.Void)?)
Declaration | |
---|---|
From | func queryPlayerGroupActivity(_ playerGroup: Int, withCompletionHandler completionHandler: (@escaping (Int, Error?) -> Swift.Void)? = nil) |
To | func queryPlayerGroupActivity(_ playerGroup: Int, withCompletionHandler completionHandler: ((Int, Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func startBrowsingForNearbyPlayers(handler reachableHandler: (@escaping (GKPlayer, Bool) -> Swift.Void)? = nil) |
To | func startBrowsingForNearbyPlayers(handler reachableHandler: ((GKPlayer, Bool) -> Swift.Void)? = nil) |
Modified GKMatchmaker.startBrowsingForNearbyPlayers(reachableHandler: ((String, Bool) -> Swift.Void)?)
Declaration | |
---|---|
From | func startBrowsingForNearbyPlayers(reachableHandler reachableHandler: (@escaping (String, Bool) -> Swift.Void)? = nil) |
To | func startBrowsingForNearbyPlayers(reachableHandler reachableHandler: ((String, Bool) -> Swift.Void)? = nil) |
Modified GKNotificationBanner
Declaration | |
---|---|
From | class GKNotificationBanner : NSObject { class func show(withTitle title: String?, message message: String?, completionHandler completionHandler: (@escaping () -> Swift.Void)? = nil) class func show(withTitle title: String?, message message: String?, duration duration: TimeInterval, completionHandler completionHandler: (@escaping () -> Swift.Void)? = nil) 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 GKNotificationBanner : CVarArg { } extension GKNotificationBanner : Equatable, Hashable { var hashValue: Int { get } } |
To | class GKNotificationBanner : NSObject { class func show(withTitle title: String?, message message: String?, completionHandler completionHandler: (() -> Swift.Void)? = nil) class func show(withTitle title: String?, message message: String?, duration duration: TimeInterval, completionHandler completionHandler: (() -> Swift.Void)? = nil) 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 GKNotificationBanner : CVarArg { } extension GKNotificationBanner : Equatable, Hashable { var hashValue: Int { get } } |
Declaration | |
---|---|
From | class func show(withTitle title: String?, message message: String?, completionHandler completionHandler: (@escaping () -> Swift.Void)? = nil) |
To | class func show(withTitle title: String?, message message: String?, completionHandler completionHandler: (() -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | class func show(withTitle title: String?, message message: String?, duration duration: TimeInterval, completionHandler completionHandler: (@escaping () -> Swift.Void)? = nil) |
To | class func show(withTitle title: String?, message message: String?, duration duration: TimeInterval, completionHandler completionHandler: (() -> Swift.Void)? = nil) |
Modified GKPlayer
Declaration | |
---|---|
From | class GKPlayer : GKBasePlayer { class func loadPlayers(forIdentifiers identifiers: [String], withCompletionHandler completionHandler: (@escaping ([GKPlayer]?, Error?) -> Swift.Void)? = nil) var playerID: String? { get } var displayName: String? { get } var alias: String? { get } class func anonymousGuestPlayer(withIdentifier guestIdentifier: String) -> Self var guestIdentifier: String? { get } var isFriend: Bool { get } func loadPhoto(forSize size: GKPhotoSize, withCompletionHandler completionHandler: (@escaping (UIImage?, Error?) -> Swift.Void)? = nil) } extension GKPlayer { func loadPhoto(forSize size: GKPhotoSize, withCompletionHandler completionHandler: (@escaping (UIImage?, Error?) -> Swift.Void)? = nil) } extension GKPlayer { var isFriend: Bool { get } } |
To | class GKPlayer : GKBasePlayer { class func loadPlayers(forIdentifiers identifiers: [String], withCompletionHandler completionHandler: (([GKPlayer]?, Error?) -> Swift.Void)? = nil) var playerID: String? { get } var displayName: String? { get } var alias: String? { get } class func anonymousGuestPlayer(withIdentifier guestIdentifier: String) -> Self var guestIdentifier: String? { get } var isFriend: Bool { get } func loadPhoto(forSize size: GKPhotoSize, withCompletionHandler completionHandler: ((UIImage?, Error?) -> Swift.Void)? = nil) } extension GKPlayer { func loadPhoto(forSize size: GKPhotoSize, withCompletionHandler completionHandler: ((UIImage?, Error?) -> Swift.Void)? = nil) } extension GKPlayer { var isFriend: Bool { get } } |
Modified GKPlayer.loadPhoto(forSize: GKPhotoSize, withCompletionHandler: ((UIImage?, Error?) -> Swift.Void)?)
Declaration | |
---|---|
From | func loadPhoto(forSize size: GKPhotoSize, withCompletionHandler completionHandler: (@escaping (UIImage?, Error?) -> Swift.Void)? = nil) |
To | func loadPhoto(forSize size: GKPhotoSize, withCompletionHandler completionHandler: ((UIImage?, Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | class func loadPlayers(forIdentifiers identifiers: [String], withCompletionHandler completionHandler: (@escaping ([GKPlayer]?, Error?) -> Swift.Void)? = nil) |
To | class func loadPlayers(forIdentifiers identifiers: [String], withCompletionHandler completionHandler: (([GKPlayer]?, Error?) -> Swift.Void)? = nil) |
Modified GKSavedGame
Declaration | |
---|---|
From | class GKSavedGame : NSObject, NSCopying { var name: String? { get } var deviceName: String? { get } var modificationDate: Date? { get } func loadData(completionHandler handler: (@escaping (Data?, Error?) -> Swift.Void)? = nil) 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 GKSavedGame : CVarArg { } extension GKSavedGame : Equatable, Hashable { var hashValue: Int { get } } |
To | class GKSavedGame : NSObject, NSCopying { var name: String? { get } var deviceName: String? { get } var modificationDate: Date? { get } func loadData(completionHandler handler: ((Data?, Error?) -> Swift.Void)? = nil) 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 GKSavedGame : CVarArg { } extension GKSavedGame : Equatable, Hashable { var hashValue: Int { get } } |
Declaration | |
---|---|
From | func loadData(completionHandler handler: (@escaping (Data?, Error?) -> Swift.Void)? = nil) |
To | func loadData(completionHandler handler: ((Data?, Error?) -> Swift.Void)? = nil) |
Modified GKScore
Declaration | |
---|---|
From | class GKScore : NSObject, NSCoding, NSSecureCoding { init(leaderboardIdentifier identifier: String) init(leaderboardIdentifier identifier: String, player player: GKPlayer) var value: Int64 var formattedValue: String? { get } var leaderboardIdentifier: String var context: UInt64 var date: Date { get } var player: GKPlayer? { get } var rank: Int { get } var shouldSetDefaultLeaderboard: Bool class func report(_ scores: [GKScore], withCompletionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) func challengeComposeController(withPlayers playerIDs: [String]?, message message: String?, completionHandler completionHandler: GameKit.GKChallengeComposeCompletionBlock? = nil) -> UIViewController? func challengeComposeController(withMessage message: String?, players players: [GKPlayer]?, completionHandler completionHandler: GameKit.GKChallengeComposeCompletionBlock? = nil) -> UIViewController func issueChallenge(toPlayers playerIDs: [String]?, message message: String?) class func report(_ scores: [GKScore], withEligibleChallenges challenges: [GKChallenge], withCompletionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) init(leaderboardIdentifier identifier: String, forPlayer playerID: String) func report(completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) init(category category: String?) var playerID: String { get } var category: String? 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 GKScore { func challengeComposeController(withMessage message: String?, players players: [GKPlayer]?, completionHandler completionHandler: GameKit.GKChallengeComposeCompletionBlock? = nil) -> UIViewController func issueChallenge(toPlayers playerIDs: [String]?, message message: String?) class func report(_ scores: [GKScore], withEligibleChallenges challenges: [GKChallenge], withCompletionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) } extension GKScore { func challengeComposeController(withPlayers playerIDs: [String]?, message message: String?, completionHandler completionHandler: GameKit.GKChallengeComposeCompletionBlock? = nil) -> UIViewController? } extension GKScore : CVarArg { } extension GKScore : Equatable, Hashable { var hashValue: Int { get } } extension GKScore { init(leaderboardIdentifier identifier: String, forPlayer playerID: String) func report(completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) init(category category: String?) var playerID: String { get } var category: String? } |
To | class GKScore : NSObject, NSCoding, NSSecureCoding { init(leaderboardIdentifier identifier: String) init(leaderboardIdentifier identifier: String, player player: GKPlayer) var value: Int64 var formattedValue: String? { get } var leaderboardIdentifier: String var context: UInt64 var date: Date { get } var player: GKPlayer? { get } var rank: Int { get } var shouldSetDefaultLeaderboard: Bool class func report(_ scores: [GKScore], withCompletionHandler completionHandler: ((Error?) -> Swift.Void)? = nil) func challengeComposeController(withPlayers playerIDs: [String]?, message message: String?, completionHandler completionHandler: GameKit.GKChallengeComposeCompletionBlock? = nil) -> UIViewController? func challengeComposeController(withMessage message: String?, players players: [GKPlayer]?, completionHandler completionHandler: GameKit.GKChallengeComposeCompletionBlock? = nil) -> UIViewController func issueChallenge(toPlayers playerIDs: [String]?, message message: String?) class func report(_ scores: [GKScore], withEligibleChallenges challenges: [GKChallenge], withCompletionHandler completionHandler: ((Error?) -> Swift.Void)? = nil) init(leaderboardIdentifier identifier: String, forPlayer playerID: String) func report(completionHandler completionHandler: ((Error?) -> Swift.Void)? = nil) init(category category: String?) var playerID: String { get } var category: String? 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 GKScore { func challengeComposeController(withMessage message: String?, players players: [GKPlayer]?, completionHandler completionHandler: GameKit.GKChallengeComposeCompletionBlock? = nil) -> UIViewController func issueChallenge(toPlayers playerIDs: [String]?, message message: String?) class func report(_ scores: [GKScore], withEligibleChallenges challenges: [GKChallenge], withCompletionHandler completionHandler: ((Error?) -> Swift.Void)? = nil) } extension GKScore { func challengeComposeController(withPlayers playerIDs: [String]?, message message: String?, completionHandler completionHandler: GameKit.GKChallengeComposeCompletionBlock? = nil) -> UIViewController? } extension GKScore : CVarArg { } extension GKScore : Equatable, Hashable { var hashValue: Int { get } } extension GKScore { init(leaderboardIdentifier identifier: String, forPlayer playerID: String) func report(completionHandler completionHandler: ((Error?) -> Swift.Void)? = nil) init(category category: String?) var playerID: String { get } var category: String? } |
Declaration | |
---|---|
From | class func report(_ scores: [GKScore], withCompletionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) |
To | class func report(_ scores: [GKScore], withCompletionHandler completionHandler: ((Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | class func report(_ scores: [GKScore], withEligibleChallenges challenges: [GKChallenge], withCompletionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) |
To | class func report(_ scores: [GKScore], withEligibleChallenges challenges: [GKChallenge], withCompletionHandler completionHandler: ((Error?) -> Swift.Void)? = nil) |
Modified GKTurnBasedExchange
Declaration | |
---|---|
From | class GKTurnBasedExchange : NSObject { var exchangeID: String? { get } var sender: GKTurnBasedParticipant? { get } var recipients: [GKTurnBasedParticipant]? { get } var status: GKTurnBasedExchangeStatus { get } var message: String? { get } var data: Data? { get } var sendDate: Date? { get } var timeoutDate: Date? { get } var completionDate: Date? { get } var replies: [GKTurnBasedExchangeReply]? { get } func cancel(withLocalizableMessageKey key: String, arguments arguments: [String], completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) func reply(withLocalizableMessageKey key: String, arguments arguments: [String], data data: Data, completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) 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 GKTurnBasedExchange : CVarArg { } extension GKTurnBasedExchange : Equatable, Hashable { var hashValue: Int { get } } |
To | class GKTurnBasedExchange : NSObject { var exchangeID: String? { get } var sender: GKTurnBasedParticipant? { get } var recipients: [GKTurnBasedParticipant]? { get } var status: GKTurnBasedExchangeStatus { get } var message: String? { get } var data: Data? { get } var sendDate: Date? { get } var timeoutDate: Date? { get } var completionDate: Date? { get } var replies: [GKTurnBasedExchangeReply]? { get } func cancel(withLocalizableMessageKey key: String, arguments arguments: [String], completionHandler completionHandler: ((Error?) -> Swift.Void)? = nil) func reply(withLocalizableMessageKey key: String, arguments arguments: [String], data data: Data, completionHandler completionHandler: ((Error?) -> Swift.Void)? = nil) 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 GKTurnBasedExchange : CVarArg { } extension GKTurnBasedExchange : Equatable, Hashable { var hashValue: Int { get } } |
Declaration | |
---|---|
From | func cancel(withLocalizableMessageKey key: String, arguments arguments: [String], completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) |
To | func cancel(withLocalizableMessageKey key: String, arguments arguments: [String], completionHandler completionHandler: ((Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func reply(withLocalizableMessageKey key: String, arguments arguments: [String], data data: Data, completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) |
To | func reply(withLocalizableMessageKey key: String, arguments arguments: [String], data data: Data, completionHandler completionHandler: ((Error?) -> Swift.Void)? = nil) |
Modified GKTurnBasedMatch
Declaration | |
---|---|
From | class GKTurnBasedMatch : NSObject { var matchID: String? { get } var creationDate: Date? { get } var participants: [GKTurnBasedParticipant]? { get } var status: GKTurnBasedMatchStatus { get } var currentParticipant: GKTurnBasedParticipant? { get } var matchData: Data? { get } func setLocalizableMessageWithKey(_ key: String, arguments arguments: [String]?) var message: String? var matchDataMaximumSize: Int { get } var exchanges: [GKTurnBasedExchange]? { get } var activeExchanges: [GKTurnBasedExchange]? { get } var completedExchanges: [GKTurnBasedExchange]? { get } var exchangeDataMaximumSize: Int { get } var exchangeMaxInitiatedExchangesPerPlayer: Int { get } class func find(for request: GKMatchRequest, withCompletionHandler completionHandler: @escaping (GKTurnBasedMatch?, Error?) -> Swift.Void) class func loadMatches(completionHandler completionHandler: (@escaping ([GKTurnBasedMatch]?, Error?) -> Swift.Void)? = nil) class func load(withID matchID: String, withCompletionHandler completionHandler: (@escaping (GKTurnBasedMatch?, Error?) -> Swift.Void)? = nil) func rematch(completionHandler completionHandler: (@escaping (GKTurnBasedMatch?, Error?) -> Swift.Void)? = nil) func acceptInvite(completionHandler completionHandler: (@escaping (GKTurnBasedMatch?, Error?) -> Swift.Void)? = nil) func declineInvite(completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) func remove(completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) func loadMatchData(completionHandler completionHandler: (@escaping (Data?, Error?) -> Swift.Void)? = nil) func endTurn(withNextParticipants nextParticipants: [GKTurnBasedParticipant], turnTimeout timeout: TimeInterval, match matchData: Data, completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) func participantQuitInTurn(with matchOutcome: GKTurnBasedMatchOutcome, nextParticipants nextParticipants: [GKTurnBasedParticipant], turnTimeout timeout: TimeInterval, match matchData: Data, completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) func participantQuitOutOfTurn(with matchOutcome: GKTurnBasedMatchOutcome, withCompletionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) func endMatchInTurn(withMatch matchData: Data, completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) func endMatchInTurn(withMatch matchData: Data, scores scores: [GKScore]?, achievements achievements: [GKAchievement]?, completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) func saveCurrentTurn(withMatch matchData: Data, completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) func saveMergedMatch(_ matchData: Data, withResolvedExchanges exchanges: [GKTurnBasedExchange], completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) func sendExchange(to participants: [GKTurnBasedParticipant], data data: Data, localizableMessageKey key: String, arguments arguments: [String], timeout timeout: TimeInterval, completionHandler completionHandler: (@escaping (GKTurnBasedExchange, Error) -> Swift.Void)? = nil) func sendReminder(to participants: [GKTurnBasedParticipant], localizableMessageKey key: String, arguments arguments: [String], completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) func endTurn(withNextParticipant nextParticipant: GKTurnBasedParticipant, match matchData: Data, completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) func participantQuitInTurn(with matchOutcome: GKTurnBasedMatchOutcome, nextParticipant nextParticipant: GKTurnBasedParticipant, match matchData: Data, completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) 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 GKTurnBasedMatch : CVarArg { } extension GKTurnBasedMatch : Equatable, Hashable { var hashValue: Int { get } } |
To | class GKTurnBasedMatch : NSObject { var matchID: String? { get } var creationDate: Date? { get } var participants: [GKTurnBasedParticipant]? { get } var status: GKTurnBasedMatchStatus { get } var currentParticipant: GKTurnBasedParticipant? { get } var matchData: Data? { get } func setLocalizableMessageWithKey(_ key: String, arguments arguments: [String]?) var message: String? var matchDataMaximumSize: Int { get } var exchanges: [GKTurnBasedExchange]? { get } var activeExchanges: [GKTurnBasedExchange]? { get } var completedExchanges: [GKTurnBasedExchange]? { get } var exchangeDataMaximumSize: Int { get } var exchangeMaxInitiatedExchangesPerPlayer: Int { get } class func find(for request: GKMatchRequest, withCompletionHandler completionHandler: @escaping (GKTurnBasedMatch?, Error?) -> Swift.Void) class func loadMatches(completionHandler completionHandler: (([GKTurnBasedMatch]?, Error?) -> Swift.Void)? = nil) class func load(withID matchID: String, withCompletionHandler completionHandler: ((GKTurnBasedMatch?, Error?) -> Swift.Void)? = nil) func rematch(completionHandler completionHandler: ((GKTurnBasedMatch?, Error?) -> Swift.Void)? = nil) func acceptInvite(completionHandler completionHandler: ((GKTurnBasedMatch?, Error?) -> Swift.Void)? = nil) func declineInvite(completionHandler completionHandler: ((Error?) -> Swift.Void)? = nil) func remove(completionHandler completionHandler: ((Error?) -> Swift.Void)? = nil) func loadMatchData(completionHandler completionHandler: ((Data?, Error?) -> Swift.Void)? = nil) func endTurn(withNextParticipants nextParticipants: [GKTurnBasedParticipant], turnTimeout timeout: TimeInterval, match matchData: Data, completionHandler completionHandler: ((Error?) -> Swift.Void)? = nil) func participantQuitInTurn(with matchOutcome: GKTurnBasedMatchOutcome, nextParticipants nextParticipants: [GKTurnBasedParticipant], turnTimeout timeout: TimeInterval, match matchData: Data, completionHandler completionHandler: ((Error?) -> Swift.Void)? = nil) func participantQuitOutOfTurn(with matchOutcome: GKTurnBasedMatchOutcome, withCompletionHandler completionHandler: ((Error?) -> Swift.Void)? = nil) func endMatchInTurn(withMatch matchData: Data, completionHandler completionHandler: ((Error?) -> Swift.Void)? = nil) func endMatchInTurn(withMatch matchData: Data, scores scores: [GKScore]?, achievements achievements: [GKAchievement]?, completionHandler completionHandler: ((Error?) -> Swift.Void)? = nil) func saveCurrentTurn(withMatch matchData: Data, completionHandler completionHandler: ((Error?) -> Swift.Void)? = nil) func saveMergedMatch(_ matchData: Data, withResolvedExchanges exchanges: [GKTurnBasedExchange], completionHandler completionHandler: ((Error?) -> Swift.Void)? = nil) func sendExchange(to participants: [GKTurnBasedParticipant], data data: Data, localizableMessageKey key: String, arguments arguments: [String], timeout timeout: TimeInterval, completionHandler completionHandler: ((GKTurnBasedExchange, Error) -> Swift.Void)? = nil) func sendReminder(to participants: [GKTurnBasedParticipant], localizableMessageKey key: String, arguments arguments: [String], completionHandler completionHandler: ((Error?) -> Swift.Void)? = nil) func endTurn(withNextParticipant nextParticipant: GKTurnBasedParticipant, match matchData: Data, completionHandler completionHandler: ((Error?) -> Swift.Void)? = nil) func participantQuitInTurn(with matchOutcome: GKTurnBasedMatchOutcome, nextParticipant nextParticipant: GKTurnBasedParticipant, match matchData: Data, completionHandler completionHandler: ((Error?) -> Swift.Void)? = nil) 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 GKTurnBasedMatch : CVarArg { } extension GKTurnBasedMatch : Equatable, Hashable { var hashValue: Int { get } } |
Modified GKTurnBasedMatch.acceptInvite(completionHandler: ((GKTurnBasedMatch?, Error?) -> Swift.Void)?)
Declaration | |
---|---|
From | func acceptInvite(completionHandler completionHandler: (@escaping (GKTurnBasedMatch?, Error?) -> Swift.Void)? = nil) |
To | func acceptInvite(completionHandler completionHandler: ((GKTurnBasedMatch?, Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func declineInvite(completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) |
To | func declineInvite(completionHandler completionHandler: ((Error?) -> Swift.Void)? = nil) |
Modified GKTurnBasedMatch.endMatchInTurn(withMatch: Data, completionHandler: ((Error?) -> Swift.Void)?)
Declaration | |
---|---|
From | func endMatchInTurn(withMatch matchData: Data, completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) |
To | func endMatchInTurn(withMatch matchData: Data, completionHandler completionHandler: ((Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func endMatchInTurn(withMatch matchData: Data, scores scores: [GKScore]?, achievements achievements: [GKAchievement]?, completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) |
To | func endMatchInTurn(withMatch matchData: Data, scores scores: [GKScore]?, achievements achievements: [GKAchievement]?, completionHandler completionHandler: ((Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func endTurn(withNextParticipants nextParticipants: [GKTurnBasedParticipant], turnTimeout timeout: TimeInterval, match matchData: Data, completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) |
To | func endTurn(withNextParticipants nextParticipants: [GKTurnBasedParticipant], turnTimeout timeout: TimeInterval, match matchData: Data, completionHandler completionHandler: ((Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | class func load(withID matchID: String, withCompletionHandler completionHandler: (@escaping (GKTurnBasedMatch?, Error?) -> Swift.Void)? = nil) |
To | class func load(withID matchID: String, withCompletionHandler completionHandler: ((GKTurnBasedMatch?, Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func loadMatchData(completionHandler completionHandler: (@escaping (Data?, Error?) -> Swift.Void)? = nil) |
To | func loadMatchData(completionHandler completionHandler: ((Data?, Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | class func loadMatches(completionHandler completionHandler: (@escaping ([GKTurnBasedMatch]?, Error?) -> Swift.Void)? = nil) |
To | class func loadMatches(completionHandler completionHandler: (([GKTurnBasedMatch]?, Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func participantQuitInTurn(with matchOutcome: GKTurnBasedMatchOutcome, nextParticipants nextParticipants: [GKTurnBasedParticipant], turnTimeout timeout: TimeInterval, match matchData: Data, completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) |
To | func participantQuitInTurn(with matchOutcome: GKTurnBasedMatchOutcome, nextParticipants nextParticipants: [GKTurnBasedParticipant], turnTimeout timeout: TimeInterval, match matchData: Data, completionHandler completionHandler: ((Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func participantQuitOutOfTurn(with matchOutcome: GKTurnBasedMatchOutcome, withCompletionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) |
To | func participantQuitOutOfTurn(with matchOutcome: GKTurnBasedMatchOutcome, withCompletionHandler completionHandler: ((Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func rematch(completionHandler completionHandler: (@escaping (GKTurnBasedMatch?, Error?) -> Swift.Void)? = nil) |
To | func rematch(completionHandler completionHandler: ((GKTurnBasedMatch?, Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func remove(completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) |
To | func remove(completionHandler completionHandler: ((Error?) -> Swift.Void)? = nil) |
Modified GKTurnBasedMatch.saveCurrentTurn(withMatch: Data, completionHandler: ((Error?) -> Swift.Void)?)
Declaration | |
---|---|
From | func saveCurrentTurn(withMatch matchData: Data, completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) |
To | func saveCurrentTurn(withMatch matchData: Data, completionHandler completionHandler: ((Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func saveMergedMatch(_ matchData: Data, withResolvedExchanges exchanges: [GKTurnBasedExchange], completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) |
To | func saveMergedMatch(_ matchData: Data, withResolvedExchanges exchanges: [GKTurnBasedExchange], completionHandler completionHandler: ((Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func sendExchange(to participants: [GKTurnBasedParticipant], data data: Data, localizableMessageKey key: String, arguments arguments: [String], timeout timeout: TimeInterval, completionHandler completionHandler: (@escaping (GKTurnBasedExchange, Error) -> Swift.Void)? = nil) |
To | func sendExchange(to participants: [GKTurnBasedParticipant], data data: Data, localizableMessageKey key: String, arguments arguments: [String], timeout timeout: TimeInterval, completionHandler completionHandler: ((GKTurnBasedExchange, Error) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func sendReminder(to participants: [GKTurnBasedParticipant], localizableMessageKey key: String, arguments arguments: [String], completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) |
To | func sendReminder(to participants: [GKTurnBasedParticipant], localizableMessageKey key: String, arguments arguments: [String], completionHandler completionHandler: ((Error?) -> Swift.Void)? = nil) |