GameKit Changes for Swift
GameKit
Added GKBasePlayer
Added GKBasePlayer.displayName
Added GKBasePlayer.playerID
Added GKCloudPlayer
Added GKConnectionState [enum]
Added GKError [struct]
Added GKError.cancelled
Added GKError.challengeInvalid
Added GKError.gameUnrecognized
Added GKError.init(_nsError: NSError)
Added GKError.invalidParameter
Added GKError.invalidPlayer
Added GKError.notAuthenticated
Added GKError.notSupported
Added GKError.scoreNotSet
Added GKError.underage
Added GKError.unknown
Added GKError.userDenied
Added GKGameSession
Added GKGameSession.identifier
Added GKGameSession.owner
Added GKGameSession.players
Added GKGameSession.remove(withIdentifier: String, completionHandler: (Error?) -> Swift.Void) [class]
Added GKGameSession.setConnectionState(_: GKConnectionState, completionHandler: (Error?) -> Swift.Void)
Added GKGameSession.title
Added GKGameSessionError.init(_nsError: NSError)
Added GKTransportType [enum]
Added GKTransportType.reliable
Added GKGameSessionErrorDomain
Modified GKAchievement
Declaration | Protocols | |
---|---|---|
From | class GKAchievement : NSObject, NSCoding, NSSecureCoding { class func loadAchievementsWithCompletionHandler(_ completionHandler: (([GKAchievement]?, NSError?) -> Void)?) class func resetAchievementsWithCompletionHandler(_ completionHandler: ((NSError?) -> Void)?) init(identifier identifier: String?) init(identifier identifier: String?, player player: GKPlayer) class func reportAchievements(_ achievements: [GKAchievement], withCompletionHandler completionHandler: ((NSError?) -> Void)?) var identifier: String? var percentComplete: Double var completed: Bool { get } @NSCopying var lastReportedDate: NSDate { get } var showsCompletionBanner: Bool var player: GKPlayer { get } } extension GKAchievement { func reportAchievementWithCompletionHandler(_ completionHandler: ((NSError?) -> Void)?) init(identifier identifier: String?, forPlayer playerID: String) var hidden: Bool { get } var playerID: String { get } } extension GKAchievement { func challengeComposeControllerWithMessage(_ message: String?, players players: [GKPlayer], completionHandler completionHandler: GKChallengeComposeCompletionBlock?) -> NSViewController func issueChallengeToPlayers(_ playerIDs: [String]?, message message: String?) func selectChallengeablePlayers(_ players: [GKPlayer], withCompletionHandler completionHandler: (([GKPlayer]?, NSError?) -> Void)?) class func reportAchievements(_ achievements: [GKAchievement], withEligibleChallenges challenges: [GKChallenge], withCompletionHandler completionHandler: ((NSError?) -> Void)?) } extension GKAchievement { func selectChallengeablePlayerIDs(_ playerIDs: [String]?, withCompletionHandler completionHandler: (([String]?, NSError?) -> Void)?) } | NSCoding, NSSecureCoding |
To | 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 report(completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) init(identifier identifier: String?, forPlayer playerID: String) var isHidden: Bool { get } var playerID: String { get } func challengeComposeController(withMessage message: String?, players players: [GKPlayer], completionHandler completionHandler: GameKit.GKChallengeComposeCompletionBlock? = nil) -> NSViewController 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 selectChallengeablePlayerIDs(_ playerIDs: [String]?, withCompletionHandler completionHandler: (@escaping ([String]?, Error?) -> Swift.Void)? = nil) func issueChallenge(toPlayers playerIDs: [String]?, message message: String?) class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? 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 setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: 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 func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) 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 pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? 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?) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> 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) -> NSViewController 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?) } | CVarArg, Equatable, Hashable, NSCoding, NSSecureCoding |
Declaration | |
---|---|
From | func challengeComposeControllerWithMessage(_ message: String?, players players: [GKPlayer], completionHandler completionHandler: GKChallengeComposeCompletionBlock?) -> NSViewController |
To | func challengeComposeController(withMessage message: String?, players players: [GKPlayer], completionHandler completionHandler: GameKit.GKChallengeComposeCompletionBlock? = nil) -> NSViewController |
Modified GKAchievement.isCompleted
Declaration | |
---|---|
From | var completed: Bool { get } |
To | var isCompleted: Bool { get } |
Modified GKAchievement.isHidden
Declaration | |
---|---|
From | var hidden: Bool { get } |
To | var isHidden: Bool { get } |
Declaration | |
---|---|
From | func issueChallengeToPlayers(_ playerIDs: [String]?, message message: String?) |
To | func issueChallenge(toPlayers playerIDs: [String]?, message message: String?) |
Modified GKAchievement.lastReportedDate
Declaration | |
---|---|
From | @NSCopying var lastReportedDate: NSDate { get } |
To | var lastReportedDate: Date { get } |
Declaration | |
---|---|
From | class func loadAchievementsWithCompletionHandler(_ completionHandler: (([GKAchievement]?, NSError?) -> Void)?) |
To | class func loadAchievements(completionHandler completionHandler: (@escaping ([GKAchievement]?, Error?) -> Swift.Void)? = nil) |
Modified GKAchievement.player
Declaration | |
---|---|
From | var player: GKPlayer { get } |
To | var player: GKPlayer? { get } |
Modified GKAchievement.report(_: [GKAchievement], withCompletionHandler: ( (Error?) -> Swift.Void)?) [class]
Declaration | |
---|---|
From | class func reportAchievements(_ achievements: [GKAchievement], withCompletionHandler completionHandler: ((NSError?) -> Void)?) |
To | class func report(_ achievements: [GKAchievement], withCompletionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | class func reportAchievements(_ achievements: [GKAchievement], withEligibleChallenges challenges: [GKChallenge], withCompletionHandler completionHandler: ((NSError?) -> Void)?) |
To | class func report(_ achievements: [GKAchievement], withEligibleChallenges challenges: [GKChallenge], withCompletionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func reportAchievementWithCompletionHandler(_ completionHandler: ((NSError?) -> Void)?) |
To | func report(completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | class func resetAchievementsWithCompletionHandler(_ completionHandler: ((NSError?) -> Void)?) |
To | class func resetAchievements(completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func selectChallengeablePlayerIDs(_ playerIDs: [String]?, withCompletionHandler completionHandler: (([String]?, NSError?) -> Void)?) |
To | func selectChallengeablePlayerIDs(_ playerIDs: [String]?, withCompletionHandler completionHandler: (@escaping ([String]?, Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func selectChallengeablePlayers(_ players: [GKPlayer], withCompletionHandler completionHandler: (([GKPlayer]?, NSError?) -> Void)?) |
To | func selectChallengeablePlayers(_ players: [GKPlayer], withCompletionHandler completionHandler: (@escaping ([GKPlayer]?, Error?) -> Swift.Void)? = nil) |
Modified GKAchievementDescription
Declaration | Protocols | |
---|---|---|
From | class GKAchievementDescription : NSObject, NSCoding, NSSecureCoding { class func loadAchievementDescriptionsWithCompletionHandler(_ completionHandler: (([GKAchievementDescription]?, NSError?) -> Void)?) 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 hidden: Bool { get } var replayable: Bool { get } } extension GKAchievementDescription { var image: NSImage? { get } func loadImageWithCompletionHandler(_ completionHandler: ((NSImage?, NSError?) -> Void)?) class func incompleteAchievementImage() -> NSImage class func placeholderCompletedAchievementImage() -> NSImage } | NSCoding, NSSecureCoding |
To | 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: NSImage? { get } func loadImage(completionHandler completionHandler: (@escaping (NSImage?, Error?) -> Swift.Void)? = nil) class func incompleteAchievementImage() -> NSImage class func placeholderCompletedAchievementImage() -> NSImage func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? 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 setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: 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 func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) 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 pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? 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?) var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? } extension GKAchievementDescription : CVarArg { } extension GKAchievementDescription : Equatable, Hashable { var hashValue: Int { get } } extension GKAchievementDescription { var image: NSImage? { get } func loadImage(completionHandler completionHandler: (@escaping (NSImage?, Error?) -> Swift.Void)? = nil) class func incompleteAchievementImage() -> NSImage class func placeholderCompletedAchievementImage() -> NSImage } | CVarArg, Equatable, Hashable, NSCoding, NSSecureCoding |
Modified GKAchievementDescription.isHidden
Declaration | |
---|---|
From | var hidden: Bool { get } |
To | var isHidden: Bool { get } |
Declaration | |
---|---|
From | var replayable: Bool { get } |
To | var isReplayable: Bool { get } |
Declaration | |
---|---|
From | class func loadAchievementDescriptionsWithCompletionHandler(_ completionHandler: (([GKAchievementDescription]?, NSError?) -> Void)?) |
To | class func loadAchievementDescriptions(completionHandler completionHandler: (@escaping ([GKAchievementDescription]?, Error?) -> Swift.Void)? = nil) |
Modified GKAchievementDescription.loadImage(completionHandler: ( (NSImage?, Error?) -> Swift.Void)?)
Declaration | |
---|---|
From | func loadImageWithCompletionHandler(_ completionHandler: ((NSImage?, NSError?) -> Void)?) |
To | func loadImage(completionHandler completionHandler: (@escaping (NSImage?, Error?) -> Swift.Void)? = nil) |
Modified GKAchievementViewController
Declaration | Protocols | |
---|---|---|
From | class GKAchievementViewController : GKGameCenterViewController { } extension GKAchievementViewController { unowned(unsafe) var achievementDelegate: GKAchievementViewControllerDelegate! } | -- |
To | class GKAchievementViewController : GKGameCenterViewController { unowned(unsafe) var achievementDelegate: GKAchievementViewControllerDelegate! unowned(unsafe) var gameCenterDelegate: GKGameCenterControllerDelegate? var viewState: GKGameCenterViewControllerState var storyboard: NSStoryboard? { get } var parent: NSViewController? { get } var childViewControllers: [NSViewController] func addChildViewController(_ childViewController: NSViewController) func removeFromParentViewController() func insertChildViewController(_ childViewController: NSViewController, at index: Int) func removeChildViewController(at index: Int) func preferredContentSizeDidChange(for viewController: NSViewController) func viewWillTransition(to newSize: NSSize) func presentViewControllerAsSheet(_ viewController: NSViewController) func presentViewControllerAsModalWindow(_ viewController: NSViewController) func presentViewController(_ viewController: NSViewController, asPopoverRelativeTo positioningRect: NSRect, of positioningView: NSView, preferredEdge preferredEdge: NSRectEdge, behavior behavior: NSPopoverBehavior) func transition(from fromViewController: NSViewController, to toViewController: NSViewController, options options: NSViewControllerTransitionOptions = [], completionHandler completion: (@escaping () -> Void)? = nil) func presentViewController(_ viewController: NSViewController, animator animator: NSViewControllerPresentationAnimator) func dismissViewController(_ viewController: NSViewController) @IBAction func dismiss(_ sender: Any?) var presentedViewControllers: [NSViewController]? { get } unowned(unsafe) var presenting: NSViewController? { get } func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) func performMnemonic(_ string: String) -> Bool @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool var leaderboardTimeScope: GKLeaderboardTimeScope var leaderboardIdentifier: String? var leaderboardCategory: String? func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? 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 setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: 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 func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) 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 pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? 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?) func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) } extension GKAchievementViewController : NSExtensionRequestHandling { var extensionContext: NSExtensionContext? { get } @IBOutlet var sourceItemView: NSView? var preferredScreenOrigin: NSPoint var preferredMinimumSize: NSSize { get } var preferredMaximumSize: NSSize { get } } extension GKAchievementViewController : CVarArg { } extension GKAchievementViewController : Equatable, Hashable { var hashValue: Int { get } } extension GKAchievementViewController { unowned(unsafe) var achievementDelegate: GKAchievementViewControllerDelegate! } | CVarArg, Equatable, Hashable, NSExtensionRequestHandling |
Deprecation | |
---|---|
From | -- |
To | OS X 10.10 |
Modified GKChallenge
Declaration | Protocols | |
---|---|---|
From | class GKChallenge : NSObject, NSCoding, NSSecureCoding { class func loadReceivedChallengesWithCompletionHandler(_ completionHandler: (([GKChallenge]?, NSError?) -> Void)?) 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: NSDate { get } var completionDate: NSDate? { get } var message: String? { get } } | NSCoding, NSSecureCoding |
To | 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 discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? 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 setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: 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 func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) 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 pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? 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 } } | CVarArg, Equatable, Hashable, NSCoding, NSSecureCoding |
Modified GKChallenge.completionDate
Declaration | |
---|---|
From | var completionDate: NSDate? { get } |
To | var completionDate: Date? { get } |
Modified GKChallenge.issueDate
Declaration | |
---|---|
From | var issueDate: NSDate { get } |
To | var issueDate: Date { get } |
Declaration | |
---|---|
From | class func loadReceivedChallengesWithCompletionHandler(_ completionHandler: (([GKChallenge]?, NSError?) -> Void)?) |
To | class func loadReceivedChallenges(completionHandler completionHandler: (@escaping ([GKChallenge]?, Error?) -> Swift.Void)? = nil) |
Modified GKChallengeEventHandler
Declaration | Protocols | |
---|---|---|
From | class GKChallengeEventHandler : NSObject { init!() class func challengeEventHandler() -> GKChallengeEventHandler! unowned(unsafe) var delegate: GKChallengeEventHandlerDelegate! } | -- |
To | class GKChallengeEventHandler : NSObject { init!() class func challengeEventHandler() -> GKChallengeEventHandler! unowned(unsafe) var delegate: GKChallengeEventHandlerDelegate! func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? 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 setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: 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 func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) 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 pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? 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 GKChallengeEventHandler : CVarArg { } extension GKChallengeEventHandler : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Modified GKChallengeEventHandlerDelegate
Declaration | |
---|---|
From | protocol GKChallengeEventHandlerDelegate : NSObjectProtocol { optional func localPlayerDidSelectChallenge(_ challenge: GKChallenge!) optional func shouldShowBannerForLocallyReceivedChallenge(_ challenge: GKChallenge!) -> Bool optional func localPlayerDidReceiveChallenge(_ challenge: GKChallenge!) optional func shouldShowBannerForLocallyCompletedChallenge(_ challenge: GKChallenge!) -> Bool optional func localPlayerDidCompleteChallenge(_ challenge: GKChallenge!) optional func shouldShowBannerForRemotelyCompletedChallenge(_ challenge: GKChallenge!) -> Bool optional func remotePlayerDidCompleteChallenge(_ challenge: GKChallenge!) } |
To | protocol GKChallengeEventHandlerDelegate : NSObjectProtocol { optional func localPlayerDidSelect(_ challenge: GKChallenge!) optional func shouldShowBanner(forLocallyReceivedChallenge challenge: GKChallenge!) -> Bool optional func localPlayerDidReceive(_ challenge: GKChallenge!) optional func shouldShowBanner(forLocallyCompletedChallenge challenge: GKChallenge!) -> Bool optional func localPlayerDidComplete(_ challenge: GKChallenge!) optional func shouldShowBanner(forRemotelyCompletedChallenge challenge: GKChallenge!) -> Bool optional func remotePlayerDidComplete(_ challenge: GKChallenge!) } |
Declaration | |
---|---|
From | optional func localPlayerDidCompleteChallenge(_ challenge: GKChallenge!) |
To | optional func localPlayerDidComplete(_ challenge: GKChallenge!) |
Declaration | |
---|---|
From | optional func localPlayerDidReceiveChallenge(_ challenge: GKChallenge!) |
To | optional func localPlayerDidReceive(_ challenge: GKChallenge!) |
Declaration | |
---|---|
From | optional func localPlayerDidSelectChallenge(_ challenge: GKChallenge!) |
To | optional func localPlayerDidSelect(_ challenge: GKChallenge!) |
Declaration | |
---|---|
From | optional func remotePlayerDidCompleteChallenge(_ challenge: GKChallenge!) |
To | optional func remotePlayerDidComplete(_ challenge: GKChallenge!) |
Modified GKChallengeEventHandlerDelegate.shouldShowBanner(forLocallyCompletedChallenge: GKChallenge!) -> Bool
Declaration | |
---|---|
From | optional func shouldShowBannerForLocallyCompletedChallenge(_ challenge: GKChallenge!) -> Bool |
To | optional func shouldShowBanner(forLocallyCompletedChallenge challenge: GKChallenge!) -> Bool |
Modified GKChallengeEventHandlerDelegate.shouldShowBanner(forLocallyReceivedChallenge: GKChallenge!) -> Bool
Declaration | |
---|---|
From | optional func shouldShowBannerForLocallyReceivedChallenge(_ challenge: GKChallenge!) -> Bool |
To | optional func shouldShowBanner(forLocallyReceivedChallenge challenge: GKChallenge!) -> Bool |
Declaration | |
---|---|
From | optional func shouldShowBannerForRemotelyCompletedChallenge(_ challenge: GKChallenge!) -> Bool |
To | optional func shouldShowBanner(forRemotelyCompletedChallenge challenge: GKChallenge!) -> Bool |
Modified GKChallengeListener
Declaration | |
---|---|
From | protocol GKChallengeListener : NSObjectProtocol { optional func player(_ player: GKPlayer, wantsToPlayChallenge challenge: GKChallenge) optional func player(_ player: GKPlayer, didReceiveChallenge challenge: GKChallenge) optional func player(_ player: GKPlayer, didCompleteChallenge challenge: GKChallenge, issuedByFriend friendPlayer: GKPlayer) optional func player(_ player: GKPlayer, issuedChallengeWasCompleted challenge: GKChallenge, byFriend friendPlayer: GKPlayer) } |
To | protocol GKChallengeListener : NSObjectProtocol { optional func player(_ player: GKPlayer, wantsToPlay challenge: GKChallenge) optional func player(_ player: GKPlayer, didReceive challenge: GKChallenge) optional func player(_ player: GKPlayer, didComplete challenge: GKChallenge, issuedByFriend friendPlayer: GKPlayer) optional func player(_ player: GKPlayer, issuedChallengeWasCompleted challenge: GKChallenge, byFriend friendPlayer: GKPlayer) } |
Modified GKChallengeListener.player(_: GKPlayer, didComplete: GKChallenge, issuedByFriend: GKPlayer)
Declaration | |
---|---|
From | optional func player(_ player: GKPlayer, didCompleteChallenge challenge: GKChallenge, issuedByFriend friendPlayer: GKPlayer) |
To | optional func player(_ player: GKPlayer, didComplete challenge: GKChallenge, issuedByFriend friendPlayer: GKPlayer) |
Declaration | |
---|---|
From | optional func player(_ player: GKPlayer, didReceiveChallenge challenge: GKChallenge) |
To | optional func player(_ player: GKPlayer, didReceive challenge: GKChallenge) |
Declaration | |
---|---|
From | optional func player(_ player: GKPlayer, wantsToPlayChallenge challenge: GKChallenge) |
To | optional func player(_ player: GKPlayer, wantsToPlay challenge: GKChallenge) |
Modified GKChallengeState [enum]
Declaration | |
---|---|
From | enum GKChallengeState : Int { case Invalid case Pending case Completed case Declined } |
To | enum GKChallengeState : Int { case invalid case pending case completed case declined } |
Modified GKChallengeState.completed
Declaration | |
---|---|
From | case Completed |
To | case completed |
Modified GKChallengeState.declined
Declaration | |
---|---|
From | case Declined |
To | case declined |
Modified GKChallengeState.invalid
Declaration | |
---|---|
From | case Invalid |
To | case invalid |
Modified GKChallengeState.pending
Declaration | |
---|---|
From | case Pending |
To | case pending |
Modified GKChallengesViewController
Declaration | Protocols | |
---|---|---|
From | class GKChallengesViewController : NSViewController, GKViewController { unowned(unsafe) var challengeDelegate: GKChallengesViewControllerDelegate! } | GKViewController |
To | class GKChallengesViewController : NSViewController, GKViewController { unowned(unsafe) var challengeDelegate: GKChallengesViewControllerDelegate! var storyboard: NSStoryboard? { get } var parent: NSViewController? { get } var childViewControllers: [NSViewController] func addChildViewController(_ childViewController: NSViewController) func removeFromParentViewController() func insertChildViewController(_ childViewController: NSViewController, at index: Int) func removeChildViewController(at index: Int) func preferredContentSizeDidChange(for viewController: NSViewController) func viewWillTransition(to newSize: NSSize) func presentViewControllerAsSheet(_ viewController: NSViewController) func presentViewControllerAsModalWindow(_ viewController: NSViewController) func presentViewController(_ viewController: NSViewController, asPopoverRelativeTo positioningRect: NSRect, of positioningView: NSView, preferredEdge preferredEdge: NSRectEdge, behavior behavior: NSPopoverBehavior) func transition(from fromViewController: NSViewController, to toViewController: NSViewController, options options: NSViewControllerTransitionOptions = [], completionHandler completion: (@escaping () -> Void)? = nil) func presentViewController(_ viewController: NSViewController, animator animator: NSViewControllerPresentationAnimator) func dismissViewController(_ viewController: NSViewController) @IBAction func dismiss(_ sender: Any?) var presentedViewControllers: [NSViewController]? { get } unowned(unsafe) var presenting: NSViewController? { get } func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) func performMnemonic(_ string: String) -> Bool @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? 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 setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: 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 func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) 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 pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? 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 GKChallengesViewController : NSExtensionRequestHandling { var extensionContext: NSExtensionContext? { get } @IBOutlet var sourceItemView: NSView? var preferredScreenOrigin: NSPoint var preferredMinimumSize: NSSize { get } var preferredMaximumSize: NSSize { get } } extension GKChallengesViewController : CVarArg { } extension GKChallengesViewController : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, GKViewController, Hashable, NSExtensionRequestHandling |
Modified GKDialogController
Declaration | Protocols | |
---|---|---|
From | class GKDialogController : NSResponder { @IBOutlet unowned(unsafe) var parentWindow: NSWindow? func presentViewController(_ viewController: NSViewController) -> Bool @IBAction func dismiss(_ sender: AnyObject) } extension GKDialogController { class func sharedDialogController() -> GKDialogController } | -- |
To | class GKDialogController : NSResponder { @IBOutlet unowned(unsafe) var parentWindow: NSWindow? func present(_ viewController: NSViewController) -> Bool @IBAction func dismiss(_ sender: Any) class func shared() -> GKDialogController func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) func performMnemonic(_ string: String) -> Bool @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? 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 setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: 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 func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) 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 pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? 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?) func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) } extension GKDialogController : CVarArg { } extension GKDialogController : Equatable, Hashable { var hashValue: Int { get } } extension GKDialogController { class func shared() -> GKDialogController } | CVarArg, Equatable, Hashable |
Modified GKDialogController.dismiss(_: Any)
Declaration | |
---|---|
From | @IBAction func dismiss(_ sender: AnyObject) |
To | @IBAction func dismiss(_ sender: Any) |
Declaration | |
---|---|
From | func presentViewController(_ viewController: NSViewController) -> Bool |
To | func present(_ viewController: NSViewController) -> Bool |
Declaration | |
---|---|
From | class func sharedDialogController() -> GKDialogController |
To | class func shared() -> GKDialogController |
Modified GKError.Code [enum]
Declaration | |
---|---|
From | enum GKErrorCode : Int { case Unknown case Cancelled case CommunicationsFailure case UserDenied case InvalidCredentials case NotAuthenticated case AuthenticationInProgress case InvalidPlayer case ScoreNotSet case ParentalControlsBlocked case PlayerStatusExceedsMaximumLength case PlayerStatusInvalid case MatchRequestInvalid case Underage case GameUnrecognized case NotSupported case InvalidParameter case UnexpectedConnection case ChallengeInvalid case TurnBasedMatchDataTooLarge case TurnBasedTooManySessions case TurnBasedInvalidParticipant case TurnBasedInvalidTurn case TurnBasedInvalidState case InvitationsDisabled case PlayerPhotoFailure case UbiquityContainerUnavailable } extension GKErrorCode : _BridgedNSError { } extension GKErrorCode : _BridgedNSError { } |
To | enum Code : Int { typealias _ErrorType = GKError case unknown case cancelled case communicationsFailure case userDenied case invalidCredentials case notAuthenticated case authenticationInProgress case invalidPlayer case scoreNotSet case parentalControlsBlocked case playerStatusExceedsMaximumLength case playerStatusInvalid case matchRequestInvalid case underage case gameUnrecognized case notSupported case invalidParameter case unexpectedConnection case challengeInvalid case turnBasedMatchDataTooLarge case turnBasedTooManySessions case turnBasedInvalidParticipant case turnBasedInvalidTurn case turnBasedInvalidState case invitationsDisabled case playerPhotoFailure case ubiquityContainerUnavailable case matchNotConnected case gameSessionRequestInvalid } |
Declaration | |
---|---|
From | case AuthenticationInProgress |
To | case authenticationInProgress |
Modified GKError.Code.cancelled
Declaration | |
---|---|
From | case Cancelled |
To | case cancelled |
Modified GKError.Code.challengeInvalid
Declaration | |
---|---|
From | case ChallengeInvalid |
To | case challengeInvalid |
Modified GKError.Code.communicationsFailure
Declaration | |
---|---|
From | case CommunicationsFailure |
To | case communicationsFailure |
Modified GKError.Code.gameUnrecognized
Declaration | |
---|---|
From | case GameUnrecognized |
To | case gameUnrecognized |
Modified GKError.Code.invalidCredentials
Declaration | |
---|---|
From | case InvalidCredentials |
To | case invalidCredentials |
Modified GKError.Code.invalidParameter
Declaration | Introduction | |
---|---|---|
From | case InvalidParameter | OS X 10.10 |
To | case invalidParameter | OS X 10.12 |
Modified GKError.Code.invalidPlayer
Declaration | |
---|---|
From | case InvalidPlayer |
To | case invalidPlayer |
Modified GKError.Code.invitationsDisabled
Declaration | |
---|---|
From | case InvitationsDisabled |
To | case invitationsDisabled |
Modified GKError.Code.matchRequestInvalid
Declaration | |
---|---|
From | case MatchRequestInvalid |
To | case matchRequestInvalid |
Modified GKError.Code.notAuthenticated
Declaration | |
---|---|
From | case NotAuthenticated |
To | case notAuthenticated |
Modified GKError.Code.notSupported
Declaration | |
---|---|
From | case NotSupported |
To | case notSupported |
Modified GKError.Code.parentalControlsBlocked
Declaration | |
---|---|
From | case ParentalControlsBlocked |
To | case parentalControlsBlocked |
Modified GKError.Code.playerPhotoFailure
Declaration | |
---|---|
From | case PlayerPhotoFailure |
To | case playerPhotoFailure |
Declaration | |
---|---|
From | case PlayerStatusExceedsMaximumLength |
To | case playerStatusExceedsMaximumLength |
Modified GKError.Code.playerStatusInvalid
Declaration | Introduction | |
---|---|---|
From | case PlayerStatusInvalid | OS X 10.10 |
To | case playerStatusInvalid | OS X 10.12 |
Modified GKError.Code.scoreNotSet
Declaration | |
---|---|
From | case ScoreNotSet |
To | case scoreNotSet |
Declaration | Introduction | |
---|---|---|
From | case TurnBasedInvalidParticipant | OS X 10.10 |
To | case turnBasedInvalidParticipant | OS X 10.12 |
Modified GKError.Code.turnBasedInvalidState
Declaration | |
---|---|
From | case TurnBasedInvalidState |
To | case turnBasedInvalidState |
Modified GKError.Code.turnBasedInvalidTurn
Declaration | |
---|---|
From | case TurnBasedInvalidTurn |
To | case turnBasedInvalidTurn |
Declaration | |
---|---|
From | case TurnBasedMatchDataTooLarge |
To | case turnBasedMatchDataTooLarge |
Declaration | |
---|---|
From | case TurnBasedTooManySessions |
To | case turnBasedTooManySessions |
Declaration | |
---|---|
From | case UbiquityContainerUnavailable |
To | case ubiquityContainerUnavailable |
Modified GKError.Code.underage
Declaration | |
---|---|
From | case Underage |
To | case underage |
Modified GKError.Code.unexpectedConnection
Declaration | |
---|---|
From | case UnexpectedConnection |
To | case unexpectedConnection |
Modified GKError.Code.unknown
Declaration | |
---|---|
From | case Unknown |
To | case unknown |
Modified GKError.Code.userDenied
Declaration | |
---|---|
From | case UserDenied |
To | case userDenied |
Modified GKFriendRequestComposeViewController
Declaration | Protocols | Deprecation | |
---|---|---|---|
From | class GKFriendRequestComposeViewController : NSViewController, GKViewController { } extension GKFriendRequestComposeViewController { class func maxNumberOfRecipients() -> Int func setMessage(_ message: String?) func addRecipientPlayers(_ players: [GKPlayer]) func addRecipientsWithPlayerIDs(_ playerIDs: [String]) func addRecipientsWithEmailAddresses(_ emailAddresses: [String]) unowned(unsafe) var composeViewDelegate: GKFriendRequestComposeViewControllerDelegate? } | GKViewController | -- |
To | class GKFriendRequestComposeViewController : NSViewController, GKViewController { class func maxNumberOfRecipients() -> Int func setMessage(_ message: String?) func addRecipientPlayers(_ players: [GKPlayer]) func addRecipients(withPlayerIDs playerIDs: [String]) func addRecipients(withEmailAddresses emailAddresses: [String]) unowned(unsafe) var composeViewDelegate: GKFriendRequestComposeViewControllerDelegate? var parent: NSViewController? { get } var childViewControllers: [NSViewController] func addChildViewController(_ childViewController: NSViewController) func removeFromParentViewController() func insertChildViewController(_ childViewController: NSViewController, at index: Int) func removeChildViewController(at index: Int) func preferredContentSizeDidChange(for viewController: NSViewController) func viewWillTransition(to newSize: NSSize) func presentViewControllerAsSheet(_ viewController: NSViewController) func presentViewControllerAsModalWindow(_ viewController: NSViewController) func presentViewController(_ viewController: NSViewController, asPopoverRelativeTo positioningRect: NSRect, of positioningView: NSView, preferredEdge preferredEdge: NSRectEdge, behavior behavior: NSPopoverBehavior) func transition(from fromViewController: NSViewController, to toViewController: NSViewController, options options: NSViewControllerTransitionOptions = [], completionHandler completion: (@escaping () -> Void)? = nil) func presentViewController(_ viewController: NSViewController, animator animator: NSViewControllerPresentationAnimator) func dismissViewController(_ viewController: NSViewController) @IBAction func dismiss(_ sender: Any?) var presentedViewControllers: [NSViewController]? { get } unowned(unsafe) var presenting: NSViewController? { get } func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) func performMnemonic(_ string: String) -> Bool @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) var storyboard: NSStoryboard? { get } func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? 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 setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: 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 func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) 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 pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? 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?) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String } extension GKFriendRequestComposeViewController : NSExtensionRequestHandling { var extensionContext: NSExtensionContext? { get } @IBOutlet var sourceItemView: NSView? var preferredScreenOrigin: NSPoint var preferredMinimumSize: NSSize { get } var preferredMaximumSize: NSSize { get } } extension GKFriendRequestComposeViewController : CVarArg { } extension GKFriendRequestComposeViewController : Equatable, Hashable { var hashValue: Int { get } } extension GKFriendRequestComposeViewController { class func maxNumberOfRecipients() -> Int func setMessage(_ message: String?) func addRecipientPlayers(_ players: [GKPlayer]) func addRecipients(withPlayerIDs playerIDs: [String]) func addRecipients(withEmailAddresses emailAddresses: [String]) unowned(unsafe) var composeViewDelegate: GKFriendRequestComposeViewControllerDelegate? } | CVarArg, Equatable, GKViewController, Hashable, NSExtensionRequestHandling | OS X 10.12 |
Deprecation | |
---|---|
From | -- |
To | OS X 10.12 |
Declaration | Deprecation | |
---|---|---|
From | func addRecipientsWithEmailAddresses(_ emailAddresses: [String]) | -- |
To | func addRecipients(withEmailAddresses emailAddresses: [String]) | OS X 10.12 |
Declaration | |
---|---|
From | func addRecipientsWithPlayerIDs(_ playerIDs: [String]) |
To | func addRecipients(withPlayerIDs playerIDs: [String]) |
Deprecation | |
---|---|
From | -- |
To | OS X 10.12 |
Deprecation | |
---|---|
From | -- |
To | OS X 10.12 |
Deprecation | |
---|---|
From | -- |
To | OS X 10.12 |
Deprecation | |
---|---|
From | -- |
To | OS X 10.12 |
Modified GKGameCenterViewController
Declaration | Protocols | |
---|---|---|
From | class GKGameCenterViewController : NSViewController, GKViewController { } extension GKGameCenterViewController { unowned(unsafe) var gameCenterDelegate: GKGameCenterControllerDelegate? var viewState: GKGameCenterViewControllerState } extension GKGameCenterViewController { var leaderboardTimeScope: GKLeaderboardTimeScope var leaderboardIdentifier: String? var leaderboardCategory: String? } | GKViewController |
To | class GKGameCenterViewController : NSViewController, GKViewController { unowned(unsafe) var gameCenterDelegate: GKGameCenterControllerDelegate? var viewState: GKGameCenterViewControllerState var leaderboardTimeScope: GKLeaderboardTimeScope var leaderboardIdentifier: String? var leaderboardCategory: String? func presentViewControllerAsSheet(_ viewController: NSViewController) func presentViewControllerAsModalWindow(_ viewController: NSViewController) func presentViewController(_ viewController: NSViewController, asPopoverRelativeTo positioningRect: NSRect, of positioningView: NSView, preferredEdge preferredEdge: NSRectEdge, behavior behavior: NSPopoverBehavior) func transition(from fromViewController: NSViewController, to toViewController: NSViewController, options options: NSViewControllerTransitionOptions = [], completionHandler completion: (@escaping () -> Void)? = nil) func presentViewController(_ viewController: NSViewController, animator animator: NSViewControllerPresentationAnimator) func dismissViewController(_ viewController: NSViewController) @IBAction func dismiss(_ sender: Any?) var presentedViewControllers: [NSViewController]? { get } unowned(unsafe) var presenting: NSViewController? { get } func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) func performMnemonic(_ string: String) -> Bool @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String var storyboard: NSStoryboard? { get } func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? 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 setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: 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 func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) 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 pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? 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?) var parent: NSViewController? { get } var childViewControllers: [NSViewController] func addChildViewController(_ childViewController: NSViewController) func removeFromParentViewController() func insertChildViewController(_ childViewController: NSViewController, at index: Int) func removeChildViewController(at index: Int) func preferredContentSizeDidChange(for viewController: NSViewController) func viewWillTransition(to newSize: NSSize) func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool } extension GKGameCenterViewController : NSExtensionRequestHandling { var extensionContext: NSExtensionContext? { get } @IBOutlet var sourceItemView: NSView? var preferredScreenOrigin: NSPoint var preferredMinimumSize: NSSize { get } var preferredMaximumSize: NSSize { get } } extension GKGameCenterViewController : CVarArg { } extension GKGameCenterViewController : Equatable, Hashable { var hashValue: Int { get } } extension GKGameCenterViewController { unowned(unsafe) var gameCenterDelegate: GKGameCenterControllerDelegate? var viewState: GKGameCenterViewControllerState } extension GKGameCenterViewController { var leaderboardTimeScope: GKLeaderboardTimeScope var leaderboardIdentifier: String? var leaderboardCategory: String? } | CVarArg, Equatable, GKViewController, Hashable, NSExtensionRequestHandling |
Declaration | |
---|---|
From | enum GKGameCenterViewControllerState : Int { case Default case Leaderboards case Achievements case Challenges } |
To | enum GKGameCenterViewControllerState : Int { case `default` case leaderboards case achievements case challenges } |
Declaration | |
---|---|
From | case Achievements |
To | case achievements |
Declaration | |
---|---|
From | case Challenges |
To | case challenges |
Declaration | |
---|---|
From | case Default |
To | case `default` |
Declaration | |
---|---|
From | case Leaderboards |
To | case leaderboards |
Modified GKInvite
Declaration | Protocols | |
---|---|---|
From | class GKInvite : NSObject { var sender: GKPlayer { get } var inviter: String { get } var hosted: Bool { get } var playerGroup: Int { get } var playerAttributes: UInt32 { get } } | -- |
To | class GKInvite : NSObject { var sender: GKPlayer { get } var inviter: String { get } var isHosted: Bool { get } var playerGroup: Int { get } var playerAttributes: UInt32 { get } func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? 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 setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: 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 func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) 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 pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? 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 GKInvite : CVarArg { } extension GKInvite : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Modified GKInvite.isHosted
Declaration | |
---|---|
From | var hosted: Bool { get } |
To | var isHosted: Bool { get } |
Modified GKInviteEventListener
Declaration | |
---|---|
From | protocol GKInviteEventListener { optional func player(_ player: GKPlayer, didAcceptInvite invite: GKInvite) optional func player(_ player: GKPlayer, didRequestMatchWithRecipients recipientPlayers: [GKPlayer]) optional func player(_ player: GKPlayer, didRequestMatchWithPlayers playerIDsToInvite: [String]) } |
To | protocol GKInviteEventListener { optional func player(_ player: GKPlayer, didAccept invite: GKInvite) optional func player(_ player: GKPlayer, didRequestMatchWithRecipients recipientPlayers: [GKPlayer]) optional func player(_ player: GKPlayer, didRequestMatchWithPlayers playerIDsToInvite: [String]) } |
Declaration | |
---|---|
From | optional func player(_ player: GKPlayer, didAcceptInvite invite: GKInvite) |
To | optional func player(_ player: GKPlayer, didAccept invite: GKInvite) |
Modified GKInviteRecipientResponse [enum]
Declaration | |
---|---|
From | enum GKInviteRecipientResponse : Int { case InviteRecipientResponseAccepted case InviteRecipientResponseDeclined case InviteRecipientResponseFailed case InviteRecipientResponseIncompatible case InviteRecipientResponseUnableToConnect case InviteRecipientResponseNoAnswer static var InviteeResponseAccepted: GKInviteRecipientResponse { get } static var InviteeResponseDeclined: GKInviteRecipientResponse { get } static var InviteeResponseFailed: GKInviteRecipientResponse { get } static var InviteeResponseIncompatible: GKInviteRecipientResponse { get } static var InviteeResponseUnableToConnect: GKInviteRecipientResponse { get } static var InviteeResponseNoAnswer: GKInviteRecipientResponse { get } } |
To | enum GKInviteRecipientResponse : Int { case inviteRecipientResponseAccepted case inviteRecipientResponseDeclined case inviteRecipientResponseFailed case inviteRecipientResponseIncompatible case inviteRecipientResponseUnableToConnect case inviteRecipientResponseNoAnswer static var inviteeResponseAccepted: GKInviteRecipientResponse { get } static var inviteeResponseDeclined: GKInviteRecipientResponse { get } static var inviteeResponseFailed: GKInviteRecipientResponse { get } static var inviteeResponseIncompatible: GKInviteRecipientResponse { get } static var inviteeResponseUnableToConnect: GKInviteRecipientResponse { get } static var inviteeResponseNoAnswer: GKInviteRecipientResponse { get } } |
Declaration | |
---|---|
From | static var InviteeResponseAccepted: GKInviteRecipientResponse { get } |
To | static var inviteeResponseAccepted: GKInviteRecipientResponse { get } |
Declaration | |
---|---|
From | static var InviteeResponseDeclined: GKInviteRecipientResponse { get } |
To | static var inviteeResponseDeclined: GKInviteRecipientResponse { get } |
Declaration | |
---|---|
From | static var InviteeResponseFailed: GKInviteRecipientResponse { get } |
To | static var inviteeResponseFailed: GKInviteRecipientResponse { get } |
Declaration | |
---|---|
From | static var InviteeResponseIncompatible: GKInviteRecipientResponse { get } |
To | static var inviteeResponseIncompatible: GKInviteRecipientResponse { get } |
Declaration | |
---|---|
From | static var InviteeResponseNoAnswer: GKInviteRecipientResponse { get } |
To | static var inviteeResponseNoAnswer: GKInviteRecipientResponse { get } |
Declaration | |
---|---|
From | static var InviteeResponseUnableToConnect: GKInviteRecipientResponse { get } |
To | static var inviteeResponseUnableToConnect: GKInviteRecipientResponse { get } |
Declaration | |
---|---|
From | case InviteRecipientResponseAccepted |
To | case inviteRecipientResponseAccepted |
Declaration | |
---|---|
From | case InviteRecipientResponseDeclined |
To | case inviteRecipientResponseDeclined |
Declaration | |
---|---|
From | case InviteRecipientResponseFailed |
To | case inviteRecipientResponseFailed |
Declaration | |
---|---|
From | case InviteRecipientResponseIncompatible |
To | case inviteRecipientResponseIncompatible |
Declaration | |
---|---|
From | case InviteRecipientResponseNoAnswer |
To | case inviteRecipientResponseNoAnswer |
Declaration | |
---|---|
From | case InviteRecipientResponseUnableToConnect |
To | case inviteRecipientResponseUnableToConnect |
Modified GKLeaderboard
Declaration | Protocols | |
---|---|---|
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 loading: Bool { get } var groupIdentifier: String? { get } init() init(players players: [GKPlayer]) func loadScoresWithCompletionHandler(_ completionHandler: (([GKScore]?, NSError?) -> Void)?) class func loadLeaderboardsWithCompletionHandler(_ completionHandler: (([GKLeaderboard]?, NSError?) -> Void)?) } extension GKLeaderboard { var category: String? init?(playerIDs playerIDs: [String]?) class func loadCategoriesWithCompletionHandler(_ completionHandler: (([String]?, [String]?, NSError?) -> Void)?) class func setDefaultLeaderboard(_ leaderboardIdentifier: String?, withCompletionHandler completionHandler: ((NSError?) -> Void)?) } extension GKLeaderboard { func loadImageWithCompletionHandler(_ completionHandler: ((NSImage?, NSError?) -> Void)?) } | -- |
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: (@escaping ([GKScore]?, Error?) -> Swift.Void)? = nil) class func loadLeaderboards(completionHandler completionHandler: (@escaping ([GKLeaderboard]?, 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 loadImage(completionHandler completionHandler: (@escaping (NSImage?, Error?) -> Swift.Void)? = nil) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? 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 setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: 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 func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) 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 pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? 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?) func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> 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 (NSImage?, Error?) -> Swift.Void)? = nil) } | CVarArg, Equatable, Hashable |
Modified GKLeaderboard.isLoading
Declaration | |
---|---|
From | var loading: Bool { get } |
To | var isLoading: Bool { get } |
Declaration | |
---|---|
From | func loadImageWithCompletionHandler(_ completionHandler: ((NSImage?, NSError?) -> Void)?) |
To | func loadImage(completionHandler completionHandler: (@escaping (NSImage?, Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | class func loadLeaderboardsWithCompletionHandler(_ completionHandler: (([GKLeaderboard]?, NSError?) -> Void)?) |
To | class func loadLeaderboards(completionHandler completionHandler: (@escaping ([GKLeaderboard]?, Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func loadScoresWithCompletionHandler(_ completionHandler: (([GKScore]?, NSError?) -> Void)?) |
To | func loadScores(completionHandler completionHandler: (@escaping ([GKScore]?, Error?) -> Swift.Void)? = nil) |
Modified GKLeaderboard.setDefault(_: String?, withCompletionHandler: ( (Error?) -> Swift.Void)?) [class]
Declaration | |
---|---|
From | class func setDefaultLeaderboard(_ leaderboardIdentifier: String?, withCompletionHandler completionHandler: ((NSError?) -> Void)?) |
To | class func setDefault(_ leaderboardIdentifier: String?, withCompletionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) |
Modified GKLeaderboardPlayerScope [enum]
Declaration | |
---|---|
From | enum GKLeaderboardPlayerScope : Int { case Global case FriendsOnly } |
To | enum GKLeaderboardPlayerScope : Int { case global case friendsOnly } |
Modified GKLeaderboardPlayerScope.friendsOnly
Declaration | |
---|---|
From | case FriendsOnly |
To | case friendsOnly |
Modified GKLeaderboardPlayerScope.global
Declaration | |
---|---|
From | case Global |
To | case global |
Modified GKLeaderboardSet
Declaration | Protocols | |
---|---|---|
From | class GKLeaderboardSet : NSObject, NSCoding, NSSecureCoding { var title: String { get } var groupIdentifier: String? { get } var identifier: String? class func loadLeaderboardSetsWithCompletionHandler(_ completionHandler: (([GKLeaderboardSet]?, NSError?) -> Void)?) func loadLeaderboardsWithCompletionHandler(_ completionHandler: (([GKLeaderboard]?, NSError?) -> Void)?) } extension GKLeaderboardSet { func loadImageWithCompletionHandler(_ completionHandler: ((NSImage?, NSError?) -> Void)?) } | NSCoding, NSSecureCoding |
To | 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 (NSImage?, Error?) -> Swift.Void)? = nil) func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? 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 setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: 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 func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) 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 pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? 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?) var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? } extension GKLeaderboardSet : CVarArg { } extension GKLeaderboardSet : Equatable, Hashable { var hashValue: Int { get } } extension GKLeaderboardSet { func loadImage(completionHandler completionHandler: (@escaping (NSImage?, Error?) -> Swift.Void)? = nil) } | CVarArg, Equatable, Hashable, NSCoding, NSSecureCoding |
Declaration | |
---|---|
From | func loadImageWithCompletionHandler(_ completionHandler: ((NSImage?, NSError?) -> Void)?) |
To | func loadImage(completionHandler completionHandler: (@escaping (NSImage?, Error?) -> Swift.Void)? = nil) |
Modified GKLeaderboardSet.loadLeaderboards(completionHandler: ( ([GKLeaderboard]?, Error?) -> Swift.Void)?)
Declaration | |
---|---|
From | func loadLeaderboardsWithCompletionHandler(_ completionHandler: (([GKLeaderboard]?, NSError?) -> Void)?) |
To | func loadLeaderboards(completionHandler completionHandler: (@escaping ([GKLeaderboard]?, Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | class func loadLeaderboardSetsWithCompletionHandler(_ completionHandler: (([GKLeaderboardSet]?, NSError?) -> Void)?) |
To | class func loadLeaderboardSets(completionHandler completionHandler: (@escaping ([GKLeaderboardSet]?, Error?) -> Swift.Void)? = nil) |
Modified GKLeaderboardTimeScope [enum]
Declaration | |
---|---|
From | enum GKLeaderboardTimeScope : Int { case Today case Week case AllTime } |
To | enum GKLeaderboardTimeScope : Int { case today case week case allTime } |
Modified GKLeaderboardTimeScope.allTime
Declaration | |
---|---|
From | case AllTime |
To | case allTime |
Modified GKLeaderboardTimeScope.today
Declaration | |
---|---|
From | case Today |
To | case today |
Modified GKLeaderboardTimeScope.week
Declaration | |
---|---|
From | case Week |
To | case week |
Modified GKLeaderboardViewController
Declaration | Protocols | |
---|---|---|
From | class GKLeaderboardViewController : GKGameCenterViewController { } extension GKLeaderboardViewController { var timeScope: GKLeaderboardTimeScope var category: String! unowned(unsafe) var leaderboardDelegate: GKLeaderboardViewControllerDelegate! } | -- |
To | class GKLeaderboardViewController : GKGameCenterViewController { var timeScope: GKLeaderboardTimeScope var category: String! unowned(unsafe) var leaderboardDelegate: GKLeaderboardViewControllerDelegate! unowned(unsafe) var gameCenterDelegate: GKGameCenterControllerDelegate? var viewState: GKGameCenterViewControllerState var storyboard: NSStoryboard? { get } var parent: NSViewController? { get } var childViewControllers: [NSViewController] func addChildViewController(_ childViewController: NSViewController) func removeFromParentViewController() func insertChildViewController(_ childViewController: NSViewController, at index: Int) func removeChildViewController(at index: Int) func preferredContentSizeDidChange(for viewController: NSViewController) func viewWillTransition(to newSize: NSSize) func presentViewControllerAsSheet(_ viewController: NSViewController) func presentViewControllerAsModalWindow(_ viewController: NSViewController) func presentViewController(_ viewController: NSViewController, asPopoverRelativeTo positioningRect: NSRect, of positioningView: NSView, preferredEdge preferredEdge: NSRectEdge, behavior behavior: NSPopoverBehavior) func transition(from fromViewController: NSViewController, to toViewController: NSViewController, options options: NSViewControllerTransitionOptions = [], completionHandler completion: (@escaping () -> Void)? = nil) func presentViewController(_ viewController: NSViewController, animator animator: NSViewControllerPresentationAnimator) func dismissViewController(_ viewController: NSViewController) @IBAction func dismiss(_ sender: Any?) var presentedViewControllers: [NSViewController]? { get } unowned(unsafe) var presenting: NSViewController? { get } func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) func performMnemonic(_ string: String) -> Bool @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool var leaderboardTimeScope: GKLeaderboardTimeScope var leaderboardIdentifier: String? var leaderboardCategory: String? func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? 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 setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: 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 func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) 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 pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? 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?) func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) } extension GKLeaderboardViewController : NSExtensionRequestHandling { var extensionContext: NSExtensionContext? { get } @IBOutlet var sourceItemView: NSView? var preferredScreenOrigin: NSPoint var preferredMinimumSize: NSSize { get } var preferredMaximumSize: NSSize { get } } extension GKLeaderboardViewController : CVarArg { } extension GKLeaderboardViewController : Equatable, Hashable { var hashValue: Int { get } } extension GKLeaderboardViewController { var timeScope: GKLeaderboardTimeScope var category: String! unowned(unsafe) var leaderboardDelegate: GKLeaderboardViewControllerDelegate! } | CVarArg, Equatable, Hashable, NSExtensionRequestHandling |
Modified GKLeaderboardViewController.category
Deprecation | |
---|---|
From | -- |
To | OS X 10.10 |
Deprecation | |
---|---|
From | -- |
To | OS X 10.10 |
Deprecation | |
---|---|
From | -- |
To | OS X 10.10 |
Modified GKLocalPlayer
Declaration | |
---|---|
From | class GKLocalPlayer : GKPlayer { class func localPlayer() -> GKLocalPlayer var authenticated: Bool { get } var underage: Bool { get } var authenticateHandler: ((NSViewController?, NSError?) -> Void)? func loadFriendPlayersWithCompletionHandler(_ completionHandler: (([GKPlayer]?, NSError?) -> Void)?) func setDefaultLeaderboardIdentifier(_ leaderboardIdentifier: String, completionHandler completionHandler: ((NSError?) -> Void)?) func loadDefaultLeaderboardIdentifierWithCompletionHandler(_ completionHandler: ((String?, NSError?) -> Void)?) func generateIdentityVerificationSignatureWithCompletionHandler(_ completionHandler: ((NSURL?, NSData?, NSData?, UInt64, NSError?) -> Void)?) } extension GKLocalPlayer { func registerListener(_ listener: GKLocalPlayerListener) func unregisterListener(_ listener: GKLocalPlayerListener) func unregisterAllListeners() } extension GKLocalPlayer { func setDefaultLeaderboardCategoryID(_ categoryID: String?, completionHandler completionHandler: ((NSError?) -> Void)?) func loadDefaultLeaderboardCategoryIDWithCompletionHandler(_ completionHandler: ((String?, NSError?) -> Void)?) func loadFriendsWithCompletionHandler(_ completionHandler: (([String]?, NSError?) -> Void)?) func authenticateWithCompletionHandler(_ completionHandler: ((NSError?) -> Void)?) var friends: [String]? { get } } extension GKLocalPlayer : GKSavedGameListener { func fetchSavedGamesWithCompletionHandler(_ handler: (([GKSavedGame]?, NSError?) -> Void)?) func saveGameData(_ data: NSData, withName name: String, completionHandler handler: ((GKSavedGame?, NSError?) -> Void)?) func deleteSavedGamesWithName(_ name: String, completionHandler handler: ((NSError?) -> Void)?) func resolveConflictingSavedGames(_ conflictingSavedGames: [GKSavedGame], withData data: NSData, completionHandler handler: (([GKSavedGame]?, NSError?) -> Void)?) } |
To | class GKLocalPlayer : GKPlayer { class func localPlayer() -> GKLocalPlayer var isAuthenticated: Bool { get } var isUnderage: Bool { get } var authenticateHandler: ((NSViewController?, 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 (NSImage?, 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) } |
Modified GKLocalPlayer.authenticateHandler
Declaration | |
---|---|
From | var authenticateHandler: ((NSViewController?, NSError?) -> Void)? |
To | var authenticateHandler: ((NSViewController?, Error?) -> Swift.Void)? |
Modified GKLocalPlayer.deleteSavedGames(withName: String, completionHandler: ( (Error?) -> Swift.Void)?)
Declaration | |
---|---|
From | func deleteSavedGamesWithName(_ name: String, completionHandler handler: ((NSError?) -> Void)?) |
To | func deleteSavedGames(withName name: String, completionHandler handler: (@escaping (Error?) -> Swift.Void)? = nil) |
Modified GKLocalPlayer.fetchSavedGames(completionHandler: ( ([GKSavedGame]?, Error?) -> Swift.Void)?)
Declaration | |
---|---|
From | func fetchSavedGamesWithCompletionHandler(_ handler: (([GKSavedGame]?, NSError?) -> Void)?) |
To | func fetchSavedGames(completionHandler handler: (@escaping ([GKSavedGame]?, Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func generateIdentityVerificationSignatureWithCompletionHandler(_ completionHandler: ((NSURL?, NSData?, NSData?, UInt64, NSError?) -> Void)?) |
To | func generateIdentityVerificationSignature(completionHandler completionHandler: (@escaping (URL?, Data?, Data?, UInt64, Error?) -> Swift.Void)? = nil) |
Modified GKLocalPlayer.isAuthenticated
Declaration | |
---|---|
From | var authenticated: Bool { get } |
To | var isAuthenticated: Bool { get } |
Modified GKLocalPlayer.isUnderage
Declaration | |
---|---|
From | var underage: Bool { get } |
To | var isUnderage: Bool { get } |
Declaration | |
---|---|
From | func loadDefaultLeaderboardCategoryIDWithCompletionHandler(_ completionHandler: ((String?, NSError?) -> Void)?) |
To | func loadDefaultLeaderboardCategoryID(completionHandler completionHandler: (@escaping (String?, Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func loadDefaultLeaderboardIdentifierWithCompletionHandler(_ completionHandler: ((String?, NSError?) -> Void)?) |
To | func loadDefaultLeaderboardIdentifier(completionHandler completionHandler: (@escaping (String?, Error?) -> Swift.Void)? = nil) |
Modified GKLocalPlayer.loadFriendPlayers(completionHandler: ( ([GKPlayer]?, Error?) -> Swift.Void)?)
Declaration | Deprecation | |
---|---|---|
From | func loadFriendPlayersWithCompletionHandler(_ completionHandler: (([GKPlayer]?, NSError?) -> Void)?) | -- |
To | func loadFriendPlayers(completionHandler completionHandler: (@escaping ([GKPlayer]?, Error?) -> Swift.Void)? = nil) | OS X 10.11 |
Declaration | |
---|---|
From | func loadFriendsWithCompletionHandler(_ completionHandler: (([String]?, NSError?) -> Void)?) |
To | func loadFriends(completionHandler completionHandler: (@escaping ([String]?, Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func registerListener(_ listener: GKLocalPlayerListener) |
To | func register(_ listener: GKLocalPlayerListener) |
Declaration | |
---|---|
From | func resolveConflictingSavedGames(_ conflictingSavedGames: [GKSavedGame], withData data: NSData, completionHandler handler: (([GKSavedGame]?, NSError?) -> Void)?) |
To | func resolveConflictingSavedGames(_ conflictingSavedGames: [GKSavedGame], with data: Data, completionHandler handler: (@escaping ([GKSavedGame]?, Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func saveGameData(_ data: NSData, withName name: String, completionHandler handler: ((GKSavedGame?, NSError?) -> Void)?) |
To | func saveGameData(_ data: Data, withName name: String, completionHandler handler: (@escaping (GKSavedGame?, Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func setDefaultLeaderboardCategoryID(_ categoryID: String?, completionHandler completionHandler: ((NSError?) -> Void)?) |
To | func setDefaultLeaderboardCategoryID(_ categoryID: String?, completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func setDefaultLeaderboardIdentifier(_ leaderboardIdentifier: String, completionHandler completionHandler: ((NSError?) -> Void)?) |
To | func setDefaultLeaderboardIdentifier(_ leaderboardIdentifier: String, completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) |
Modified GKMatch
Declaration | Protocols | |
---|---|---|
From | class GKMatch : NSObject { var players: [GKPlayer] { get } unowned(unsafe) var delegate: GKMatchDelegate? var expectedPlayerCount: Int { get } func sendData(_ data: NSData, toPlayers players: [GKPlayer], dataMode mode: GKMatchSendDataMode) throws func sendDataToAllPlayers(_ data: NSData, withDataMode mode: GKMatchSendDataMode) throws func disconnect() func voiceChatWithName(_ name: String) -> GKVoiceChat? func chooseBestHostingPlayerWithCompletionHandler(_ completionHandler: (GKPlayer?) -> Void) func rematchWithCompletionHandler(_ completionHandler: ((GKMatch?, NSError?) -> Void)?) } extension GKMatch { func chooseBestHostPlayerWithCompletionHandler(_ completionHandler: (String?) -> Void) func sendData(_ data: NSData, toPlayers playerIDs: [String], withDataMode 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: (@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 objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? 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 setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: 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 func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) 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 pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? 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?) var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? } 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 } } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | func chooseBestHostingPlayerWithCompletionHandler(_ completionHandler: (GKPlayer?) -> Void) |
To | func chooseBestHostingPlayer(completionHandler completionHandler: @escaping (GKPlayer?) -> Swift.Void) |
Declaration | |
---|---|
From | func chooseBestHostPlayerWithCompletionHandler(_ completionHandler: (String?) -> Void) |
To | func chooseBestHostPlayer(completionHandler completionHandler: @escaping (String?) -> Swift.Void) |
Declaration | |
---|---|
From | func rematchWithCompletionHandler(_ completionHandler: ((GKMatch?, NSError?) -> Void)?) |
To | func rematch(completionHandler completionHandler: (@escaping (GKMatch?, Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func sendData(_ data: NSData, toPlayers players: [GKPlayer], dataMode mode: GKMatchSendDataMode) throws |
To | func send(_ data: Data, to players: [GKPlayer], dataMode mode: GKMatchSendDataMode) throws |
Declaration | |
---|---|
From | func sendData(_ data: NSData, toPlayers playerIDs: [String], withDataMode mode: GKMatchSendDataMode) throws |
To | func send(_ data: Data, toPlayers playerIDs: [String], with mode: GKMatchSendDataMode) throws |
Declaration | |
---|---|
From | func sendDataToAllPlayers(_ data: NSData, withDataMode mode: GKMatchSendDataMode) throws |
To | func sendData(toAllPlayers data: Data, with mode: GKMatchSendDataMode) throws |
Declaration | |
---|---|
From | func voiceChatWithName(_ name: String) -> GKVoiceChat? |
To | func voiceChat(withName name: String) -> GKVoiceChat? |
Modified GKMatchDelegate
Declaration | |
---|---|
From | protocol GKMatchDelegate : NSObjectProtocol { optional func match(_ match: GKMatch, didReceiveData data: NSData, fromRemotePlayer player: GKPlayer) optional func match(_ match: GKMatch, didReceiveData data: NSData, forRecipient recipient: GKPlayer, fromRemotePlayer player: GKPlayer) optional func match(_ match: GKMatch, didReceiveData data: NSData, fromPlayer playerID: String) optional func match(_ match: GKMatch, player player: GKPlayer, didChangeConnectionState state: GKPlayerConnectionState) optional func match(_ match: GKMatch, player playerID: String, didChangeState state: GKPlayerConnectionState) optional func match(_ match: GKMatch, didFailWithError error: NSError?) optional func match(_ match: GKMatch, shouldReinviteDisconnectedPlayer player: GKPlayer) -> Bool optional func match(_ match: GKMatch, shouldReinvitePlayer playerID: String) -> Bool } |
To | protocol GKMatchDelegate : NSObjectProtocol { optional func match(_ match: GKMatch, didReceive data: Data, fromRemotePlayer player: GKPlayer) optional func match(_ match: GKMatch, didReceive data: Data, forRecipient recipient: GKPlayer, fromRemotePlayer player: GKPlayer) optional func match(_ match: GKMatch, didReceive data: Data, fromPlayer playerID: String) optional func match(_ match: GKMatch, player player: GKPlayer, didChange state: GKPlayerConnectionState) optional func match(_ match: GKMatch, player playerID: String, didChange state: GKPlayerConnectionState) optional func match(_ match: GKMatch, didFailWithError error: Error?) optional func match(_ match: GKMatch, shouldReinviteDisconnectedPlayer player: GKPlayer) -> Bool optional func match(_ match: GKMatch, shouldReinvitePlayer playerID: String) -> Bool } |
Declaration | |
---|---|
From | optional func match(_ match: GKMatch, didFailWithError error: NSError?) |
To | optional func match(_ match: GKMatch, didFailWithError error: Error?) |
Declaration | |
---|---|
From | optional func match(_ match: GKMatch, didReceiveData data: NSData, forRecipient recipient: GKPlayer, fromRemotePlayer player: GKPlayer) |
To | optional func match(_ match: GKMatch, didReceive data: Data, forRecipient recipient: GKPlayer, fromRemotePlayer player: GKPlayer) |
Declaration | |
---|---|
From | optional func match(_ match: GKMatch, didReceiveData data: NSData, fromPlayer playerID: String) |
To | optional func match(_ match: GKMatch, didReceive data: Data, fromPlayer playerID: String) |
Declaration | |
---|---|
From | optional func match(_ match: GKMatch, didReceiveData data: NSData, fromRemotePlayer player: GKPlayer) |
To | optional func match(_ match: GKMatch, didReceive data: Data, fromRemotePlayer player: GKPlayer) |
Declaration | |
---|---|
From | optional func match(_ match: GKMatch, player player: GKPlayer, didChangeConnectionState state: GKPlayerConnectionState) |
To | optional func match(_ match: GKMatch, player player: GKPlayer, didChange state: GKPlayerConnectionState) |
Modified GKMatchmaker
Declaration | Protocols | |
---|---|---|
From | class GKMatchmaker : NSObject { class func sharedMatchmaker() -> GKMatchmaker func matchForInvite(_ invite: GKInvite, completionHandler completionHandler: ((GKMatch?, NSError?) -> Void)?) func findMatchForRequest(_ request: GKMatchRequest, withCompletionHandler completionHandler: ((GKMatch?, NSError?) -> Void)?) func findPlayersForHostedRequest(_ request: GKMatchRequest, withCompletionHandler completionHandler: (([GKPlayer]?, NSError?) -> Void)?) func addPlayersToMatch(_ match: GKMatch, matchRequest matchRequest: GKMatchRequest, completionHandler completionHandler: ((NSError?) -> Void)?) func cancel() func cancelPendingInviteToPlayer(_ player: GKPlayer) func finishMatchmakingForMatch(_ match: GKMatch) func queryPlayerGroupActivity(_ playerGroup: Int, withCompletionHandler completionHandler: ((Int, NSError?) -> Void)?) func queryActivityWithCompletionHandler(_ completionHandler: ((Int, NSError?) -> Void)?) func startBrowsingForNearbyPlayersWithHandler(_ reachableHandler: ((GKPlayer, Bool) -> Void)?) func stopBrowsingForNearbyPlayers() } extension GKMatchmaker { var inviteHandler: ((GKInvite, [AnyObject]?) -> Void)? func startBrowsingForNearbyPlayersWithReachableHandler(_ reachableHandler: ((String, Bool) -> Void)?) func cancelInviteToPlayer(_ playerID: String) func findPlayersForHostedMatchRequest(_ request: GKMatchRequest, withCompletionHandler completionHandler: (([String]?, NSError?) -> Void)?) } | -- |
To | 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 objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? 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 setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: 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 func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) 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 pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? 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?) var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? } 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) } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | func addPlayersToMatch(_ match: GKMatch, matchRequest matchRequest: GKMatchRequest, completionHandler completionHandler: ((NSError?) -> Void)?) |
To | func addPlayers(to match: GKMatch, matchRequest matchRequest: GKMatchRequest, completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func cancelInviteToPlayer(_ playerID: String) |
To | func cancelInvite(toPlayer playerID: String) |
Declaration | |
---|---|
From | func cancelPendingInviteToPlayer(_ player: GKPlayer) |
To | func cancelPendingInvite(to player: GKPlayer) |
Declaration | |
---|---|
From | func findMatchForRequest(_ request: GKMatchRequest, withCompletionHandler completionHandler: ((GKMatch?, NSError?) -> Void)?) |
To | func findMatch(for request: GKMatchRequest, withCompletionHandler completionHandler: (@escaping (GKMatch?, Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func findPlayersForHostedMatchRequest(_ request: GKMatchRequest, withCompletionHandler completionHandler: (([String]?, NSError?) -> Void)?) |
To | func findPlayers(forHostedMatchRequest request: GKMatchRequest, withCompletionHandler completionHandler: (@escaping ([String]?, Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func findPlayersForHostedRequest(_ request: GKMatchRequest, withCompletionHandler completionHandler: (([GKPlayer]?, NSError?) -> Void)?) |
To | func findPlayers(forHostedRequest request: GKMatchRequest, withCompletionHandler completionHandler: (@escaping ([GKPlayer]?, Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func finishMatchmakingForMatch(_ match: GKMatch) |
To | func finishMatchmaking(for match: GKMatch) |
Modified GKMatchmaker.inviteHandler
Declaration | |
---|---|
From | var inviteHandler: ((GKInvite, [AnyObject]?) -> Void)? |
To | var inviteHandler: ((GKInvite, [Any]?) -> Swift.Void)? |
Declaration | |
---|---|
From | func matchForInvite(_ invite: GKInvite, completionHandler completionHandler: ((GKMatch?, NSError?) -> Void)?) |
To | func match(for invite: GKInvite, completionHandler completionHandler: (@escaping (GKMatch?, Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func queryActivityWithCompletionHandler(_ completionHandler: ((Int, NSError?) -> Void)?) |
To | func queryActivity(completionHandler completionHandler: (@escaping (Int, Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func queryPlayerGroupActivity(_ playerGroup: Int, withCompletionHandler completionHandler: ((Int, NSError?) -> Void)?) |
To | func queryPlayerGroupActivity(_ playerGroup: Int, withCompletionHandler completionHandler: (@escaping (Int, Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | class func sharedMatchmaker() -> GKMatchmaker |
To | class func shared() -> GKMatchmaker |
Declaration | |
---|---|
From | func startBrowsingForNearbyPlayersWithHandler(_ reachableHandler: ((GKPlayer, Bool) -> Void)?) |
To | func startBrowsingForNearbyPlayers(handler reachableHandler: (@escaping (GKPlayer, Bool) -> Swift.Void)? = nil) |
Modified GKMatchmaker.startBrowsingForNearbyPlayers(reachableHandler: ( (String, Bool) -> Swift.Void)?)
Declaration | |
---|---|
From | func startBrowsingForNearbyPlayersWithReachableHandler(_ reachableHandler: ((String, Bool) -> Void)?) |
To | func startBrowsingForNearbyPlayers(reachableHandler reachableHandler: (@escaping (String, Bool) -> Swift.Void)? = nil) |
Modified GKMatchmakerViewController
Declaration | Protocols | |
---|---|---|
From | class GKMatchmakerViewController : NSViewController, GKViewController { unowned(unsafe) var matchmakerDelegate: GKMatchmakerViewControllerDelegate? var matchRequest: GKMatchRequest { get } var hosted: Bool init?(matchRequest request: GKMatchRequest) init?(invite invite: GKInvite) func addPlayersToMatch(_ match: GKMatch) func setHostedPlayer(_ playerID: String, connected connected: Bool) func setHostedPlayer(_ player: GKPlayer, didConnect connected: Bool) var defaultInvitationMessage: String? } | GKViewController |
To | class GKMatchmakerViewController : NSViewController, GKViewController { unowned(unsafe) var matchmakerDelegate: GKMatchmakerViewControllerDelegate? var matchRequest: GKMatchRequest { get } var isHosted: Bool init?(matchRequest request: GKMatchRequest) init?(invite invite: GKInvite) func addPlayers(to match: GKMatch) func setHostedPlayer(_ playerID: String, connected connected: Bool) func setHostedPlayer(_ player: GKPlayer, didConnect connected: Bool) var defaultInvitationMessage: String? var storyboard: NSStoryboard? { get } var parent: NSViewController? { get } var childViewControllers: [NSViewController] func addChildViewController(_ childViewController: NSViewController) func removeFromParentViewController() func insertChildViewController(_ childViewController: NSViewController, at index: Int) func removeChildViewController(at index: Int) func preferredContentSizeDidChange(for viewController: NSViewController) func viewWillTransition(to newSize: NSSize) func presentViewControllerAsSheet(_ viewController: NSViewController) func presentViewControllerAsModalWindow(_ viewController: NSViewController) func presentViewController(_ viewController: NSViewController, asPopoverRelativeTo positioningRect: NSRect, of positioningView: NSView, preferredEdge preferredEdge: NSRectEdge, behavior behavior: NSPopoverBehavior) func transition(from fromViewController: NSViewController, to toViewController: NSViewController, options options: NSViewControllerTransitionOptions = [], completionHandler completion: (@escaping () -> Void)? = nil) func presentViewController(_ viewController: NSViewController, animator animator: NSViewControllerPresentationAnimator) func dismissViewController(_ viewController: NSViewController) @IBAction func dismiss(_ sender: Any?) var presentedViewControllers: [NSViewController]? { get } unowned(unsafe) var presenting: NSViewController? { get } func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) func performMnemonic(_ string: String) -> Bool @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? 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 setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: 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 func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) 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 pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? 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 GKMatchmakerViewController : NSExtensionRequestHandling { var extensionContext: NSExtensionContext? { get } @IBOutlet var sourceItemView: NSView? var preferredScreenOrigin: NSPoint var preferredMinimumSize: NSSize { get } var preferredMaximumSize: NSSize { get } } extension GKMatchmakerViewController : CVarArg { } extension GKMatchmakerViewController : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, GKViewController, Hashable, NSExtensionRequestHandling |
Declaration | |
---|---|
From | func addPlayersToMatch(_ match: GKMatch) |
To | func addPlayers(to match: GKMatch) |
Modified GKMatchmakerViewController.isHosted
Declaration | |
---|---|
From | var hosted: Bool |
To | var isHosted: Bool |
Modified GKMatchmakerViewControllerDelegate
Declaration | |
---|---|
From | protocol GKMatchmakerViewControllerDelegate : NSObjectProtocol { func matchmakerViewControllerWasCancelled(_ viewController: GKMatchmakerViewController) func matchmakerViewController(_ viewController: GKMatchmakerViewController, didFailWithError error: NSError) optional func matchmakerViewController(_ viewController: GKMatchmakerViewController, didFindMatch match: GKMatch) optional func matchmakerViewController(_ viewController: GKMatchmakerViewController, didFindHostedPlayers players: [GKPlayer]) optional func matchmakerViewController(_ viewController: GKMatchmakerViewController, didFindPlayers playerIDs: [String]) optional func matchmakerViewController(_ viewController: GKMatchmakerViewController, hostedPlayerDidAccept player: GKPlayer) optional func matchmakerViewController(_ viewController: GKMatchmakerViewController, didReceiveAcceptFromHostedPlayer playerID: String) } |
To | protocol GKMatchmakerViewControllerDelegate : NSObjectProtocol { func matchmakerViewControllerWasCancelled(_ viewController: GKMatchmakerViewController) func matchmakerViewController(_ viewController: GKMatchmakerViewController, didFailWithError error: Error) optional func matchmakerViewController(_ viewController: GKMatchmakerViewController, didFind match: GKMatch) optional func matchmakerViewController(_ viewController: GKMatchmakerViewController, didFindHostedPlayers players: [GKPlayer]) optional func matchmakerViewController(_ viewController: GKMatchmakerViewController, didFindPlayers playerIDs: [String]) optional func matchmakerViewController(_ viewController: GKMatchmakerViewController, hostedPlayerDidAccept player: GKPlayer) optional func matchmakerViewController(_ viewController: GKMatchmakerViewController, didReceiveAcceptFromHostedPlayer playerID: String) } |
Declaration | |
---|---|
From | func matchmakerViewController(_ viewController: GKMatchmakerViewController, didFailWithError error: NSError) |
To | func matchmakerViewController(_ viewController: GKMatchmakerViewController, didFailWithError error: Error) |
Declaration | |
---|---|
From | optional func matchmakerViewController(_ viewController: GKMatchmakerViewController, didFindMatch match: GKMatch) |
To | optional func matchmakerViewController(_ viewController: GKMatchmakerViewController, didFind match: GKMatch) |
Modified GKMatchRequest
Declaration | Protocols | |
---|---|---|
From | class GKMatchRequest : NSObject { var minPlayers: Int var maxPlayers: Int var playerGroup: Int var playerAttributes: UInt32 var recipients: [GKPlayer]? var playersToInvite: [String]? var inviteMessage: String? var defaultNumberOfPlayers: Int var recipientResponseHandler: ((GKPlayer, GKInviteRecipientResponse) -> Void)? var inviteeResponseHandler: ((String, GKInviteeResponse) -> Void)? class func maxPlayersAllowedForMatchOfType(_ matchType: GKMatchType) -> Int } | -- |
To | class GKMatchRequest : NSObject { var minPlayers: Int var maxPlayers: Int var playerGroup: Int var playerAttributes: UInt32 var recipients: [GKPlayer]? var playersToInvite: [String]? var inviteMessage: String? var defaultNumberOfPlayers: Int var recipientResponseHandler: ((GKPlayer, GKInviteRecipientResponse) -> Swift.Void)? var inviteeResponseHandler: ((String, GKInviteeResponse) -> Swift.Void)? class func maxPlayersAllowedForMatch(of matchType: GKMatchType) -> Int func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? 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 setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: 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 func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) 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 pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? 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 GKMatchRequest : CVarArg { } extension GKMatchRequest : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | var inviteeResponseHandler: ((String, GKInviteeResponse) -> Void)? |
To | var inviteeResponseHandler: ((String, GKInviteeResponse) -> Swift.Void)? |
Declaration | |
---|---|
From | class func maxPlayersAllowedForMatchOfType(_ matchType: GKMatchType) -> Int |
To | class func maxPlayersAllowedForMatch(of matchType: GKMatchType) -> Int |
Declaration | |
---|---|
From | var recipientResponseHandler: ((GKPlayer, GKInviteRecipientResponse) -> Void)? |
To | var recipientResponseHandler: ((GKPlayer, GKInviteRecipientResponse) -> Swift.Void)? |
Modified GKMatchSendDataMode [enum]
Declaration | |
---|---|
From | enum GKMatchSendDataMode : Int { case Reliable case Unreliable } |
To | enum GKMatchSendDataMode : Int { case reliable case unreliable } |
Modified GKMatchSendDataMode.reliable
Declaration | |
---|---|
From | case Reliable |
To | case reliable |
Modified GKMatchSendDataMode.unreliable
Declaration | |
---|---|
From | case Unreliable |
To | case unreliable |
Modified GKMatchType [enum]
Declaration | |
---|---|
From | enum GKMatchType : UInt { case PeerToPeer case Hosted case TurnBased } |
To | enum GKMatchType : UInt { case peerToPeer case hosted case turnBased } |
Modified GKMatchType.hosted
Declaration | |
---|---|
From | case Hosted |
To | case hosted |
Modified GKMatchType.peerToPeer
Declaration | |
---|---|
From | case PeerToPeer |
To | case peerToPeer |
Modified GKMatchType.turnBased
Declaration | |
---|---|
From | case TurnBased |
To | case turnBased |
Modified GKNotificationBanner
Declaration | Protocols | |
---|---|---|
From | class GKNotificationBanner : NSObject { class func showBannerWithTitle(_ title: String?, message message: String?, completionHandler completionHandler: (() -> Void)?) class func showBannerWithTitle(_ title: String?, message message: String?, duration duration: NSTimeInterval, completionHandler completionHandler: (() -> Void)?) } | -- |
To | 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 discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? 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 setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: 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 func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) 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 pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? 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 } } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | class func showBannerWithTitle(_ title: String?, message message: String?, completionHandler completionHandler: (() -> Void)?) |
To | class func show(withTitle title: String?, message message: String?, completionHandler completionHandler: (@escaping () -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | class func showBannerWithTitle(_ title: String?, message message: String?, duration duration: NSTimeInterval, completionHandler completionHandler: (() -> Void)?) |
To | class func show(withTitle title: String?, message message: String?, duration duration: TimeInterval, completionHandler completionHandler: (@escaping () -> Swift.Void)? = nil) |
Modified GKPeerConnectionState [enum]
Declaration | |
---|---|
From | enum GKPeerConnectionState : Int32 { case StateAvailable case StateUnavailable case StateConnected case StateDisconnected case StateConnecting } |
To | enum GKPeerConnectionState : Int32 { case stateAvailable case stateUnavailable case stateConnected case stateDisconnected case stateConnecting } |
Modified GKPeerConnectionState.stateAvailable
Declaration | |
---|---|
From | case StateAvailable |
To | case stateAvailable |
Modified GKPeerConnectionState.stateConnected
Declaration | |
---|---|
From | case StateConnected |
To | case stateConnected |
Declaration | |
---|---|
From | case StateConnecting |
To | case stateConnecting |
Declaration | |
---|---|
From | case StateDisconnected |
To | case stateDisconnected |
Declaration | |
---|---|
From | case StateUnavailable |
To | case stateUnavailable |
Modified GKPlayer
Declaration | Superclasses | |
---|---|---|
From | class GKPlayer : NSObject { class func loadPlayersForIdentifiers(_ identifiers: [String], withCompletionHandler completionHandler: (([GKPlayer]?, NSError?) -> Void)?) var playerID: String? { get } var displayName: String? { get } var alias: String? { get } class func anonymousGuestPlayerWithIdentifier(_ guestIdentifier: String) -> Self var guestIdentifier: String? { get } } extension GKPlayer { func loadPhotoForSize(_ size: GKPhotoSize, withCompletionHandler completionHandler: ((NSImage?, NSError?) -> Void)?) } extension GKPlayer { var isFriend: Bool { get } } | NSObject |
To | 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 (NSImage?, Error?) -> Swift.Void)? = nil) } extension GKPlayer { func loadPhoto(forSize size: GKPhotoSize, withCompletionHandler completionHandler: (@escaping (NSImage?, Error?) -> Swift.Void)? = nil) } extension GKPlayer { var isFriend: Bool { get } } | GKBasePlayer |
Declaration | |
---|---|
From | class func anonymousGuestPlayerWithIdentifier(_ guestIdentifier: String) -> Self |
To | class func anonymousGuestPlayer(withIdentifier guestIdentifier: String) -> Self |
Declaration | |
---|---|
From | func loadPhotoForSize(_ size: GKPhotoSize, withCompletionHandler completionHandler: ((NSImage?, NSError?) -> Void)?) |
To | func loadPhoto(forSize size: GKPhotoSize, withCompletionHandler completionHandler: (@escaping (NSImage?, Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | class func loadPlayersForIdentifiers(_ identifiers: [String], withCompletionHandler completionHandler: (([GKPlayer]?, NSError?) -> Void)?) |
To | class func loadPlayers(forIdentifiers identifiers: [String], withCompletionHandler completionHandler: (@escaping ([GKPlayer]?, Error?) -> Swift.Void)? = nil) |
Modified GKPlayerConnectionState [enum]
Declaration | |
---|---|
From | enum GKPlayerConnectionState : Int { case StateUnknown case StateConnected case StateDisconnected } |
To | enum GKPlayerConnectionState : Int { case stateUnknown case stateConnected case stateDisconnected } |
Declaration | |
---|---|
From | case StateConnected |
To | case stateConnected |
Declaration | |
---|---|
From | case StateDisconnected |
To | case stateDisconnected |
Modified GKPlayerConnectionState.stateUnknown
Declaration | |
---|---|
From | case StateUnknown |
To | case stateUnknown |
Modified GKSavedGame
Declaration | Protocols | |
---|---|---|
From | class GKSavedGame : NSObject, NSCopying { var name: String? { get } var deviceName: String? { get } var modificationDate: NSDate? { get } func loadDataWithCompletionHandler(_ handler: ((NSData?, NSError?) -> Void)?) } | NSCopying |
To | 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 discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? 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 setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: 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 func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) 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 pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? 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 } } | CVarArg, Equatable, Hashable, NSCopying |
Declaration | |
---|---|
From | func loadDataWithCompletionHandler(_ handler: ((NSData?, NSError?) -> Void)?) |
To | func loadData(completionHandler handler: (@escaping (Data?, Error?) -> Swift.Void)? = nil) |
Modified GKSavedGame.modificationDate
Declaration | |
---|---|
From | var modificationDate: NSDate? { get } |
To | var modificationDate: Date? { get } |
Modified GKScore
Declaration | Protocols | |
---|---|---|
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: NSDate { get } var player: GKPlayer { get } var rank: Int { get } var shouldSetDefaultLeaderboard: Bool class func reportScores(_ scores: [GKScore], withCompletionHandler completionHandler: ((NSError?) -> Void)?) } extension GKScore { func challengeComposeControllerWithMessage(_ message: String?, players players: [GKPlayer]?, completionHandler completionHandler: GKChallengeComposeCompletionBlock?) -> NSViewController func issueChallengeToPlayers(_ playerIDs: [String]?, message message: String?) class func reportScores(_ scores: [GKScore], withEligibleChallenges challenges: [GKChallenge], withCompletionHandler completionHandler: ((NSError?) -> Void)?) } extension GKScore { init(leaderboardIdentifier identifier: String, forPlayer playerID: String) func reportScoreWithCompletionHandler(_ completionHandler: ((NSError?) -> Void)?) init(category category: String?) var playerID: String { get } var category: String? } | NSCoding, NSSecureCoding |
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: (@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 challengeComposeController(withMessage message: String?, players players: [GKPlayer]?, completionHandler completionHandler: GameKit.GKChallengeComposeCompletionBlock? = nil) -> NSViewController func issueChallenge(toPlayers playerIDs: [String]?, message message: String?) class func report(_ scores: [GKScore], withEligibleChallenges challenges: [GKChallenge], withCompletionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? 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 setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: 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 func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) 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 pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? 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?) func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? } extension GKScore { func challengeComposeController(withMessage message: String?, players players: [GKPlayer]?, completionHandler completionHandler: GameKit.GKChallengeComposeCompletionBlock? = nil) -> NSViewController 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 : 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? } | CVarArg, Equatable, Hashable, NSCoding, NSSecureCoding |
Declaration | |
---|---|
From | func challengeComposeControllerWithMessage(_ message: String?, players players: [GKPlayer]?, completionHandler completionHandler: GKChallengeComposeCompletionBlock?) -> NSViewController |
To | func challengeComposeController(withMessage message: String?, players players: [GKPlayer]?, completionHandler completionHandler: GameKit.GKChallengeComposeCompletionBlock? = nil) -> NSViewController |
Modified GKScore.date
Declaration | |
---|---|
From | var date: NSDate { get } |
To | var date: Date { get } |
Declaration | |
---|---|
From | func issueChallengeToPlayers(_ playerIDs: [String]?, message message: String?) |
To | func issueChallenge(toPlayers playerIDs: [String]?, message message: String?) |
Modified GKScore.player
Declaration | |
---|---|
From | var player: GKPlayer { get } |
To | var player: GKPlayer? { get } |
Declaration | |
---|---|
From | class func reportScores(_ scores: [GKScore], withCompletionHandler completionHandler: ((NSError?) -> Void)?) |
To | class func report(_ scores: [GKScore], withCompletionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | class func reportScores(_ scores: [GKScore], withEligibleChallenges challenges: [GKChallenge], withCompletionHandler completionHandler: ((NSError?) -> Void)?) |
To | class func report(_ scores: [GKScore], withEligibleChallenges challenges: [GKChallenge], withCompletionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func reportScoreWithCompletionHandler(_ completionHandler: ((NSError?) -> Void)?) |
To | func report(completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) |
Modified GKSendDataMode [enum]
Declaration | |
---|---|
From | enum GKSendDataMode : Int32 { case Reliable case Unreliable } |
To | enum GKSendDataMode : Int32 { case reliable case unreliable } |
Modified GKSendDataMode.reliable
Declaration | |
---|---|
From | case Reliable |
To | case reliable |
Modified GKSendDataMode.unreliable
Declaration | |
---|---|
From | case Unreliable |
To | case unreliable |
Modified GKSession
Declaration | Protocols | |
---|---|---|
From | class GKSession : NSObject { init!(sessionID sessionID: String!, displayName name: String!, sessionMode mode: GKSessionMode) unowned(unsafe) var delegate: GKSessionDelegate! var sessionID: String! { get } var displayName: String! { get } var sessionMode: GKSessionMode { get } var peerID: String! { get } var available: Bool var disconnectTimeout: NSTimeInterval func displayNameForPeer(_ peerID: String!) -> String! func sendData(_ data: NSData!, toPeers peers: [AnyObject]!, withDataMode mode: GKSendDataMode) throws func sendDataToAllPeers(_ data: NSData!, withDataMode mode: GKSendDataMode) throws func setDataReceiveHandler(_ handler: AnyObject!, withContext context: UnsafeMutablePointer<Void>) func connectToPeer(_ peerID: String!, withTimeout timeout: NSTimeInterval) func cancelConnectToPeer(_ peerID: String!) func acceptConnectionFromPeer(_ peerID: String!) throws func denyConnectionFromPeer(_ peerID: String!) func disconnectPeerFromAllPeers(_ peerID: String!) func disconnectFromAllPeers() func peersWithConnectionState(_ state: GKPeerConnectionState) -> [AnyObject]! } | -- |
To | class GKSession : NSObject { init!(sessionID sessionID: String!, displayName name: String!, sessionMode mode: GKSessionMode) unowned(unsafe) var delegate: GKSessionDelegate! var sessionID: String! { get } var displayName: String! { get } var sessionMode: GKSessionMode { get } var peerID: String! { get } var isAvailable: Bool var disconnectTimeout: TimeInterval func displayName(forPeer peerID: String!) -> String! func send(_ data: Data!, toPeers peers: [Any]!, with mode: GKSendDataMode) throws func sendData(toAllPeers data: Data!, with mode: GKSendDataMode) throws func setDataReceiveHandler(_ handler: Any!, withContext context: UnsafeMutableRawPointer!) func connect(toPeer peerID: String!, withTimeout timeout: TimeInterval) func cancelConnect(toPeer peerID: String!) func acceptConnection(fromPeer peerID: String!) throws func denyConnection(fromPeer peerID: String!) func disconnectPeer(fromAllPeers peerID: String!) func disconnectFromAllPeers() func peers(with state: GKPeerConnectionState) -> [Any]! func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? 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 setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: 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 func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) 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 pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? 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 GKSession : CVarArg { } extension GKSession : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | func acceptConnectionFromPeer(_ peerID: String!) throws |
To | func acceptConnection(fromPeer peerID: String!) throws |
Declaration | |
---|---|
From | func cancelConnectToPeer(_ peerID: String!) |
To | func cancelConnect(toPeer peerID: String!) |
Declaration | |
---|---|
From | func connectToPeer(_ peerID: String!, withTimeout timeout: NSTimeInterval) |
To | func connect(toPeer peerID: String!, withTimeout timeout: TimeInterval) |
Declaration | |
---|---|
From | func denyConnectionFromPeer(_ peerID: String!) |
To | func denyConnection(fromPeer peerID: String!) |
Declaration | |
---|---|
From | func disconnectPeerFromAllPeers(_ peerID: String!) |
To | func disconnectPeer(fromAllPeers peerID: String!) |
Modified GKSession.disconnectTimeout
Declaration | |
---|---|
From | var disconnectTimeout: NSTimeInterval |
To | var disconnectTimeout: TimeInterval |
Declaration | |
---|---|
From | func displayNameForPeer(_ peerID: String!) -> String! |
To | func displayName(forPeer peerID: String!) -> String! |
Modified GKSession.isAvailable
Declaration | |
---|---|
From | var available: Bool |
To | var isAvailable: Bool |
Declaration | |
---|---|
From | func peersWithConnectionState(_ state: GKPeerConnectionState) -> [AnyObject]! |
To | func peers(with state: GKPeerConnectionState) -> [Any]! |
Declaration | |
---|---|
From | func sendData(_ data: NSData!, toPeers peers: [AnyObject]!, withDataMode mode: GKSendDataMode) throws |
To | func send(_ data: Data!, toPeers peers: [Any]!, with mode: GKSendDataMode) throws |
Declaration | |
---|---|
From | func sendDataToAllPeers(_ data: NSData!, withDataMode mode: GKSendDataMode) throws |
To | func sendData(toAllPeers data: Data!, with mode: GKSendDataMode) throws |
Declaration | |
---|---|
From | func setDataReceiveHandler(_ handler: AnyObject!, withContext context: UnsafeMutablePointer<Void>) |
To | func setDataReceiveHandler(_ handler: Any!, withContext context: UnsafeMutableRawPointer!) |
Modified GKSessionDelegate
Declaration | |
---|---|
From | protocol GKSessionDelegate : NSObjectProtocol { optional func session(_ session: GKSession, peer peerID: String, didChangeState state: GKPeerConnectionState) optional func session(_ session: GKSession, didReceiveConnectionRequestFromPeer peerID: String) optional func session(_ session: GKSession, connectionWithPeerFailed peerID: String, withError error: NSError) optional func session(_ session: GKSession, didFailWithError error: NSError) } |
To | protocol GKSessionDelegate : NSObjectProtocol { optional func session(_ session: GKSession, peer peerID: String, didChange state: GKPeerConnectionState) optional func session(_ session: GKSession, didReceiveConnectionRequestFromPeer peerID: String) optional func session(_ session: GKSession, connectionWithPeerFailed peerID: String, withError error: Error) optional func session(_ session: GKSession, didFailWithError error: Error) } |
Modified GKSessionDelegate.session(_: GKSession, connectionWithPeerFailed: String, withError: Error)
Declaration | |
---|---|
From | optional func session(_ session: GKSession, connectionWithPeerFailed peerID: String, withError error: NSError) |
To | optional func session(_ session: GKSession, connectionWithPeerFailed peerID: String, withError error: Error) |
Declaration | |
---|---|
From | optional func session(_ session: GKSession, didFailWithError error: NSError) |
To | optional func session(_ session: GKSession, didFailWithError error: Error) |
Declaration | |
---|---|
From | optional func session(_ session: GKSession, peer peerID: String, didChangeState state: GKPeerConnectionState) |
To | optional func session(_ session: GKSession, peer peerID: String, didChange state: GKPeerConnectionState) |
Modified GKSessionMode [enum]
Declaration | |
---|---|
From | enum GKSessionMode : Int32 { case Server case Client case Peer } |
To | enum GKSessionMode : Int32 { case server case client case peer } |
Modified GKSessionMode.client
Declaration | |
---|---|
From | case Client |
To | case client |
Modified GKSessionMode.peer
Declaration | |
---|---|
From | case Peer |
To | case peer |
Modified GKSessionMode.server
Declaration | |
---|---|
From | case Server |
To | case server |
Modified GKTurnBasedEventHandler
Declaration | Protocols | |
---|---|---|
From | class GKTurnBasedEventHandler : NSObject { class func sharedTurnBasedEventHandler() -> GKTurnBasedEventHandler unowned(unsafe) var delegate: protocol<GKTurnBasedEventHandlerDelegate, NSObjectProtocol> } | -- |
To | class GKTurnBasedEventHandler : NSObject { class func shared() -> GKTurnBasedEventHandler unowned(unsafe) var delegate: GKTurnBasedEventHandlerDelegate & NSObjectProtocol func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? 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 setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: 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 func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) 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 pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? 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 GKTurnBasedEventHandler : CVarArg { } extension GKTurnBasedEventHandler : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Modified GKTurnBasedEventHandler.delegate
Declaration | |
---|---|
From | unowned(unsafe) var delegate: protocol<GKTurnBasedEventHandlerDelegate, NSObjectProtocol> |
To | unowned(unsafe) var delegate: GKTurnBasedEventHandlerDelegate & NSObjectProtocol |
Declaration | |
---|---|
From | class func sharedTurnBasedEventHandler() -> GKTurnBasedEventHandler |
To | class func shared() -> GKTurnBasedEventHandler |
Modified GKTurnBasedEventHandlerDelegate
Declaration | |
---|---|
From | protocol GKTurnBasedEventHandlerDelegate { func handleInviteFromGameCenter(_ playersToInvite: [GKPlayer]) func handleTurnEventForMatch(_ match: GKTurnBasedMatch, didBecomeActive didBecomeActive: Bool) optional func handleTurnEventForMatch(_ match: GKTurnBasedMatch) optional func handleMatchEnded(_ match: GKTurnBasedMatch) } |
To | protocol GKTurnBasedEventHandlerDelegate { func handleInvite(fromGameCenter playersToInvite: [String]) func handleTurnEvent(for match: GKTurnBasedMatch, didBecomeActive didBecomeActive: Bool) optional func handleTurnEvent(for match: GKTurnBasedMatch) optional func handleMatchEnded(_ match: GKTurnBasedMatch) } |
Declaration | |
---|---|
From | func handleInviteFromGameCenter(_ playersToInvite: [GKPlayer]) |
To | func handleInvite(fromGameCenter playersToInvite: [String]) |
Modified GKTurnBasedEventHandlerDelegate.handleTurnEvent(for: GKTurnBasedMatch, didBecomeActive: Bool)
Declaration | |
---|---|
From | func handleTurnEventForMatch(_ match: GKTurnBasedMatch, didBecomeActive didBecomeActive: Bool) |
To | func handleTurnEvent(for match: GKTurnBasedMatch, didBecomeActive didBecomeActive: Bool) |
Modified GKTurnBasedEventListener
Declaration | |
---|---|
From | protocol GKTurnBasedEventListener { optional func player(_ player: GKPlayer, didRequestMatchWithOtherPlayers playersToInvite: [GKPlayer]) optional func player(_ player: GKPlayer, receivedTurnEventForMatch match: GKTurnBasedMatch, didBecomeActive didBecomeActive: Bool) optional func player(_ player: GKPlayer, matchEnded match: GKTurnBasedMatch) optional func player(_ player: GKPlayer, receivedExchangeRequest exchange: GKTurnBasedExchange, forMatch match: GKTurnBasedMatch) optional func player(_ player: GKPlayer, receivedExchangeCancellation exchange: GKTurnBasedExchange, forMatch match: GKTurnBasedMatch) optional func player(_ player: GKPlayer, receivedExchangeReplies replies: [GKTurnBasedExchangeReply], forCompletedExchange exchange: GKTurnBasedExchange, forMatch match: GKTurnBasedMatch) optional func player(_ player: GKPlayer, wantsToQuitMatch match: GKTurnBasedMatch) optional func player(_ player: GKPlayer, didRequestMatchWithPlayers playerIDsToInvite: [String]) } |
To | protocol GKTurnBasedEventListener { optional func player(_ player: GKPlayer, didRequestMatchWithOtherPlayers playersToInvite: [GKPlayer]) optional func player(_ player: GKPlayer, receivedTurnEventFor match: GKTurnBasedMatch, didBecomeActive didBecomeActive: Bool) optional func player(_ player: GKPlayer, matchEnded match: GKTurnBasedMatch) optional func player(_ player: GKPlayer, receivedExchangeRequest exchange: GKTurnBasedExchange, for match: GKTurnBasedMatch) optional func player(_ player: GKPlayer, receivedExchangeCancellation exchange: GKTurnBasedExchange, for match: GKTurnBasedMatch) optional func player(_ player: GKPlayer, receivedExchangeReplies replies: [GKTurnBasedExchangeReply], forCompletedExchange exchange: GKTurnBasedExchange, for match: GKTurnBasedMatch) optional func player(_ player: GKPlayer, wantsToQuitMatch match: GKTurnBasedMatch) optional func player(_ player: GKPlayer, didRequestMatchWithPlayers playerIDsToInvite: [String]) } |
Declaration | |
---|---|
From | optional func player(_ player: GKPlayer, receivedExchangeCancellation exchange: GKTurnBasedExchange, forMatch match: GKTurnBasedMatch) |
To | optional func player(_ player: GKPlayer, receivedExchangeCancellation exchange: GKTurnBasedExchange, for match: GKTurnBasedMatch) |
Declaration | |
---|---|
From | optional func player(_ player: GKPlayer, receivedExchangeReplies replies: [GKTurnBasedExchangeReply], forCompletedExchange exchange: GKTurnBasedExchange, forMatch match: GKTurnBasedMatch) |
To | optional func player(_ player: GKPlayer, receivedExchangeReplies replies: [GKTurnBasedExchangeReply], forCompletedExchange exchange: GKTurnBasedExchange, for match: GKTurnBasedMatch) |
Declaration | |
---|---|
From | optional func player(_ player: GKPlayer, receivedExchangeRequest exchange: GKTurnBasedExchange, forMatch match: GKTurnBasedMatch) |
To | optional func player(_ player: GKPlayer, receivedExchangeRequest exchange: GKTurnBasedExchange, for match: GKTurnBasedMatch) |
Declaration | |
---|---|
From | optional func player(_ player: GKPlayer, receivedTurnEventForMatch match: GKTurnBasedMatch, didBecomeActive didBecomeActive: Bool) |
To | optional func player(_ player: GKPlayer, receivedTurnEventFor match: GKTurnBasedMatch, didBecomeActive didBecomeActive: Bool) |
Modified GKTurnBasedExchange
Declaration | Protocols | |
---|---|---|
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: NSData? { get } var sendDate: NSDate? { get } var timeoutDate: NSDate? { get } var completionDate: NSDate? { get } var replies: [GKTurnBasedExchangeReply]? { get } func cancelWithLocalizableMessageKey(_ key: String, arguments arguments: [String], completionHandler completionHandler: ((NSError?) -> Void)?) func replyWithLocalizableMessageKey(_ key: String, arguments arguments: [String], data data: NSData, completionHandler completionHandler: ((NSError?) -> Void)?) } | -- |
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: (@escaping (Error?) -> Swift.Void)? = nil) func reply(withLocalizableMessageKey key: String, arguments arguments: [String], data data: Data, completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? 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 setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: 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 func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) 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 pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? 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 } } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | func cancelWithLocalizableMessageKey(_ key: String, arguments arguments: [String], completionHandler completionHandler: ((NSError?) -> Void)?) |
To | func cancel(withLocalizableMessageKey key: String, arguments arguments: [String], completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) |
Modified GKTurnBasedExchange.completionDate
Declaration | |
---|---|
From | var completionDate: NSDate? { get } |
To | var completionDate: Date? { get } |
Modified GKTurnBasedExchange.data
Declaration | |
---|---|
From | var data: NSData? { get } |
To | var data: Data? { get } |
Declaration | |
---|---|
From | func replyWithLocalizableMessageKey(_ key: String, arguments arguments: [String], data data: NSData, completionHandler completionHandler: ((NSError?) -> Void)?) |
To | func reply(withLocalizableMessageKey key: String, arguments arguments: [String], data data: Data, completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) |
Modified GKTurnBasedExchange.sendDate
Declaration | |
---|---|
From | var sendDate: NSDate? { get } |
To | var sendDate: Date? { get } |
Modified GKTurnBasedExchange.timeoutDate
Declaration | |
---|---|
From | var timeoutDate: NSDate? { get } |
To | var timeoutDate: Date? { get } |
Modified GKTurnBasedExchangeReply
Declaration | Protocols | |
---|---|---|
From | class GKTurnBasedExchangeReply : NSObject { var recipient: GKTurnBasedParticipant? { get } var message: String? { get } var data: NSData? { get } var replyDate: NSDate? { get } } | -- |
To | class GKTurnBasedExchangeReply : NSObject { var recipient: GKTurnBasedParticipant? { get } var message: String? { get } var data: Data? { get } var replyDate: Date? { get } func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? 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 setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: 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 func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) 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 pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? 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 GKTurnBasedExchangeReply : CVarArg { } extension GKTurnBasedExchangeReply : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Modified GKTurnBasedExchangeReply.data
Declaration | |
---|---|
From | var data: NSData? { get } |
To | var data: Data? { get } |
Modified GKTurnBasedExchangeReply.replyDate
Declaration | |
---|---|
From | var replyDate: NSDate? { get } |
To | var replyDate: Date? { get } |
Modified GKTurnBasedExchangeStatus [enum]
Declaration | |
---|---|
From | enum GKTurnBasedExchangeStatus : Int8 { case Unknown case Active case Complete case Resolved case Canceled } |
To | enum GKTurnBasedExchangeStatus : Int8 { case unknown case active case complete case resolved case canceled } |
Modified GKTurnBasedExchangeStatus.active
Declaration | |
---|---|
From | case Active |
To | case active |
Modified GKTurnBasedExchangeStatus.canceled
Declaration | |
---|---|
From | case Canceled |
To | case canceled |
Modified GKTurnBasedExchangeStatus.complete
Declaration | |
---|---|
From | case Complete |
To | case complete |
Modified GKTurnBasedExchangeStatus.resolved
Declaration | |
---|---|
From | case Resolved |
To | case resolved |
Modified GKTurnBasedExchangeStatus.unknown
Declaration | |
---|---|
From | case Unknown |
To | case unknown |
Modified GKTurnBasedMatch
Declaration | Protocols | |
---|---|---|
From | class GKTurnBasedMatch : NSObject { var matchID: String? { get } var creationDate: NSDate? { get } var participants: [GKTurnBasedParticipant]? { get } var status: GKTurnBasedMatchStatus { get } var currentParticipant: GKTurnBasedParticipant? { get } var matchData: NSData? { 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 findMatchForRequest(_ request: GKMatchRequest, withCompletionHandler completionHandler: (GKTurnBasedMatch?, NSError?) -> Void) class func loadMatchesWithCompletionHandler(_ completionHandler: (([GKTurnBasedMatch]?, NSError?) -> Void)?) class func loadMatchWithID(_ matchID: String, withCompletionHandler completionHandler: ((GKTurnBasedMatch?, NSError?) -> Void)?) func rematchWithCompletionHandler(_ completionHandler: ((GKTurnBasedMatch?, NSError?) -> Void)?) func acceptInviteWithCompletionHandler(_ completionHandler: ((GKTurnBasedMatch?, NSError?) -> Void)?) func declineInviteWithCompletionHandler(_ completionHandler: ((NSError?) -> Void)?) func removeWithCompletionHandler(_ completionHandler: ((NSError?) -> Void)?) func loadMatchDataWithCompletionHandler(_ completionHandler: ((NSData?, NSError?) -> Void)?) func endTurnWithNextParticipants(_ nextParticipants: [GKTurnBasedParticipant], turnTimeout timeout: NSTimeInterval, matchData matchData: NSData, completionHandler completionHandler: ((NSError?) -> Void)?) func participantQuitInTurnWithOutcome(_ matchOutcome: GKTurnBasedMatchOutcome, nextParticipants nextParticipants: [GKTurnBasedParticipant], turnTimeout timeout: NSTimeInterval, matchData matchData: NSData, completionHandler completionHandler: ((NSError?) -> Void)?) func participantQuitOutOfTurnWithOutcome(_ matchOutcome: GKTurnBasedMatchOutcome, withCompletionHandler completionHandler: ((NSError?) -> Void)?) func endMatchInTurnWithMatchData(_ matchData: NSData, completionHandler completionHandler: ((NSError?) -> Void)?) func endMatchInTurnWithMatchData(_ matchData: NSData, scores scores: [GKScore]?, achievements achievements: [GKAchievement]?, completionHandler completionHandler: ((NSError?) -> Void)?) func saveCurrentTurnWithMatchData(_ matchData: NSData, completionHandler completionHandler: ((NSError?) -> Void)?) func saveMergedMatchData(_ matchData: NSData, withResolvedExchanges exchanges: [GKTurnBasedExchange], completionHandler completionHandler: ((NSError?) -> Void)?) func sendExchangeToParticipants(_ participants: [GKTurnBasedParticipant], data data: NSData, localizableMessageKey key: String, arguments arguments: [String], timeout timeout: NSTimeInterval, completionHandler completionHandler: ((GKTurnBasedExchange, NSError) -> Void)?) func sendReminderToParticipants(_ participants: [GKTurnBasedParticipant], localizableMessageKey key: String, arguments arguments: [String], completionHandler completionHandler: ((NSError?) -> Void)?) func endTurnWithNextParticipant(_ nextParticipant: GKTurnBasedParticipant, matchData matchData: NSData, completionHandler completionHandler: ((NSError?) -> Void)?) func participantQuitInTurnWithOutcome(_ matchOutcome: GKTurnBasedMatchOutcome, nextParticipant nextParticipant: GKTurnBasedParticipant, matchData matchData: NSData, completionHandler completionHandler: ((NSError?) -> Void)?) } | -- |
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: (@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 discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? 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 setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: 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 func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) 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 pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? 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 } } | CVarArg, Equatable, Hashable |
Modified GKTurnBasedMatch.acceptInvite(completionHandler: ( (GKTurnBasedMatch?, Error?) -> Swift.Void)?)
Declaration | |
---|---|
From | func acceptInviteWithCompletionHandler(_ completionHandler: ((GKTurnBasedMatch?, NSError?) -> Void)?) |
To | func acceptInvite(completionHandler completionHandler: (@escaping (GKTurnBasedMatch?, Error?) -> Swift.Void)? = nil) |
Modified GKTurnBasedMatch.creationDate
Declaration | |
---|---|
From | var creationDate: NSDate? { get } |
To | var creationDate: Date? { get } |
Declaration | |
---|---|
From | func declineInviteWithCompletionHandler(_ completionHandler: ((NSError?) -> Void)?) |
To | func declineInvite(completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) |
Modified GKTurnBasedMatch.endMatchInTurn(withMatch: Data, completionHandler: ( (Error?) -> Swift.Void)?)
Declaration | |
---|---|
From | func endMatchInTurnWithMatchData(_ matchData: NSData, completionHandler completionHandler: ((NSError?) -> Void)?) |
To | func endMatchInTurn(withMatch matchData: Data, completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func endMatchInTurnWithMatchData(_ matchData: NSData, scores scores: [GKScore]?, achievements achievements: [GKAchievement]?, completionHandler completionHandler: ((NSError?) -> Void)?) |
To | func endMatchInTurn(withMatch matchData: Data, scores scores: [GKScore]?, achievements achievements: [GKAchievement]?, completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func endTurnWithNextParticipants(_ nextParticipants: [GKTurnBasedParticipant], turnTimeout timeout: NSTimeInterval, matchData matchData: NSData, completionHandler completionHandler: ((NSError?) -> Void)?) |
To | func endTurn(withNextParticipants nextParticipants: [GKTurnBasedParticipant], turnTimeout timeout: TimeInterval, match matchData: Data, completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | class func findMatchForRequest(_ request: GKMatchRequest, withCompletionHandler completionHandler: (GKTurnBasedMatch?, NSError?) -> Void) |
To | class func find(for request: GKMatchRequest, withCompletionHandler completionHandler: @escaping (GKTurnBasedMatch?, Error?) -> Swift.Void) |
Declaration | |
---|---|
From | class func loadMatchWithID(_ matchID: String, withCompletionHandler completionHandler: ((GKTurnBasedMatch?, NSError?) -> Void)?) |
To | class func load(withID matchID: String, withCompletionHandler completionHandler: (@escaping (GKTurnBasedMatch?, Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func loadMatchDataWithCompletionHandler(_ completionHandler: ((NSData?, NSError?) -> Void)?) |
To | func loadMatchData(completionHandler completionHandler: (@escaping (Data?, Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | class func loadMatchesWithCompletionHandler(_ completionHandler: (([GKTurnBasedMatch]?, NSError?) -> Void)?) |
To | class func loadMatches(completionHandler completionHandler: (@escaping ([GKTurnBasedMatch]?, Error?) -> Swift.Void)? = nil) |
Modified GKTurnBasedMatch.matchData
Declaration | |
---|---|
From | var matchData: NSData? { get } |
To | var matchData: Data? { get } |
Declaration | |
---|---|
From | func participantQuitInTurnWithOutcome(_ matchOutcome: GKTurnBasedMatchOutcome, nextParticipants nextParticipants: [GKTurnBasedParticipant], turnTimeout timeout: NSTimeInterval, matchData matchData: NSData, completionHandler completionHandler: ((NSError?) -> Void)?) |
To | func participantQuitInTurn(with matchOutcome: GKTurnBasedMatchOutcome, nextParticipants nextParticipants: [GKTurnBasedParticipant], turnTimeout timeout: TimeInterval, match matchData: Data, completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func participantQuitOutOfTurnWithOutcome(_ matchOutcome: GKTurnBasedMatchOutcome, withCompletionHandler completionHandler: ((NSError?) -> Void)?) |
To | func participantQuitOutOfTurn(with matchOutcome: GKTurnBasedMatchOutcome, withCompletionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func rematchWithCompletionHandler(_ completionHandler: ((GKTurnBasedMatch?, NSError?) -> Void)?) |
To | func rematch(completionHandler completionHandler: (@escaping (GKTurnBasedMatch?, Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func removeWithCompletionHandler(_ completionHandler: ((NSError?) -> Void)?) |
To | func remove(completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) |
Modified GKTurnBasedMatch.saveCurrentTurn(withMatch: Data, completionHandler: ( (Error?) -> Swift.Void)?)
Declaration | |
---|---|
From | func saveCurrentTurnWithMatchData(_ matchData: NSData, completionHandler completionHandler: ((NSError?) -> Void)?) |
To | func saveCurrentTurn(withMatch matchData: Data, completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func saveMergedMatchData(_ matchData: NSData, withResolvedExchanges exchanges: [GKTurnBasedExchange], completionHandler completionHandler: ((NSError?) -> Void)?) |
To | func saveMergedMatch(_ matchData: Data, withResolvedExchanges exchanges: [GKTurnBasedExchange], completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func sendExchangeToParticipants(_ participants: [GKTurnBasedParticipant], data data: NSData, localizableMessageKey key: String, arguments arguments: [String], timeout timeout: NSTimeInterval, completionHandler completionHandler: ((GKTurnBasedExchange, NSError) -> Void)?) |
To | 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) |
Declaration | |
---|---|
From | func sendReminderToParticipants(_ participants: [GKTurnBasedParticipant], localizableMessageKey key: String, arguments arguments: [String], completionHandler completionHandler: ((NSError?) -> Void)?) |
To | func sendReminder(to participants: [GKTurnBasedParticipant], localizableMessageKey key: String, arguments arguments: [String], completionHandler completionHandler: (@escaping (Error?) -> Swift.Void)? = nil) |
Modified GKTurnBasedMatchmakerViewController
Declaration | Protocols | |
---|---|---|
From | class GKTurnBasedMatchmakerViewController : NSViewController, GKViewController { } extension GKTurnBasedMatchmakerViewController { unowned(unsafe) var turnBasedMatchmakerDelegate: GKTurnBasedMatchmakerViewControllerDelegate? var showExistingMatches: Bool init(matchRequest request: GKMatchRequest) } | GKViewController |
To | class GKTurnBasedMatchmakerViewController : NSViewController, GKViewController { unowned(unsafe) var turnBasedMatchmakerDelegate: GKTurnBasedMatchmakerViewControllerDelegate? var showExistingMatches: Bool init(matchRequest request: GKMatchRequest) var parent: NSViewController? { get } var childViewControllers: [NSViewController] func addChildViewController(_ childViewController: NSViewController) func removeFromParentViewController() func insertChildViewController(_ childViewController: NSViewController, at index: Int) func removeChildViewController(at index: Int) func preferredContentSizeDidChange(for viewController: NSViewController) func viewWillTransition(to newSize: NSSize) func presentViewControllerAsSheet(_ viewController: NSViewController) func presentViewControllerAsModalWindow(_ viewController: NSViewController) func presentViewController(_ viewController: NSViewController, asPopoverRelativeTo positioningRect: NSRect, of positioningView: NSView, preferredEdge preferredEdge: NSRectEdge, behavior behavior: NSPopoverBehavior) func transition(from fromViewController: NSViewController, to toViewController: NSViewController, options options: NSViewControllerTransitionOptions = [], completionHandler completion: (@escaping () -> Void)? = nil) func presentViewController(_ viewController: NSViewController, animator animator: NSViewControllerPresentationAnimator) func dismissViewController(_ viewController: NSViewController) @IBAction func dismiss(_ sender: Any?) var presentedViewControllers: [NSViewController]? { get } unowned(unsafe) var presenting: NSViewController? { get } func encodeRestorableState(with coder: NSCoder) func restoreState(with coder: NSCoder) func invalidateRestorableState() class func restorableStateKeyPaths() -> [String] func interfaceStyle() -> Int func setInterfaceStyle(_ interfaceStyle: Int) var userActivity: NSUserActivity? func updateUserActivityState(_ userActivity: NSUserActivity) func restoreUserActivityState(_ userActivity: NSUserActivity) func performMnemonic(_ string: String) -> Bool @IBAction func newWindowForTab(_ sender: Any?) func performTextFinderAction(_ sender: Any?) func presentError(_ error: Error, modalFor window: NSWindow, delegate delegate: Any?, didPresent didPresentSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func presentError(_ error: Error) -> Bool func willPresentError(_ error: Error) -> Error func validateProposedFirstResponder(_ responder: NSResponder, for event: NSEvent?) -> Bool var undoManager: UndoManager? { get } func insertText(_ insertString: Any) func doCommand(by selector: Selector) func moveForward(_ sender: Any?) func moveRight(_ sender: Any?) func moveBackward(_ sender: Any?) func moveLeft(_ sender: Any?) func moveUp(_ sender: Any?) func moveDown(_ sender: Any?) func moveWordForward(_ sender: Any?) func moveWordBackward(_ sender: Any?) func moveToBeginningOfLine(_ sender: Any?) func moveToEndOfLine(_ sender: Any?) func moveToBeginningOfParagraph(_ sender: Any?) func moveToEndOfParagraph(_ sender: Any?) func moveToEndOfDocument(_ sender: Any?) func moveToBeginningOfDocument(_ sender: Any?) func pageDown(_ sender: Any?) func pageUp(_ sender: Any?) func centerSelectionInVisibleArea(_ sender: Any?) func moveBackwardAndModifySelection(_ sender: Any?) func moveForwardAndModifySelection(_ sender: Any?) func moveWordForwardAndModifySelection(_ sender: Any?) func moveWordBackwardAndModifySelection(_ sender: Any?) func moveUpAndModifySelection(_ sender: Any?) func moveDownAndModifySelection(_ sender: Any?) func moveToBeginningOfLineAndModifySelection(_ sender: Any?) func moveToEndOfLineAndModifySelection(_ sender: Any?) func moveToBeginningOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfParagraphAndModifySelection(_ sender: Any?) func moveToEndOfDocumentAndModifySelection(_ sender: Any?) func moveToBeginningOfDocumentAndModifySelection(_ sender: Any?) func pageDownAndModifySelection(_ sender: Any?) func pageUpAndModifySelection(_ sender: Any?) func moveParagraphForwardAndModifySelection(_ sender: Any?) func moveParagraphBackwardAndModifySelection(_ sender: Any?) func moveWordRight(_ sender: Any?) func moveWordLeft(_ sender: Any?) func moveRightAndModifySelection(_ sender: Any?) func moveLeftAndModifySelection(_ sender: Any?) func moveWordRightAndModifySelection(_ sender: Any?) func moveWordLeftAndModifySelection(_ sender: Any?) func moveToLeftEndOfLine(_ sender: Any?) func moveToRightEndOfLine(_ sender: Any?) func moveToLeftEndOfLineAndModifySelection(_ sender: Any?) func moveToRightEndOfLineAndModifySelection(_ sender: Any?) func scrollPageUp(_ sender: Any?) func scrollPageDown(_ sender: Any?) func scrollLineUp(_ sender: Any?) func scrollLineDown(_ sender: Any?) func scrollToBeginningOfDocument(_ sender: Any?) func scrollToEndOfDocument(_ sender: Any?) func transpose(_ sender: Any?) func transposeWords(_ sender: Any?) func selectAll(_ sender: Any?) func selectParagraph(_ sender: Any?) func selectLine(_ sender: Any?) func selectWord(_ sender: Any?) func indent(_ sender: Any?) func insertTab(_ sender: Any?) func insertBacktab(_ sender: Any?) func insertNewline(_ sender: Any?) func insertParagraphSeparator(_ sender: Any?) func insertNewlineIgnoringFieldEditor(_ sender: Any?) func insertTabIgnoringFieldEditor(_ sender: Any?) func insertLineBreak(_ sender: Any?) func insertContainerBreak(_ sender: Any?) func insertSingleQuoteIgnoringSubstitution(_ sender: Any?) func insertDoubleQuoteIgnoringSubstitution(_ sender: Any?) func changeCaseOfLetter(_ sender: Any?) func uppercaseWord(_ sender: Any?) func lowercaseWord(_ sender: Any?) func capitalizeWord(_ sender: Any?) func deleteForward(_ sender: Any?) func deleteBackward(_ sender: Any?) func deleteBackwardByDecomposingPreviousCharacter(_ sender: Any?) func deleteWordForward(_ sender: Any?) func deleteWordBackward(_ sender: Any?) func deleteToBeginningOfLine(_ sender: Any?) func deleteToEndOfLine(_ sender: Any?) func deleteToBeginningOfParagraph(_ sender: Any?) func deleteToEndOfParagraph(_ sender: Any?) func yank(_ sender: Any?) func complete(_ sender: Any?) func setMark(_ sender: Any?) func deleteToMark(_ sender: Any?) func selectToMark(_ sender: Any?) func swapWithMark(_ sender: Any?) func cancelOperation(_ sender: Any?) func makeBaseWritingDirectionNatural(_ sender: Any?) func makeBaseWritingDirectionLeftToRight(_ sender: Any?) func makeBaseWritingDirectionRightToLeft(_ sender: Any?) func makeTextWritingDirectionNatural(_ sender: Any?) func makeTextWritingDirectionLeftToRight(_ sender: Any?) func makeTextWritingDirectionRightToLeft(_ sender: Any?) func quickLookPreviewItems(_ sender: Any?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) var storyboard: NSStoryboard? { get } func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? 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 setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: 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 func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) 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 pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? 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?) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String } extension GKTurnBasedMatchmakerViewController : NSExtensionRequestHandling { var extensionContext: NSExtensionContext? { get } @IBOutlet var sourceItemView: NSView? var preferredScreenOrigin: NSPoint var preferredMinimumSize: NSSize { get } var preferredMaximumSize: NSSize { get } } extension GKTurnBasedMatchmakerViewController : CVarArg { } extension GKTurnBasedMatchmakerViewController : Equatable, Hashable { var hashValue: Int { get } } extension GKTurnBasedMatchmakerViewController { unowned(unsafe) var turnBasedMatchmakerDelegate: GKTurnBasedMatchmakerViewControllerDelegate? var showExistingMatches: Bool init(matchRequest request: GKMatchRequest) } | CVarArg, Equatable, GKViewController, Hashable, NSExtensionRequestHandling |
Declaration | |
---|---|
From | protocol GKTurnBasedMatchmakerViewControllerDelegate : NSObjectProtocol { func turnBasedMatchmakerViewControllerWasCancelled(_ viewController: GKTurnBasedMatchmakerViewController) func turnBasedMatchmakerViewController(_ viewController: GKTurnBasedMatchmakerViewController, didFailWithError error: NSError) optional func turnBasedMatchmakerViewController(_ viewController: GKTurnBasedMatchmakerViewController, didFindMatch match: GKTurnBasedMatch) optional func turnBasedMatchmakerViewController(_ viewController: GKTurnBasedMatchmakerViewController, playerQuitForMatch match: GKTurnBasedMatch) } |
To | protocol GKTurnBasedMatchmakerViewControllerDelegate : NSObjectProtocol { func turnBasedMatchmakerViewControllerWasCancelled(_ viewController: GKTurnBasedMatchmakerViewController) func turnBasedMatchmakerViewController(_ viewController: GKTurnBasedMatchmakerViewController, didFailWithError error: Error) optional func turnBasedMatchmakerViewController(_ viewController: GKTurnBasedMatchmakerViewController, didFind match: GKTurnBasedMatch) optional func turnBasedMatchmakerViewController(_ viewController: GKTurnBasedMatchmakerViewController, playerQuitFor match: GKTurnBasedMatch) } |
Declaration | |
---|---|
From | func turnBasedMatchmakerViewController(_ viewController: GKTurnBasedMatchmakerViewController, didFailWithError error: NSError) |
To | func turnBasedMatchmakerViewController(_ viewController: GKTurnBasedMatchmakerViewController, didFailWithError error: Error) |
Declaration | |
---|---|
From | optional func turnBasedMatchmakerViewController(_ viewController: GKTurnBasedMatchmakerViewController, didFindMatch match: GKTurnBasedMatch) |
To | optional func turnBasedMatchmakerViewController(_ viewController: GKTurnBasedMatchmakerViewController, didFind match: GKTurnBasedMatch) |
Declaration | |
---|---|
From | optional func turnBasedMatchmakerViewController(_ viewController: GKTurnBasedMatchmakerViewController, playerQuitForMatch match: GKTurnBasedMatch) |
To | optional func turnBasedMatchmakerViewController(_ viewController: GKTurnBasedMatchmakerViewController, playerQuitFor match: GKTurnBasedMatch) |
Modified GKTurnBasedMatchOutcome [enum]
Declaration | |
---|---|
From | enum GKTurnBasedMatchOutcome : Int { case None case Quit case Won case Lost case Tied case TimeExpired case First case Second case Third case Fourth case CustomRange } |
To | enum GKTurnBasedMatchOutcome : Int { case none case quit case won case lost case tied case timeExpired case first case second case third case fourth case customRange } |
Modified GKTurnBasedMatchOutcome.customRange
Declaration | |
---|---|
From | case CustomRange |
To | case customRange |
Modified GKTurnBasedMatchOutcome.first
Declaration | |
---|---|
From | case First |
To | case first |
Modified GKTurnBasedMatchOutcome.fourth
Declaration | |
---|---|
From | case Fourth |
To | case fourth |
Modified GKTurnBasedMatchOutcome.lost
Declaration | |
---|---|
From | case Lost |
To | case lost |
Modified GKTurnBasedMatchOutcome.none
Declaration | |
---|---|
From | case None |
To | case none |
Modified GKTurnBasedMatchOutcome.quit
Declaration | |
---|---|
From | case Quit |
To | case quit |
Modified GKTurnBasedMatchOutcome.second
Declaration | |
---|---|
From | case Second |
To | case second |
Modified GKTurnBasedMatchOutcome.third
Declaration | |
---|---|
From | case Third |
To | case third |
Modified GKTurnBasedMatchOutcome.tied
Declaration | |
---|---|
From | case Tied |
To | case tied |
Modified GKTurnBasedMatchOutcome.timeExpired
Declaration | |
---|---|
From | case TimeExpired |
To | case timeExpired |
Modified GKTurnBasedMatchOutcome.won
Declaration | |
---|---|
From | case Won |
To | case won |
Modified GKTurnBasedMatchStatus [enum]
Declaration | |
---|---|
From | enum GKTurnBasedMatchStatus : Int { case Unknown case Open case Ended case Matching } |
To | enum GKTurnBasedMatchStatus : Int { case unknown case open case ended case matching } |
Modified GKTurnBasedMatchStatus.ended
Declaration | |
---|---|
From | case Ended |
To | case ended |
Modified GKTurnBasedMatchStatus.matching
Declaration | |
---|---|
From | case Matching |
To | case matching |
Modified GKTurnBasedMatchStatus.open
Declaration | |
---|---|
From | case Open |
To | case open |
Modified GKTurnBasedMatchStatus.unknown
Declaration | |
---|---|
From | case Unknown |
To | case unknown |
Modified GKTurnBasedParticipant
Declaration | Protocols | |
---|---|---|
From | class GKTurnBasedParticipant : NSObject { var player: GKPlayer? { get } @NSCopying var lastTurnDate: NSDate? { get } var status: GKTurnBasedParticipantStatus { get } var matchOutcome: GKTurnBasedMatchOutcome @NSCopying var timeoutDate: NSDate? { get } var playerID: String? { get } } | -- |
To | class GKTurnBasedParticipant : NSObject { var player: GKPlayer? { get } var lastTurnDate: Date? { get } var status: GKTurnBasedParticipantStatus { get } var matchOutcome: GKTurnBasedMatchOutcome var timeoutDate: Date? { get } var playerID: String? { get } func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? 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 setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: 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 func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) 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 pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? 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 GKTurnBasedParticipant : CVarArg { } extension GKTurnBasedParticipant : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Modified GKTurnBasedParticipant.lastTurnDate
Declaration | |
---|---|
From | @NSCopying var lastTurnDate: NSDate? { get } |
To | var lastTurnDate: Date? { get } |
Modified GKTurnBasedParticipant.timeoutDate
Declaration | |
---|---|
From | @NSCopying var timeoutDate: NSDate? { get } |
To | var timeoutDate: Date? { get } |
Modified GKTurnBasedParticipantStatus [enum]
Declaration | |
---|---|
From | enum GKTurnBasedParticipantStatus : Int { case Unknown case Invited case Declined case Matching case Active case Done } |
To | enum GKTurnBasedParticipantStatus : Int { case unknown case invited case declined case matching case active case done } |
Modified GKTurnBasedParticipantStatus.active
Declaration | |
---|---|
From | case Active |
To | case active |
Declaration | |
---|---|
From | case Declined |
To | case declined |
Modified GKTurnBasedParticipantStatus.done
Declaration | |
---|---|
From | case Done |
To | case done |
Modified GKTurnBasedParticipantStatus.invited
Declaration | |
---|---|
From | case Invited |
To | case invited |
Declaration | |
---|---|
From | case Matching |
To | case matching |
Modified GKTurnBasedParticipantStatus.unknown
Declaration | |
---|---|
From | case Unknown |
To | case unknown |
Modified GKVoiceChat
Declaration | Protocols | |
---|---|---|
From | class GKVoiceChat : NSObject { func start() func stop() func setPlayer(_ player: GKPlayer, muted isMuted: Bool) var playerVoiceChatStateDidChangeHandler: (GKPlayer, GKVoiceChatPlayerState) -> Void var name: String { get } var active: Bool var volume: Float var players: [GKPlayer] { get } class func isVoIPAllowed() -> Bool } extension GKVoiceChat { var playerIDs: [String] { get } var playerStateUpdateHandler: (String, GKVoiceChatPlayerState) -> Void func setMute(_ isMuted: Bool, forPlayer playerID: String) } | -- |
To | class GKVoiceChat : NSObject { func start() func stop() func setPlayer(_ player: GKPlayer, muted isMuted: Bool) var playerVoiceChatStateDidChangeHandler: (GKPlayer, GKVoiceChatPlayerState) -> Swift.Void var name: String { get } var isActive: Bool var volume: Float var players: [GKPlayer] { get } class func isVoIPAllowed() -> Bool var playerIDs: [String] { get } var playerStateUpdateHandler: (String, GKVoiceChatPlayerState) -> Swift.Void func setMute(_ isMuted: Bool, forPlayer playerID: String) func objectDidBeginEditing(_ editor: Any) func objectDidEndEditing(_ editor: Any) class func setDefaultPlaceholder(_ placeholder: Any?, forMarker marker: Any?, withBinding binding: String) class func defaultPlaceholder(forMarker marker: Any?, withBinding binding: String) -> Any? class func exposeBinding(_ binding: String) var exposedBindings: [String] { get } func valueClassForBinding(_ binding: String) -> AnyClass? func bind(_ binding: String, to observable: Any, withKeyPath keyPath: String, options options: [String : Any]? = nil) func unbind(_ binding: String) func infoForBinding(_ binding: String) -> [String : Any]? func optionDescriptionsForBinding(_ binding: String) -> [NSAttributeDescription] func validateToolbarItem(_ item: NSToolbarItem) -> Bool func application(_ sender: NSApplication, delegateHandlesKey key: String) -> Bool func tableView(_ tableView: NSTableView, writeRows rows: [Any], to pboard: NSPasteboard) -> Bool func textStorageWillProcessEditing(_ notification: Notification) func textStorageDidProcessEditing(_ notification: Notification) func panel(_ sender: Any, isValidFilename filename: String) -> Bool func panel(_ sender: Any, directoryDidChange path: String) func panel(_ sender: Any, compareFilename name1: String, with name2: String, caseSensitive caseSensitive: Bool) -> ComparisonResult func panel(_ sender: Any, shouldShowFilename filename: String) -> Bool func awakeFromNib() func prepareForInterfaceBuilder() func changeColor(_ sender: Any?) func pasteboard(_ sender: NSPasteboard, provideDataForType type: String) func pasteboardChangedOwner(_ sender: NSPasteboard) func validateMenuItem(_ menuItem: NSMenuItem) -> Bool func validModesForFontPanel(_ fontPanel: NSFontPanel) -> Int func changeFont(_ sender: Any?) func fontManager(_ sender: Any, willIncludeFont fontName: String) -> Bool func controlTextDidBeginEditing(_ obj: Notification) func controlTextDidEndEditing(_ obj: Notification) func controlTextDidChange(_ obj: Notification) func view(_ view: NSView, stringForToolTip tag: NSToolTipTag, point point: NSPoint, userData data: UnsafeMutableRawPointer?) -> String func layer(_ layer: CALayer, shouldInheritContentsScale newScale: CGFloat, from window: NSWindow) -> Bool func namesOfPromisedFilesDropped(atDestination dropDestination: URL) -> [String]? func draggingSourceOperationMask(forLocal flag: Bool) -> NSDragOperation func draggedImage(_ image: NSImage!, beganAt screenPoint: NSPoint) func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, operation operation: NSDragOperation) func draggedImage(_ image: NSImage!, movedTo screenPoint: NSPoint) func ignoreModifierKeysWhileDragging() -> Bool func draggedImage(_ image: NSImage!, endedAt screenPoint: NSPoint, deposited flag: Bool) func accessibilitySetOverrideValue(_ value: Any?, forAttribute attribute: String) -> Bool func accessibilityAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String) -> Any? func accessibilityIsAttributeSettable(_ attribute: String) -> Bool func accessibilitySetValue(_ value: Any?, forAttribute attribute: String) func accessibilityParameterizedAttributeNames() -> [Any] func accessibilityAttributeValue(_ attribute: String, forParameter parameter: Any?) -> Any? func accessibilityActionNames() -> [Any] func accessibilityActionDescription(_ action: String) -> String? func accessibilityPerformAction(_ action: String) func accessibilityIsIgnored() -> Bool func accessibilityHitTest(_ point: NSPoint) -> Any? var accessibilityFocusedUIElement: Any? { get } func accessibilityIndex(ofChild child: Any) -> Int func accessibilityArrayAttributeCount(_ attribute: String) -> Int func accessibilityArrayAttributeValues(_ attribute: String, index index: Int, maxCount maxCount: Int) -> [Any] var accessibilityNotifiesWhenDestroyed: Bool { get } func scriptingIsEqual(to object: Any) -> Bool func scriptingIsLessThanOrEqual(to object: Any) -> Bool func scriptingIsLessThan(_ object: Any) -> Bool func scriptingIsGreaterThanOrEqual(to object: Any) -> Bool func scriptingIsGreaterThan(_ object: Any) -> Bool func scriptingBegins(with object: Any) -> Bool func scriptingEnds(with object: Any) -> Bool func scriptingContains(_ object: Any) -> Bool func isEqual(to object: Any?) -> Bool func isLessThanOrEqual(to object: Any?) -> Bool func isLessThan(_ object: Any?) -> Bool func isGreaterThanOrEqual(to object: Any?) -> Bool func isGreaterThan(_ object: Any?) -> Bool func isNotEqual(to object: Any?) -> Bool func doesContain(_ object: Any) -> Bool func isLike(_ object: String) -> Bool func isCaseInsensitiveLike(_ object: String) -> Bool func discardEditing() func commitEditing() -> Bool func commitEditing(withDelegate delegate: Any?, didCommit didCommitSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func commitEditingAndReturnError() throws func value(at index: Int, inPropertyWithKey key: String) -> Any? func value(withName name: String, inPropertyWithKey key: String) -> Any? func value(withUniqueID uniqueID: Any, inPropertyWithKey key: String) -> Any? func insertValue(_ value: Any, at index: Int, inPropertyWithKey key: String) func removeValue(at index: Int, fromPropertyWithKey key: String) func replaceValue(at index: Int, inPropertyWithKey key: String, withValue value: Any) func insertValue(_ value: Any, inPropertyWithKey key: String) func coerceValue(_ value: Any?, forKey key: String) -> Any? var classCode: FourCharCode { get } var className: String { get } func scriptingValue(for objectSpecifier: NSScriptObjectSpecifier) -> Any? var scriptingProperties: [String : Any]? func copyScriptingValue(_ value: Any, forKey key: String, withProperties properties: [String : Any]) -> Any? func newScriptingObject(of objectClass: AnyClass, forValueForKey key: String, withContentsValue contentsValue: Any?, properties properties: [String : Any]) -> Any? @NSCopying var classDescription: NSClassDescription { get } var attributeKeys: [String] { get } var toOneRelationshipKeys: [String] { get } var toManyRelationshipKeys: [String] { get } func inverse(forRelationshipKey relationshipKey: String) -> String? var classForPortCoder: AnyClass { get } func replacementObject(for coder: NSPortCoder) -> Any? var classForArchiver: AnyClass? { get } func replacementObject(for archiver: NSArchiver) -> Any? 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 setKeys(_ keys: [Any], triggerChangeNotificationsForDependentKey dependentKey: 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 func useStoredAccessor() -> Bool func storedValue(forKey key: String) -> Any? func takeStoredValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKey key: String) func takeValue(_ value: Any?, forKeyPath keyPath: String) func handleQuery(withUnboundKey key: String) -> Any? func handleTakeValue(_ value: Any?, forUnboundKey key: String) func unableToSetNil(forKey key: String) func values(forKeys keys: [Any]) -> [AnyHashable : Any] func takeValues(from properties: [AnyHashable : Any]) 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 pose(as aClass: AnyClass) class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func replacementObject(for aCoder: NSCoder) -> Any? 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?) var objectSpecifier: NSScriptObjectSpecifier? { get } func indicesOfObjects(byEvaluatingObjectSpecifier specifier: NSScriptObjectSpecifier) -> [NSNumber]? } extension GKVoiceChat : CVarArg { } extension GKVoiceChat : Equatable, Hashable { var hashValue: Int { get } } extension GKVoiceChat { var playerIDs: [String] { get } var playerStateUpdateHandler: (String, GKVoiceChatPlayerState) -> Swift.Void func setMute(_ isMuted: Bool, forPlayer playerID: String) } | CVarArg, Equatable, Hashable |
Modified GKVoiceChat.isActive
Declaration | |
---|---|
From | var active: Bool |
To | var isActive: Bool |
Modified GKVoiceChat.playerStateUpdateHandler
Declaration | |
---|---|
From | var playerStateUpdateHandler: (String, GKVoiceChatPlayerState) -> Void |
To | var playerStateUpdateHandler: (String, GKVoiceChatPlayerState) -> Swift.Void |
Declaration | |
---|---|
From | var playerVoiceChatStateDidChangeHandler: (GKPlayer, GKVoiceChatPlayerState) -> Void |
To | var playerVoiceChatStateDidChangeHandler: (GKPlayer, GKVoiceChatPlayerState) -> Swift.Void |
Modified GKVoiceChatClient
Declaration | |
---|---|
From | protocol GKVoiceChatClient : NSObjectProtocol { func voiceChatService(_ voiceChatService: GKVoiceChatService, sendData data: NSData, toParticipantID participantID: String) func participantID() -> String optional func voiceChatService(_ voiceChatService: GKVoiceChatService, sendRealTimeData data: NSData, toParticipantID participantID: String) optional func voiceChatService(_ voiceChatService: GKVoiceChatService, didStartWithParticipantID participantID: String) optional func voiceChatService(_ voiceChatService: GKVoiceChatService, didNotStartWithParticipantID participantID: String, error error: NSError?) optional func voiceChatService(_ voiceChatService: GKVoiceChatService, didStopWithParticipantID participantID: String, error error: NSError?) optional func voiceChatService(_ voiceChatService: GKVoiceChatService, didReceiveInvitationFromParticipantID participantID: String, callID callID: Int) } |
To | protocol GKVoiceChatClient : NSObjectProtocol { func voiceChatService(_ voiceChatService: GKVoiceChatService, send data: Data, toParticipantID participantID: String) func participantID() -> String optional func voiceChatService(_ voiceChatService: GKVoiceChatService, sendRealTime data: Data, toParticipantID participantID: String) optional func voiceChatService(_ voiceChatService: GKVoiceChatService, didStartWithParticipantID participantID: String) optional func voiceChatService(_ voiceChatService: GKVoiceChatService, didNotStartWithParticipantID participantID: String, error error: Error?) optional func voiceChatService(_ voiceChatService: GKVoiceChatService, didStopWithParticipantID participantID: String, error error: Error?) optional func voiceChatService(_ voiceChatService: GKVoiceChatService, didReceiveInvitationFromParticipantID participantID: String, callID callID: Int) } |
Declaration | |
---|---|
From | optional func voiceChatService(_ voiceChatService: GKVoiceChatService, didNotStartWithParticipantID participantID: String, error error: NSError?) |
To | optional func voiceChatService(_ voiceChatService: GKVoiceChatService, didNotStartWithParticipantID participantID: String, error error: Error?) |
Declaration | |
---|---|
From | optional func voiceChatService(_ voiceChatService: GKVoiceChatService, didStopWithParticipantID participantID: String, error error: NSError?) |
To | optional func voiceChatService(_ voiceChatService: GKVoiceChatService, didStopWithParticipantID participantID: String, error error: Error?) |
Modified GKVoiceChatClient.voiceChatService(_: GKVoiceChatService, send: Data, toParticipantID: String)
Declaration | |
---|---|
From | func voiceChatService(_ voiceChatService: GKVoiceChatService, sendData data: NSData, toParticipantID participantID: String) |
To | func voiceChatService(_ voiceChatService: GKVoiceChatService, send data: Data, toParticipantID participantID: String) |
Declaration | |
---|---|
From | optional func voiceChatService(_ voiceChatService: GKVoiceChatService, sendRealTimeData data: NSData, toParticipantID participantID: String) |
To | optional func voiceChatService(_ voiceChatService: GKVoiceChatService, sendRealTime data: Data, toParticipantID participantID: String) |
Modified GKVoiceChatPlayerState [enum]
Declaration | |
---|---|
From | enum GKVoiceChatPlayerState : Int { case Connected case Disconnected case Speaking case Silent case Connecting } |
To | enum GKVoiceChatPlayerState : Int { case connected case disconnected case speaking case silent case connecting } |
Modified GKVoiceChatPlayerState.connected
Declaration | |
---|---|
From | case Connected |
To | case connected |
Modified GKVoiceChatPlayerState.connecting
Declaration | |
---|---|
From | case Connecting |
To | case connecting |
Modified GKVoiceChatPlayerState.disconnected
Declaration | |
---|---|
From | case Disconnected |
To | case disconnected |
Modified GKVoiceChatPlayerState.silent
Declaration | |
---|---|
From | case Silent |
To | case silent |
Modified GKVoiceChatPlayerState.speaking
Declaration | |
---|---|
From | case Speaking |
To | case speaking |
Modified GKChallengeComposeCompletionBlock
Declaration | |
---|---|
From | typealias GKChallengeComposeCompletionBlock = (NSViewController, Bool, [String]?) -> Void |
To | typealias GKChallengeComposeCompletionBlock = (NSViewController, Bool, [String]?) -> Swift.Void |
Modified GKExchangeTimeoutDefault
Declaration | |
---|---|
From | var GKExchangeTimeoutDefault: NSTimeInterval |
To | var GKExchangeTimeoutDefault: TimeInterval |
Modified GKExchangeTimeoutNone
Declaration | |
---|---|
From | var GKExchangeTimeoutNone: NSTimeInterval |
To | var GKExchangeTimeoutNone: TimeInterval |
Modified GKTurnTimeoutDefault
Declaration | |
---|---|
From | var GKTurnTimeoutDefault: NSTimeInterval |
To | var GKTurnTimeoutDefault: TimeInterval |
Modified GKTurnTimeoutNone
Declaration | |
---|---|
From | var GKTurnTimeoutNone: NSTimeInterval |
To | var GKTurnTimeoutNone: TimeInterval |