GameController Changes for Swift
GameController
Added GCEventViewController
Added GCMicroGamepad
Added GCMicroGamepad.buttonA
Added GCMicroGamepad.buttonX
Added GCMicroGamepad.dpad
Added GCMicroGamepadSnapshot
Modified GCController
Declaration | Protocols | |
---|---|---|
From | class GCController : NSObject { var controllerPausedHandler: ((GCController) -> Void)? var handlerQueue: dispatch_queue_t var vendorName: String? { get } var attachedToDevice: Bool { get } var playerIndex: GCControllerPlayerIndex var gamepad: GCGamepad? { get } var extendedGamepad: GCExtendedGamepad? { get } var motion: GCMotion? { get } class func controllers() -> [GCController] class func startWirelessControllerDiscoveryWithCompletionHandler(_ completionHandler: (() -> Void)?) class func stopWirelessControllerDiscovery() } | -- |
To | class GCController : NSObject { var controllerPausedHandler: ((GCController) -> Swift.Void)? var handlerQueue: DispatchQueue var vendorName: String? { get } var isAttachedToDevice: Bool { get } var playerIndex: GCControllerPlayerIndex var gamepad: GCGamepad? { get } var microGamepad: GCMicroGamepad? { get } var extendedGamepad: GCExtendedGamepad? { get } var motion: GCMotion? { get } class func controllers() -> [GCController] class func startWirelessControllerDiscovery(completionHandler completionHandler: (@escaping () -> Swift.Void)? = nil) class func stopWirelessControllerDiscovery() 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 GCController : CVarArg { } extension GCController : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Modified GCController.controllerPausedHandler
Declaration | |
---|---|
From | var controllerPausedHandler: ((GCController) -> Void)? |
To | var controllerPausedHandler: ((GCController) -> Swift.Void)? |
Modified GCController.handlerQueue
Declaration | |
---|---|
From | var handlerQueue: dispatch_queue_t |
To | var handlerQueue: DispatchQueue |
Modified GCController.isAttachedToDevice
Declaration | |
---|---|
From | var attachedToDevice: Bool { get } |
To | var isAttachedToDevice: Bool { get } |
Modified GCController.startWirelessControllerDiscovery(completionHandler: ( () -> Swift.Void)?) [class]
Declaration | |
---|---|
From | class func startWirelessControllerDiscoveryWithCompletionHandler(_ completionHandler: (() -> Void)?) |
To | class func startWirelessControllerDiscovery(completionHandler completionHandler: (@escaping () -> Swift.Void)? = nil) |
Modified GCControllerAxisInput
Declaration | |
---|---|
From | class GCControllerAxisInput : GCControllerElement { var valueChangedHandler: GCControllerAxisValueChangedHandler? var value: Float { get } } |
To | class GCControllerAxisInput : GCControllerElement { var valueChangedHandler: GameController.GCControllerAxisValueChangedHandler? var value: Float { get } } |
Declaration | |
---|---|
From | var valueChangedHandler: GCControllerAxisValueChangedHandler? |
To | var valueChangedHandler: GameController.GCControllerAxisValueChangedHandler? |
Modified GCControllerButtonInput
Declaration | |
---|---|
From | class GCControllerButtonInput : GCControllerElement { var valueChangedHandler: GCControllerButtonValueChangedHandler? var pressedChangedHandler: GCControllerButtonValueChangedHandler? var value: Float { get } var pressed: Bool { get } } |
To | class GCControllerButtonInput : GCControllerElement { var valueChangedHandler: GameController.GCControllerButtonValueChangedHandler? var pressedChangedHandler: GameController.GCControllerButtonValueChangedHandler? var value: Float { get } var isPressed: Bool { get } } |
Modified GCControllerButtonInput.isPressed
Declaration | |
---|---|
From | var pressed: Bool { get } |
To | var isPressed: Bool { get } |
Declaration | |
---|---|
From | var pressedChangedHandler: GCControllerButtonValueChangedHandler? |
To | var pressedChangedHandler: GameController.GCControllerButtonValueChangedHandler? |
Declaration | |
---|---|
From | var valueChangedHandler: GCControllerButtonValueChangedHandler? |
To | var valueChangedHandler: GameController.GCControllerButtonValueChangedHandler? |
Modified GCControllerDirectionPad
Declaration | |
---|---|
From | class GCControllerDirectionPad : GCControllerElement { var valueChangedHandler: GCControllerDirectionPadValueChangedHandler? var xAxis: GCControllerAxisInput { get } var yAxis: GCControllerAxisInput { get } var up: GCControllerButtonInput { get } var down: GCControllerButtonInput { get } var left: GCControllerButtonInput { get } var right: GCControllerButtonInput { get } } |
To | class GCControllerDirectionPad : GCControllerElement { var valueChangedHandler: GameController.GCControllerDirectionPadValueChangedHandler? var xAxis: GCControllerAxisInput { get } var yAxis: GCControllerAxisInput { get } var up: GCControllerButtonInput { get } var down: GCControllerButtonInput { get } var left: GCControllerButtonInput { get } var right: GCControllerButtonInput { get } } |
Declaration | |
---|---|
From | var valueChangedHandler: GCControllerDirectionPadValueChangedHandler? |
To | var valueChangedHandler: GameController.GCControllerDirectionPadValueChangedHandler? |
Modified GCControllerElement
Declaration | Protocols | |
---|---|---|
From | class GCControllerElement : NSObject { weak var collection: GCControllerElement? { get } var analog: Bool { get } } | -- |
To | class GCControllerElement : NSObject { weak var collection: GCControllerElement? { get } var isAnalog: Bool { 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 GCControllerElement : CVarArg { } extension GCControllerElement : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Modified GCControllerElement.isAnalog
Declaration | |
---|---|
From | var analog: Bool { get } |
To | var isAnalog: Bool { get } |
Modified GCControllerPlayerIndex [enum]
Declaration | |
---|---|
From | enum GCControllerPlayerIndex : Int { case IndexUnset case Index1 case Index2 case Index3 case Index4 } |
To | enum GCControllerPlayerIndex : Int { case indexUnset case index1 case index2 case index3 case index4 } |
Modified GCControllerPlayerIndex.index1
Declaration | |
---|---|
From | case Index1 |
To | case index1 |
Modified GCControllerPlayerIndex.index2
Declaration | |
---|---|
From | case Index2 |
To | case index2 |
Modified GCControllerPlayerIndex.index3
Declaration | |
---|---|
From | case Index3 |
To | case index3 |
Modified GCControllerPlayerIndex.index4
Declaration | |
---|---|
From | case Index4 |
To | case index4 |
Modified GCControllerPlayerIndex.indexUnset
Declaration | |
---|---|
From | case IndexUnset |
To | case indexUnset |
Modified GCExtendedGamepad
Declaration | Protocols | |
---|---|---|
From | class GCExtendedGamepad : NSObject { weak var controller: GCController? { get } var valueChangedHandler: GCExtendedGamepadValueChangedHandler? func saveSnapshot() -> GCExtendedGamepadSnapshot var dpad: GCControllerDirectionPad { get } var buttonA: GCControllerButtonInput { get } var buttonB: GCControllerButtonInput { get } var buttonX: GCControllerButtonInput { get } var buttonY: GCControllerButtonInput { get } var leftThumbstick: GCControllerDirectionPad { get } var rightThumbstick: GCControllerDirectionPad { get } var leftShoulder: GCControllerButtonInput { get } var rightShoulder: GCControllerButtonInput { get } var leftTrigger: GCControllerButtonInput { get } var rightTrigger: GCControllerButtonInput { get } } | -- |
To | class GCExtendedGamepad : NSObject { weak var controller: GCController? { get } var valueChangedHandler: GameController.GCExtendedGamepadValueChangedHandler? func saveSnapshot() -> GCExtendedGamepadSnapshot var dpad: GCControllerDirectionPad { get } var buttonA: GCControllerButtonInput { get } var buttonB: GCControllerButtonInput { get } var buttonX: GCControllerButtonInput { get } var buttonY: GCControllerButtonInput { get } var leftThumbstick: GCControllerDirectionPad { get } var rightThumbstick: GCControllerDirectionPad { get } var leftShoulder: GCControllerButtonInput { get } var rightShoulder: GCControllerButtonInput { get } var leftTrigger: GCControllerButtonInput { get } var rightTrigger: GCControllerButtonInput { 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 GCExtendedGamepad : CVarArg { } extension GCExtendedGamepad : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | var valueChangedHandler: GCExtendedGamepadValueChangedHandler? |
To | var valueChangedHandler: GameController.GCExtendedGamepadValueChangedHandler? |
Modified GCExtendedGamepadSnapshot
Declaration | |
---|---|
From | class GCExtendedGamepadSnapshot : GCExtendedGamepad { @NSCopying var snapshotData: NSData init(snapshotData data: NSData) init(controller controller: GCController, snapshotData data: NSData) } |
To | class GCExtendedGamepadSnapshot : GCExtendedGamepad { var snapshotData: Data init(snapshotData data: Data) init(controller controller: GCController, snapshotData data: Data) } |
Declaration | |
---|---|
From | init(controller controller: GCController, snapshotData data: NSData) |
To | init(controller controller: GCController, snapshotData data: Data) |
Declaration | |
---|---|
From | init(snapshotData data: NSData) |
To | init(snapshotData data: Data) |
Declaration | |
---|---|
From | @NSCopying var snapshotData: NSData |
To | var snapshotData: Data |
Modified GCGamepad
Declaration | Protocols | |
---|---|---|
From | class GCGamepad : NSObject { weak var controller: GCController? { get } var valueChangedHandler: GCGamepadValueChangedHandler? func saveSnapshot() -> GCGamepadSnapshot var dpad: GCControllerDirectionPad { get } var buttonA: GCControllerButtonInput { get } var buttonB: GCControllerButtonInput { get } var buttonX: GCControllerButtonInput { get } var buttonY: GCControllerButtonInput { get } var leftShoulder: GCControllerButtonInput { get } var rightShoulder: GCControllerButtonInput { get } } | -- |
To | class GCGamepad : NSObject { weak var controller: GCController? { get } var valueChangedHandler: GameController.GCGamepadValueChangedHandler? func saveSnapshot() -> GCGamepadSnapshot var dpad: GCControllerDirectionPad { get } var buttonA: GCControllerButtonInput { get } var buttonB: GCControllerButtonInput { get } var buttonX: GCControllerButtonInput { get } var buttonY: GCControllerButtonInput { get } var leftShoulder: GCControllerButtonInput { get } var rightShoulder: GCControllerButtonInput { 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 GCGamepad : CVarArg { } extension GCGamepad : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Modified GCGamepad.valueChangedHandler
Declaration | |
---|---|
From | var valueChangedHandler: GCGamepadValueChangedHandler? |
To | var valueChangedHandler: GameController.GCGamepadValueChangedHandler? |
Modified GCGamepadSnapshot
Declaration | |
---|---|
From | class GCGamepadSnapshot : GCGamepad { @NSCopying var snapshotData: NSData init(snapshotData data: NSData) init(controller controller: GCController, snapshotData data: NSData) } |
To | class GCGamepadSnapshot : GCGamepad { var snapshotData: Data init(snapshotData data: Data) init(controller controller: GCController, snapshotData data: Data) } |
Declaration | |
---|---|
From | init(controller controller: GCController, snapshotData data: NSData) |
To | init(controller controller: GCController, snapshotData data: Data) |
Declaration | |
---|---|
From | init(snapshotData data: NSData) |
To | init(snapshotData data: Data) |
Modified GCGamepadSnapshot.snapshotData
Declaration | |
---|---|
From | @NSCopying var snapshotData: NSData |
To | var snapshotData: Data |
Modified GCMotion
Declaration | Protocols | |
---|---|---|
From | class GCMotion : NSObject { weak var controller: GCController? { get } var valueChangedHandler: GCMotionValueChangedHandler? var gravity: GCAcceleration { get } var userAcceleration: GCAcceleration { get } var attitude: GCQuaternion { get } var rotationRate: GCRotationRate { get } } | -- |
To | class GCMotion : NSObject { weak var controller: GCController? { get } var valueChangedHandler: GameController.GCMotionValueChangedHandler? var gravity: GCAcceleration { get } var userAcceleration: GCAcceleration { get } var attitude: GCQuaternion { get } var rotationRate: GCRotationRate { 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 GCMotion : CVarArg { } extension GCMotion : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Modified GCMotion.valueChangedHandler
Declaration | |
---|---|
From | var valueChangedHandler: GCMotionValueChangedHandler? |
To | var valueChangedHandler: GameController.GCMotionValueChangedHandler? |
Name | Declaration | |
---|---|---|
From | GCControllerDidConnectNotification | let GCControllerDidConnectNotification: String |
To | GCControllerDidConnect | static let GCControllerDidConnect: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | GCControllerDidDisconnectNotification | let GCControllerDidDisconnectNotification: String |
To | GCControllerDidDisconnect | static let GCControllerDidDisconnect: NSNotification.Name |
Modified GCControllerAxisValueChangedHandler
Declaration | |
---|---|
From | typealias GCControllerAxisValueChangedHandler = (GCControllerAxisInput, Float) -> Void |
To | typealias GCControllerAxisValueChangedHandler = (GCControllerAxisInput, Float) -> Swift.Void |
Declaration | |
---|---|
From | typealias GCControllerButtonValueChangedHandler = (GCControllerButtonInput, Float, Bool) -> Void |
To | typealias GCControllerButtonValueChangedHandler = (GCControllerButtonInput, Float, Bool) -> Swift.Void |
Declaration | |
---|---|
From | typealias GCControllerDirectionPadValueChangedHandler = (GCControllerDirectionPad, Float, Float) -> Void |
To | typealias GCControllerDirectionPadValueChangedHandler = (GCControllerDirectionPad, Float, Float) -> Swift.Void |
Declaration | |
---|---|
From | func GCExtendedGamepadSnapShotDataV100FromNSData(_ snapshotData: UnsafeMutablePointer<GCExtendedGamepadSnapShotDataV100>, _ data: NSData?) -> Bool |
To | func GCExtendedGamepadSnapShotDataV100FromNSData(_ snapshotData: UnsafeMutablePointer<GCExtendedGamepadSnapShotDataV100>?, _ data: Data?) -> Bool |
Modified GCExtendedGamepadValueChangedHandler
Declaration | |
---|---|
From | typealias GCExtendedGamepadValueChangedHandler = (GCExtendedGamepad, GCControllerElement) -> Void |
To | typealias GCExtendedGamepadValueChangedHandler = (GCExtendedGamepad, GCControllerElement) -> Swift.Void |
Declaration | |
---|---|
From | func GCGamepadSnapShotDataV100FromNSData(_ snapshotData: UnsafeMutablePointer<GCGamepadSnapShotDataV100>, _ data: NSData?) -> Bool |
To | func GCGamepadSnapShotDataV100FromNSData(_ snapshotData: UnsafeMutablePointer<GCGamepadSnapShotDataV100>?, _ data: Data?) -> Bool |
Modified GCGamepadValueChangedHandler
Declaration | |
---|---|
From | typealias GCGamepadValueChangedHandler = (GCGamepad, GCControllerElement) -> Void |
To | typealias GCGamepadValueChangedHandler = (GCGamepad, GCControllerElement) -> Swift.Void |
Modified GCMotionValueChangedHandler
Declaration | |
---|---|
From | typealias GCMotionValueChangedHandler = (GCMotion) -> Void |
To | typealias GCMotionValueChangedHandler = (GCMotion) -> Swift.Void |
Declaration | |
---|---|
From | func NSDataFromGCExtendedGamepadSnapShotDataV100(_ snapshotData: UnsafeMutablePointer<GCExtendedGamepadSnapShotDataV100>) -> NSData? |
To | func NSDataFromGCExtendedGamepadSnapShotDataV100(_ snapshotData: UnsafeMutablePointer<GCExtendedGamepadSnapShotDataV100>?) -> Data? |
Modified NSDataFromGCGamepadSnapShotDataV100(_: UnsafeMutablePointer<GCGamepadSnapShotDataV100>?) -> Data?
Declaration | |
---|---|
From | func NSDataFromGCGamepadSnapShotDataV100(_ snapshotData: UnsafeMutablePointer<GCGamepadSnapShotDataV100>) -> NSData? |
To | func NSDataFromGCGamepadSnapShotDataV100(_ snapshotData: UnsafeMutablePointer<GCGamepadSnapShotDataV100>?) -> Data? |