WatchKit Changes for Swift
WatchKit
Removed WKInterfaceController.reloadRootControllers(_: [(name: String, context: AnyObject)]) [class]
Added WatchKitError [struct]
Added WatchKitError.init(_nsError: NSError)
Added WatchKitError.unknown
Added WKCrownDelegate
Added WKCrownSequencer
Added WKCrownSequencer.focus()
Added WKCrownSequencer.isIdle
Added WKGestureRecognizer
Added WKGestureRecognizerState.began
Added WKGestureRecognizerState.cancelled
Added WKGestureRecognizerState.changed
Added WKGestureRecognizerState.ended
Added WKGestureRecognizerState.failed
Added WKGestureRecognizerState.possible
Added WKGestureRecognizerState.recognized
Added WKInterfaceController.presentController(withNamesAndContexts: [(name: String, context: AnyObject)])
Added WKInterfaceHMCamera
Added WKInterfaceInlineMovie
Added WKInterfacePaymentButton
Added WKInterfaceSCNScene
Added WKInterfaceSKScene
Added WKInterfaceSKScene.scene
Added WKPanGestureRecognizer
Added WKRefreshBackgroundTask
Added WKSwipeGestureRecognizer
Added WKSwipeGestureRecognizerDirection.down
Added WKSwipeGestureRecognizerDirection.left
Added WKSwipeGestureRecognizerDirection.right
Added WKSwipeGestureRecognizerDirection.up
Added WKTapGestureRecognizer
Name | Declaration | |
---|---|---|
From | WKAudioFilePlayerItemDidPlayToEndTimeNotification | let WKAudioFilePlayerItemDidPlayToEndTimeNotification: String |
To | WKAudioFilePlayerItemDidPlayToEndTime | static let WKAudioFilePlayerItemDidPlayToEndTime: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | WKAudioFilePlayerItemFailedToPlayToEndTimeNotification | let WKAudioFilePlayerItemFailedToPlayToEndTimeNotification: String |
To | WKAudioFilePlayerItemFailedToPlayToEndTime | static let WKAudioFilePlayerItemFailedToPlayToEndTime: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | WKAudioFilePlayerItemTimeJumpedNotification | let WKAudioFilePlayerItemTimeJumpedNotification: String |
To | WKAudioFilePlayerItemTimeJumped | static let WKAudioFilePlayerItemTimeJumped: NSNotification.Name |
Modified WatchKitError.Code [enum]
Declaration | |
---|---|
From | enum WatchKitErrorCode : Int { case UnknownError case ApplicationDelegateWatchKitRequestReplyNotCalledError case InvalidArgumentError case MediaPlayerError case DownloadError case RecordingFailedError } extension WatchKitErrorCode : _BridgedNSError { } extension WatchKitErrorCode : _BridgedNSError { } |
To | enum Code : Int { typealias _ErrorType = WatchKitError case unknown case applicationDelegateWatchKitRequestReplyNotCalled case invalidArgument case mediaPlayerFailed case downloadFailed case recordingFailed } |
Declaration | |
---|---|
From | case ApplicationDelegateWatchKitRequestReplyNotCalledError |
To | case applicationDelegateWatchKitRequestReplyNotCalled |
Modified WatchKitError.Code.downloadFailed
Declaration | |
---|---|
From | case DownloadError |
To | case downloadFailed |
Modified WatchKitError.Code.invalidArgument
Declaration | |
---|---|
From | case InvalidArgumentError |
To | case invalidArgument |
Modified WatchKitError.Code.mediaPlayerFailed
Declaration | Introduction | |
---|---|---|
From | case MediaPlayerError | watchOS 2.0 |
To | case mediaPlayerFailed | watchOS 3.0 |
Modified WatchKitError.Code.recordingFailed
Declaration | |
---|---|
From | case RecordingFailedError |
To | case recordingFailed |
Modified WatchKitError.Code.unknown
Declaration | |
---|---|
From | case UnknownError |
To | case unknown |
Modified WKAccessibilityImageRegion
Declaration | Protocols | |
---|---|---|
From | class WKAccessibilityImageRegion : NSObject { var frame: CGRect var label: String } | -- |
To | class WKAccessibilityImageRegion : NSObject { var frame: CGRect var label: String func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? } extension WKAccessibilityImageRegion : CVarArg { } extension WKAccessibilityImageRegion : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Modified WKAlertAction
Declaration | Protocols | |
---|---|---|
From | class WKAlertAction : NSObject { convenience init(title title: String, style style: WKAlertActionStyle, handler handler: WKAlertActionHandler) class func actionWithTitle(_ title: String, style style: WKAlertActionStyle, handler handler: WKAlertActionHandler) -> Self init() } | -- |
To | class WKAlertAction : NSObject { convenience init(title title: String, style style: WKAlertActionStyle, handler handler: WatchKit.WKAlertActionHandler) class func withTitle(_ title: String, style style: WKAlertActionStyle, handler handler: WatchKit.WKAlertActionHandler) -> Self init() func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? } extension WKAlertAction : CVarArg { } extension WKAlertAction : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Modified WKAlertAction.init(title: String, style: WKAlertActionStyle, handler: WatchKit.WKAlertActionHandler)
Declaration | |
---|---|
From | convenience init(title title: String, style style: WKAlertActionStyle, handler handler: WKAlertActionHandler) |
To | convenience init(title title: String, style style: WKAlertActionStyle, handler handler: WatchKit.WKAlertActionHandler) |
Modified WKAlertActionStyle [enum]
Declaration | |
---|---|
From | enum WKAlertActionStyle : Int { case Default case Cancel case Destructive } |
To | enum WKAlertActionStyle : Int { case `default` case cancel case destructive } |
Modified WKAlertActionStyle.cancel
Declaration | |
---|---|
From | case Cancel |
To | case cancel |
Modified WKAlertActionStyle.default
Declaration | |
---|---|
From | case Default |
To | case `default` |
Modified WKAlertActionStyle.destructive
Declaration | |
---|---|
From | case Destructive |
To | case destructive |
Modified WKAlertControllerStyle [enum]
Declaration | |
---|---|
From | enum WKAlertControllerStyle : Int { case Alert case SideBySideButtonsAlert case ActionSheet } |
To | enum WKAlertControllerStyle : Int { case alert case sideBySideButtonsAlert case actionSheet } |
Modified WKAlertControllerStyle.actionSheet
Declaration | |
---|---|
From | case ActionSheet |
To | case actionSheet |
Modified WKAlertControllerStyle.alert
Declaration | |
---|---|
From | case Alert |
To | case alert |
Declaration | |
---|---|
From | case SideBySideButtonsAlert |
To | case sideBySideButtonsAlert |
Modified WKAudioFileAsset
Declaration | Protocols | |
---|---|---|
From | class WKAudioFileAsset : NSObject { init() convenience init(URL URL: NSURL) class func assetWithURL(_ URL: NSURL) -> Self convenience init(URL URL: NSURL, title title: String?, albumTitle albumTitle: String?, artist artist: String?) class func assetWithURL(_ URL: NSURL, title title: String?, albumTitle albumTitle: String?, artist artist: String?) -> Self var URL: NSURL { get } var duration: NSTimeInterval { get } var title: String? { get } var albumTitle: String? { get } var artist: String? { get } } | -- |
To | class WKAudioFileAsset : NSObject { init() convenience init(url URL: URL) class func withURL(_ URL: URL) -> Self convenience init(url URL: URL, title title: String?, albumTitle albumTitle: String?, artist artist: String?) class func withURL(_ URL: URL, title title: String?, albumTitle albumTitle: String?, artist artist: String?) -> Self var url: URL { get } var duration: TimeInterval { get } var title: String? { get } var albumTitle: String? { get } var artist: String? { get } func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? } extension WKAudioFileAsset : CVarArg { } extension WKAudioFileAsset : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Modified WKAudioFileAsset.duration
Declaration | |
---|---|
From | var duration: NSTimeInterval { get } |
To | var duration: TimeInterval { get } |
Modified WKAudioFileAsset.init(url: URL)
Declaration | |
---|---|
From | convenience init(URL URL: NSURL) |
To | convenience init(url URL: URL) |
Declaration | |
---|---|
From | convenience init(URL URL: NSURL, title title: String?, albumTitle albumTitle: String?, artist artist: String?) |
To | convenience init(url URL: URL, title title: String?, albumTitle albumTitle: String?, artist artist: String?) |
Modified WKAudioFileAsset.url
Declaration | |
---|---|
From | var URL: NSURL { get } |
To | var url: URL { get } |
Modified WKAudioFilePlayer
Declaration | Protocols | |
---|---|---|
From | class WKAudioFilePlayer : NSObject { init() convenience init(playerItem item: WKAudioFilePlayerItem) class func playerWithPlayerItem(_ item: WKAudioFilePlayerItem) -> Self func play() func pause() func replaceCurrentItemWithPlayerItem(_ item: WKAudioFilePlayerItem?) var currentItem: WKAudioFilePlayerItem? { get } var status: WKAudioFilePlayerStatus { get } var error: NSError? { get } var rate: Float var currentTime: NSTimeInterval { get } } | -- |
To | class WKAudioFilePlayer : NSObject { init() convenience init(playerItem item: WKAudioFilePlayerItem) class func withPlayerItem(_ item: WKAudioFilePlayerItem) -> Self func play() func pause() func replaceCurrentItem(with item: WKAudioFilePlayerItem?) var currentItem: WKAudioFilePlayerItem? { get } var status: WKAudioFilePlayerStatus { get } var error: Error? { get } var rate: Float var currentTime: TimeInterval { get } func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? } extension WKAudioFilePlayer : CVarArg { } extension WKAudioFilePlayer : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Modified WKAudioFilePlayer.currentTime
Declaration | |
---|---|
From | var currentTime: NSTimeInterval { get } |
To | var currentTime: TimeInterval { get } |
Modified WKAudioFilePlayer.error
Declaration | |
---|---|
From | var error: NSError? { get } |
To | var error: Error? { get } |
Declaration | |
---|---|
From | func replaceCurrentItemWithPlayerItem(_ item: WKAudioFilePlayerItem?) |
To | func replaceCurrentItem(with item: WKAudioFilePlayerItem?) |
Modified WKAudioFilePlayerItem
Declaration | Protocols | |
---|---|---|
From | class WKAudioFilePlayerItem : NSObject { init() init(asset asset: WKAudioFileAsset) class func playerItemWithAsset(_ asset: WKAudioFileAsset) -> WKAudioFilePlayerItem var asset: WKAudioFileAsset { get } var status: WKAudioFilePlayerItemStatus { get } var error: NSError? { get } var currentTime: NSTimeInterval { get } } | -- |
To | class WKAudioFilePlayerItem : NSObject { init() init(asset asset: WKAudioFileAsset) class func withAsset(_ asset: WKAudioFileAsset) -> WKAudioFilePlayerItem var asset: WKAudioFileAsset { get } var status: WKAudioFilePlayerItemStatus { get } var error: Error? { get } var currentTime: TimeInterval { get } func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? } extension WKAudioFilePlayerItem : CVarArg { } extension WKAudioFilePlayerItem : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Modified WKAudioFilePlayerItem.currentTime
Declaration | |
---|---|
From | var currentTime: NSTimeInterval { get } |
To | var currentTime: TimeInterval { get } |
Modified WKAudioFilePlayerItem.error
Declaration | |
---|---|
From | var error: NSError? { get } |
To | var error: Error? { get } |
Modified WKAudioFilePlayerItemStatus [enum]
Declaration | |
---|---|
From | enum WKAudioFilePlayerItemStatus : Int { case Unknown case ReadyToPlay case Failed } |
To | enum WKAudioFilePlayerItemStatus : Int { case unknown case readyToPlay case failed } |
Modified WKAudioFilePlayerItemStatus.failed
Declaration | |
---|---|
From | case Failed |
To | case failed |
Declaration | |
---|---|
From | case ReadyToPlay |
To | case readyToPlay |
Modified WKAudioFilePlayerItemStatus.unknown
Declaration | |
---|---|
From | case Unknown |
To | case unknown |
Modified WKAudioFilePlayerStatus [enum]
Declaration | |
---|---|
From | enum WKAudioFilePlayerStatus : Int { case Unknown case ReadyToPlay case Failed } |
To | enum WKAudioFilePlayerStatus : Int { case unknown case readyToPlay case failed } |
Modified WKAudioFilePlayerStatus.failed
Declaration | |
---|---|
From | case Failed |
To | case failed |
Modified WKAudioFilePlayerStatus.readyToPlay
Declaration | |
---|---|
From | case ReadyToPlay |
To | case readyToPlay |
Modified WKAudioFilePlayerStatus.unknown
Declaration | |
---|---|
From | case Unknown |
To | case unknown |
Modified WKAudioFileQueuePlayer
Declaration | |
---|---|
From | class WKAudioFileQueuePlayer : WKAudioFilePlayer { convenience init(items items: [WKAudioFilePlayerItem]) class func queuePlayerWithItems(_ items: [WKAudioFilePlayerItem]) -> Self func advanceToNextItem() func appendItem(_ item: WKAudioFilePlayerItem) func removeItem(_ item: WKAudioFilePlayerItem) func removeAllItems() var items: [WKAudioFilePlayerItem] { get } } |
To | class WKAudioFileQueuePlayer : WKAudioFilePlayer { convenience init(items items: [WKAudioFilePlayerItem]) class func withItems(_ items: [WKAudioFilePlayerItem]) -> Self func advanceToNextItem() func appendItem(_ item: WKAudioFilePlayerItem) func removeItem(_ item: WKAudioFilePlayerItem) func removeAllItems() var items: [WKAudioFilePlayerItem] { get } } |
Modified WKAudioRecorderPreset [enum]
Declaration | |
---|---|
From | enum WKAudioRecorderPreset : Int { case NarrowBandSpeech case WideBandSpeech case HighQualityAudio } |
To | enum WKAudioRecorderPreset : Int { case narrowBandSpeech case wideBandSpeech case highQualityAudio } |
Declaration | |
---|---|
From | case HighQualityAudio |
To | case highQualityAudio |
Declaration | |
---|---|
From | case NarrowBandSpeech |
To | case narrowBandSpeech |
Modified WKAudioRecorderPreset.wideBandSpeech
Declaration | |
---|---|
From | case WideBandSpeech |
To | case wideBandSpeech |
Modified WKExtension
Declaration | Protocols | |
---|---|---|
From | class WKExtension : NSObject { class func sharedExtension() -> WKExtension func openSystemURL(_ url: NSURL) weak var delegate: WKExtensionDelegate? var rootInterfaceController: WKInterfaceController? { get } } | -- |
To | class WKExtension : NSObject { class func shared() -> WKExtension func openSystemURL(_ url: URL) weak var delegate: WKExtensionDelegate? var rootInterfaceController: WKInterfaceController? { get } var applicationState: WKApplicationState { get } func scheduleBackgroundRefresh(withPreferredDate preferredFireDate: Date, userInfo userInfo: NSSecureCoding?, scheduledCompletion scheduledCompletion: @escaping (Error?) -> Swift.Void) func scheduleSnapshotRefresh(withPreferredDate preferredFireDate: Date, userInfo userInfo: NSSecureCoding?, scheduledCompletion scheduledCompletion: @escaping (Error?) -> Swift.Void) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? } extension WKExtension { func scheduleBackgroundRefresh(withPreferredDate preferredFireDate: Date, userInfo userInfo: NSSecureCoding?, scheduledCompletion scheduledCompletion: @escaping (Error?) -> Swift.Void) func scheduleSnapshotRefresh(withPreferredDate preferredFireDate: Date, userInfo userInfo: NSSecureCoding?, scheduledCompletion scheduledCompletion: @escaping (Error?) -> Swift.Void) } extension WKExtension : CVarArg { } extension WKExtension : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Modified WKExtension.openSystemURL(_: URL)
Declaration | |
---|---|
From | func openSystemURL(_ url: NSURL) |
To | func openSystemURL(_ url: URL) |
Declaration | |
---|---|
From | class func sharedExtension() -> WKExtension |
To | class func shared() -> WKExtension |
Modified WKExtensionDelegate
Declaration | |
---|---|
From | protocol WKExtensionDelegate : NSObjectProtocol { optional func applicationDidFinishLaunching() optional func applicationDidBecomeActive() optional func applicationWillResignActive() optional func handleActionWithIdentifier(_ identifier: String?, forRemoteNotification remoteNotification: [NSObject : AnyObject]) optional func handleActionWithIdentifier(_ identifier: String?, forLocalNotification localNotification: UILocalNotification) optional func handleActionWithIdentifier(_ identifier: String?, forRemoteNotification remoteNotification: [NSObject : AnyObject], withResponseInfo responseInfo: [NSObject : AnyObject]) optional func handleActionWithIdentifier(_ identifier: String?, forLocalNotification localNotification: UILocalNotification, withResponseInfo responseInfo: [NSObject : AnyObject]) optional func handleUserActivity(_ userInfo: [NSObject : AnyObject]?) optional func didReceiveRemoteNotification(_ userInfo: [NSObject : AnyObject]) optional func didReceiveLocalNotification(_ notification: UILocalNotification) } |
To | protocol WKExtensionDelegate : NSObjectProtocol { optional func applicationDidFinishLaunching() optional func applicationDidBecomeActive() optional func applicationWillResignActive() optional func applicationWillEnterForeground() optional func applicationDidEnterBackground() optional func handle(_ workoutConfiguration: HKWorkoutConfiguration) optional func handleUserActivity(_ userInfo: [AnyHashable : Any]?) optional func handle(_ backgroundTasks: Set<WKRefreshBackgroundTask>) optional func handleAction(withIdentifier identifier: String?, forRemoteNotification remoteNotification: [AnyHashable : Any]) optional func handleAction(withIdentifier identifier: String?, for localNotification: UILocalNotification) optional func handleAction(withIdentifier identifier: String?, forRemoteNotification remoteNotification: [AnyHashable : Any], withResponseInfo responseInfo: [AnyHashable : Any]) optional func handleAction(withIdentifier identifier: String?, for localNotification: UILocalNotification, withResponseInfo responseInfo: [AnyHashable : Any]) optional func didReceiveRemoteNotification(_ userInfo: [AnyHashable : Any]) optional func didReceive(_ notification: UILocalNotification) } |
Declaration | |
---|---|
From | optional func didReceiveLocalNotification(_ notification: UILocalNotification) |
To | optional func didReceive(_ notification: UILocalNotification) |
Declaration | |
---|---|
From | optional func didReceiveRemoteNotification(_ userInfo: [NSObject : AnyObject]) |
To | optional func didReceiveRemoteNotification(_ userInfo: [AnyHashable : Any]) |
Declaration | |
---|---|
From | optional func handleActionWithIdentifier(_ identifier: String?, forLocalNotification localNotification: UILocalNotification) |
To | optional func handleAction(withIdentifier identifier: String?, for localNotification: UILocalNotification) |
Declaration | |
---|---|
From | optional func handleActionWithIdentifier(_ identifier: String?, forLocalNotification localNotification: UILocalNotification, withResponseInfo responseInfo: [NSObject : AnyObject]) |
To | optional func handleAction(withIdentifier identifier: String?, for localNotification: UILocalNotification, withResponseInfo responseInfo: [AnyHashable : Any]) |
Declaration | |
---|---|
From | optional func handleActionWithIdentifier(_ identifier: String?, forRemoteNotification remoteNotification: [NSObject : AnyObject]) |
To | optional func handleAction(withIdentifier identifier: String?, forRemoteNotification remoteNotification: [AnyHashable : Any]) |
Declaration | |
---|---|
From | optional func handleActionWithIdentifier(_ identifier: String?, forRemoteNotification remoteNotification: [NSObject : AnyObject], withResponseInfo responseInfo: [NSObject : AnyObject]) |
To | optional func handleAction(withIdentifier identifier: String?, forRemoteNotification remoteNotification: [AnyHashable : Any], withResponseInfo responseInfo: [AnyHashable : Any]) |
Declaration | |
---|---|
From | optional func handleUserActivity(_ userInfo: [NSObject : AnyObject]?) |
To | optional func handleUserActivity(_ userInfo: [AnyHashable : Any]?) |
Modified WKHapticType [enum]
Declaration | |
---|---|
From | enum WKHapticType : Int { case Notification case DirectionUp case DirectionDown case Success case Failure case Retry case Start case Stop case Click } |
To | enum WKHapticType : Int { case notification case directionUp case directionDown case success case failure case retry case start case stop case click } |
Modified WKHapticType.click
Declaration | |
---|---|
From | case Click |
To | case click |
Modified WKHapticType.directionDown
Declaration | |
---|---|
From | case DirectionDown |
To | case directionDown |
Modified WKHapticType.directionUp
Declaration | |
---|---|
From | case DirectionUp |
To | case directionUp |
Modified WKHapticType.failure
Declaration | |
---|---|
From | case Failure |
To | case failure |
Modified WKHapticType.notification
Declaration | |
---|---|
From | case Notification |
To | case notification |
Modified WKHapticType.retry
Declaration | |
---|---|
From | case Retry |
To | case retry |
Modified WKHapticType.start
Declaration | |
---|---|
From | case Start |
To | case start |
Modified WKHapticType.stop
Declaration | |
---|---|
From | case Stop |
To | case stop |
Modified WKHapticType.success
Declaration | |
---|---|
From | case Success |
To | case success |
Modified WKImage
Declaration | Protocols | |
---|---|---|
From | class WKImage : NSObject, NSCopying, NSSecureCoding { convenience init(image image: UIImage) class func imageWithImage(_ image: UIImage) -> Self convenience init(imageData imageData: NSData) class func imageWithImageData(_ imageData: NSData) -> Self convenience init(imageName imageName: String) class func imageWithImageName(_ imageName: String) -> Self init() var image: UIImage? { get } var imageData: NSData? { get } var imageName: String? { get } } | NSCopying, NSSecureCoding |
To | class WKImage : NSObject, NSCopying, NSSecureCoding { convenience init(image image: UIImage) class func withImage(_ image: UIImage) -> Self convenience init(imageData imageData: Data) class func withImageData(_ imageData: Data) -> Self convenience init(imageName imageName: String) class func withImageName(_ imageName: String) -> Self init() var image: UIImage? { get } var imageData: Data? { get } var imageName: String? { get } func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? } extension WKImage : CVarArg { } extension WKImage : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCopying, NSSecureCoding |
Modified WKImage.imageData
Declaration | |
---|---|
From | var imageData: NSData? { get } |
To | var imageData: Data? { get } |
Modified WKImage.init(imageData: Data)
Declaration | |
---|---|
From | convenience init(imageData imageData: NSData) |
To | convenience init(imageData imageData: Data) |
Modified WKImageAnimatable
Declaration | |
---|---|
From | protocol WKImageAnimatable : NSObjectProtocol { func startAnimating() func startAnimatingWithImagesInRange(_ imageRange: NSRange, duration duration: NSTimeInterval, repeatCount repeatCount: Int) func stopAnimating() } |
To | protocol WKImageAnimatable : NSObjectProtocol { func startAnimating() func startAnimatingWithImages(in imageRange: NSRange, duration duration: TimeInterval, repeatCount repeatCount: Int) func stopAnimating() } |
Modified WKImageAnimatable.startAnimatingWithImages(in: NSRange, duration: TimeInterval, repeatCount: Int)
Declaration | |
---|---|
From | func startAnimatingWithImagesInRange(_ imageRange: NSRange, duration duration: NSTimeInterval, repeatCount repeatCount: Int) |
To | func startAnimatingWithImages(in imageRange: NSRange, duration duration: TimeInterval, repeatCount repeatCount: Int) |
Modified WKInterfaceActivityRing
Declaration | Protocols | |
---|---|---|
From | class WKInterfaceActivityRing : WKInterfaceObject { func setActivitySummary(_ activitySummary: HKActivitySummary?, animated animated: Bool) } | -- |
To | class WKInterfaceActivityRing : WKInterfaceObject { func setActivitySummary(_ activitySummary: HKActivitySummary?, animated animated: Bool) func setAccessibilityIdentifier(_ accessibilityIdentifier: String?) func setAccessibilityLabel(_ accessibilityLabel: String?) func setAccessibilityHint(_ accessibilityHint: String?) func setAccessibilityValue(_ accessibilityValue: String?) func setIsAccessibilityElement(_ isAccessibilityElement: Bool) func setAccessibilityTraits(_ accessibilityTraits: UIAccessibilityTraits) func setAccessibilityImageRegions(_ accessibilityImageRegions: [WKAccessibilityImageRegion]) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? } extension WKInterfaceActivityRing : CVarArg { } extension WKInterfaceActivityRing : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Modified WKInterfaceButton
Declaration | Protocols | |
---|---|---|
From | class WKInterfaceButton : WKInterfaceObject { func setTitle(_ title: String?) func setAttributedTitle(_ attributedTitle: NSAttributedString?) func setBackgroundColor(_ color: UIColor?) func setBackgroundImage(_ image: UIImage?) func setBackgroundImageData(_ imageData: NSData?) func setBackgroundImageNamed(_ imageName: String?) func setEnabled(_ enabled: Bool) } | -- |
To | class WKInterfaceButton : WKInterfaceObject { func setTitle(_ title: String?) func setAttributedTitle(_ attributedTitle: NSAttributedString?) func setBackgroundColor(_ color: UIColor?) func setBackgroundImage(_ image: UIImage?) func setBackgroundImageData(_ imageData: Data?) func setBackgroundImageNamed(_ imageName: String?) func setEnabled(_ enabled: Bool) func setAccessibilityIdentifier(_ accessibilityIdentifier: String?) func setAccessibilityLabel(_ accessibilityLabel: String?) func setAccessibilityHint(_ accessibilityHint: String?) func setAccessibilityValue(_ accessibilityValue: String?) func setIsAccessibilityElement(_ isAccessibilityElement: Bool) func setAccessibilityTraits(_ accessibilityTraits: UIAccessibilityTraits) func setAccessibilityImageRegions(_ accessibilityImageRegions: [WKAccessibilityImageRegion]) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? } extension WKInterfaceButton : CVarArg { } extension WKInterfaceButton : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | func setBackgroundImageData(_ imageData: NSData?) |
To | func setBackgroundImageData(_ imageData: Data?) |
Modified WKInterfaceController
Declaration | Protocols | |
---|---|---|
From | class WKInterfaceController : NSObject { init() func awakeWithContext(_ context: AnyObject?) var contentFrame: CGRect { get } func willActivate() func didDeactivate() func didAppear() func willDisappear() func pickerDidFocus(_ picker: WKInterfacePicker) func pickerDidResignFocus(_ picker: WKInterfacePicker) func pickerDidSettle(_ picker: WKInterfacePicker) func table(_ table: WKInterfaceTable, didSelectRowAtIndex rowIndex: Int) func handleActionWithIdentifier(_ identifier: String?, forRemoteNotification remoteNotification: [NSObject : AnyObject]) func handleActionWithIdentifier(_ identifier: String?, forLocalNotification localNotification: UILocalNotification) func handleUserActivity(_ userInfo: [NSObject : AnyObject]?) func setTitle(_ title: String?) func pushControllerWithName(_ name: String, context context: AnyObject?) func popController() func popToRootController() class func reloadRootControllersWithNames(_ names: [String], contexts contexts: [AnyObject]?) func becomeCurrentPage() func presentControllerWithName(_ name: String, context context: AnyObject?) func presentControllerWithNames(_ names: [String], contexts contexts: [AnyObject]?) func dismissController() func presentTextInputControllerWithSuggestions(_ suggestions: [String]?, allowedInputMode inputMode: WKTextInputMode, completion completion: ([AnyObject]?) -> Void) func presentTextInputControllerWithSuggestionsForLanguage(_ suggestionsHandler: ((String) -> [AnyObject]?)?, allowedInputMode inputMode: WKTextInputMode, completion completion: ([AnyObject]?) -> Void) func dismissTextInputController() func presentMediaPlayerControllerWithURL(_ URL: NSURL, options options: [NSObject : AnyObject]?, completion completion: (Bool, NSTimeInterval, NSError?) -> Void) func dismissMediaPlayerController() func presentAudioRecorderControllerWithOutputURL(_ URL: NSURL, preset preset: WKAudioRecorderPreset, options options: [NSObject : AnyObject]?, completion completion: (Bool, NSError?) -> Void) func dismissAudioRecorderController() func contextForSegueWithIdentifier(_ segueIdentifier: String) -> AnyObject? func contextsForSegueWithIdentifier(_ segueIdentifier: String) -> [AnyObject]? func contextForSegueWithIdentifier(_ segueIdentifier: String, inTable table: WKInterfaceTable, rowIndex rowIndex: Int) -> AnyObject? func contextsForSegueWithIdentifier(_ segueIdentifier: String, inTable table: WKInterfaceTable, rowIndex rowIndex: Int) -> [AnyObject]? func animateWithDuration(_ duration: NSTimeInterval, animations animations: () -> Void) func presentAlertControllerWithTitle(_ title: String?, message message: String?, preferredStyle preferredStyle: WKAlertControllerStyle, actions actions: [WKAlertAction]) func presentAddPassesControllerWithPasses(_ passes: [PKPass], completion completion: () -> Void) func dismissAddPassesController() func addMenuItemWithImage(_ image: UIImage, title title: String, action action: Selector) func addMenuItemWithImageNamed(_ imageName: String, title title: String, action action: Selector) func addMenuItemWithItemIcon(_ itemIcon: WKMenuItemIcon, title title: String, action action: Selector) func clearAllMenuItems() func updateUserActivity(_ type: String, userInfo userInfo: [NSObject : AnyObject]?, webpageURL webpageURL: NSURL?) func invalidateUserActivity() class func openParentApplication(_ userInfo: [NSObject : AnyObject], reply reply: (([NSObject : AnyObject], NSError?) -> Void)?) -> Bool func beginGlanceUpdates() func endGlanceUpdates() } extension WKInterfaceController { class func reloadRootControllers(_ namesAndContexts: [(name: String, context: AnyObject)]) func presentController(_ namesAndContexts: [(name: String, context: AnyObject)]) } extension WKInterfaceController { class func reloadRootControllers(_ namesAndContexts: [(name: String, context: AnyObject)]) func presentController(_ namesAndContexts: [(name: String, context: AnyObject)]) } | -- |
To | class WKInterfaceController : NSObject { init() func awake(withContext context: Any?) var contentFrame: CGRect { get } var crownSequencer: WKCrownSequencer { get } func willActivate() func didDeactivate() func didAppear() func willDisappear() func pickerDidFocus(_ picker: WKInterfacePicker) func pickerDidResignFocus(_ picker: WKInterfacePicker) func pickerDidSettle(_ picker: WKInterfacePicker) func table(_ table: WKInterfaceTable, didSelectRowAt rowIndex: Int) func handleAction(withIdentifier identifier: String?, for notification: UNNotification) func handleUserActivity(_ userInfo: [AnyHashable : Any]?) func setTitle(_ title: String?) func pushController(withName name: String, context context: Any?) func pop() func popToRootController() class func reloadRootControllers(withNames names: [String], contexts contexts: [Any]?) func becomeCurrentPage() func presentController(withName name: String, context context: Any?) func presentController(withNames names: [String], contexts contexts: [Any]?) func dismiss() func presentTextInputController(withSuggestions suggestions: [String]?, allowedInputMode inputMode: WKTextInputMode, completion completion: @escaping ([Any]?) -> Swift.Void) func presentTextInputControllerWithSuggestions(forLanguage suggestionsHandler: (@escaping (String) -> [Any]?)?, allowedInputMode inputMode: WKTextInputMode, completion completion: @escaping ([Any]?) -> Swift.Void) func dismissTextInputController() func presentMediaPlayerController(with URL: URL, options options: [AnyHashable : Any]? = nil, completion completion: @escaping (Bool, TimeInterval, Error?) -> Swift.Void) func dismissMediaPlayerController() func presentAudioRecorderController(withOutputURL URL: URL, preset preset: WKAudioRecorderPreset, options options: [AnyHashable : Any]? = nil, completion completion: @escaping (Bool, Error?) -> Swift.Void) func dismissAudioRecorderController() func contextForSegue(withIdentifier segueIdentifier: String) -> Any? func contextsForSegue(withIdentifier segueIdentifier: String) -> [Any]? func contextForSegue(withIdentifier segueIdentifier: String, in table: WKInterfaceTable, rowIndex rowIndex: Int) -> Any? func contextsForSegue(withIdentifier segueIdentifier: String, in table: WKInterfaceTable, rowIndex rowIndex: Int) -> [Any]? func animate(withDuration duration: TimeInterval, animations animations: @escaping () -> Swift.Void) func presentAlert(withTitle title: String?, message message: String?, preferredStyle preferredStyle: WKAlertControllerStyle, actions actions: [WKAlertAction]) func presentAddPassesController(withPasses passes: [PKPass], completion completion: @escaping () -> Swift.Void) func dismissAddPassesController() func addMenuItem(with image: UIImage, title title: String, action action: Selector) func addMenuItem(withImageNamed imageName: String, title title: String, action action: Selector) func addMenuItem(with itemIcon: WKMenuItemIcon, title title: String, action action: Selector) func clearAllMenuItems() func updateUserActivity(_ type: String, userInfo userInfo: [AnyHashable : Any]? = nil, webpageURL webpageURL: URL?) func invalidateUserActivity() class func openParentApplication(_ userInfo: [AnyHashable : Any], reply reply: (@escaping ([AnyHashable : Any], Error?) -> Swift.Void)? = nil) -> Bool func beginGlanceUpdates() func endGlanceUpdates() func handleAction(withIdentifier identifier: String?, forRemoteNotification remoteNotification: [AnyHashable : Any]) func handleAction(withIdentifier identifier: String?, for localNotification: UILocalNotification) @nonobjc final class func reloadRootControllers(_ namesAndContexts: [(name: String, context: AnyObject)]) class func reloadRootControllers(withNamesAndContexts namesAndContexts: [(name: String, context: AnyObject)]) @nonobjc final func presentController(_ namesAndContexts: [(name: String, context: AnyObject)]) func presentController(withNamesAndContexts namesAndContexts: [(name: String, context: AnyObject)]) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? } extension WKInterfaceController : CVarArg { } extension WKInterfaceController : Equatable, Hashable { var hashValue: Int { get } } extension WKInterfaceController { @nonobjc final class func reloadRootControllers(_ namesAndContexts: [(name: String, context: AnyObject)]) class func reloadRootControllers(withNamesAndContexts namesAndContexts: [(name: String, context: AnyObject)]) @nonobjc final func presentController(_ namesAndContexts: [(name: String, context: AnyObject)]) func presentController(withNamesAndContexts namesAndContexts: [(name: String, context: AnyObject)]) } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | func addMenuItemWithImage(_ image: UIImage, title title: String, action action: Selector) |
To | func addMenuItem(with image: UIImage, title title: String, action action: Selector) |
Declaration | |
---|---|
From | func addMenuItemWithItemIcon(_ itemIcon: WKMenuItemIcon, title title: String, action action: Selector) |
To | func addMenuItem(with itemIcon: WKMenuItemIcon, title title: String, action action: Selector) |
Declaration | |
---|---|
From | func addMenuItemWithImageNamed(_ imageName: String, title title: String, action action: Selector) |
To | func addMenuItem(withImageNamed imageName: String, title title: String, action action: Selector) |
Declaration | |
---|---|
From | func animateWithDuration(_ duration: NSTimeInterval, animations animations: () -> Void) |
To | func animate(withDuration duration: TimeInterval, animations animations: @escaping () -> Swift.Void) |
Declaration | |
---|---|
From | func awakeWithContext(_ context: AnyObject?) |
To | func awake(withContext context: Any?) |
Declaration | |
---|---|
From | func contextForSegueWithIdentifier(_ segueIdentifier: String) -> AnyObject? |
To | func contextForSegue(withIdentifier segueIdentifier: String) -> Any? |
Declaration | |
---|---|
From | func contextForSegueWithIdentifier(_ segueIdentifier: String, inTable table: WKInterfaceTable, rowIndex rowIndex: Int) -> AnyObject? |
To | func contextForSegue(withIdentifier segueIdentifier: String, in table: WKInterfaceTable, rowIndex rowIndex: Int) -> Any? |
Declaration | |
---|---|
From | func contextsForSegueWithIdentifier(_ segueIdentifier: String) -> [AnyObject]? |
To | func contextsForSegue(withIdentifier segueIdentifier: String) -> [Any]? |
Declaration | |
---|---|
From | func contextsForSegueWithIdentifier(_ segueIdentifier: String, inTable table: WKInterfaceTable, rowIndex rowIndex: Int) -> [AnyObject]? |
To | func contextsForSegue(withIdentifier segueIdentifier: String, in table: WKInterfaceTable, rowIndex rowIndex: Int) -> [Any]? |
Modified WKInterfaceController.dismiss()
Declaration | |
---|---|
From | func dismissController() |
To | func dismiss() |
Declaration | |
---|---|
From | func handleActionWithIdentifier(_ identifier: String?, forLocalNotification localNotification: UILocalNotification) |
To | func handleAction(withIdentifier identifier: String?, for localNotification: UILocalNotification) |
Declaration | |
---|---|
From | func handleActionWithIdentifier(_ identifier: String?, forRemoteNotification remoteNotification: [NSObject : AnyObject]) |
To | func handleAction(withIdentifier identifier: String?, forRemoteNotification remoteNotification: [AnyHashable : Any]) |
Declaration | |
---|---|
From | func handleUserActivity(_ userInfo: [NSObject : AnyObject]?) |
To | func handleUserActivity(_ userInfo: [AnyHashable : Any]?) |
Modified WKInterfaceController.pop()
Declaration | |
---|---|
From | func popController() |
To | func pop() |
Modified WKInterfaceController.presentAddPassesController(withPasses: [PKPass], completion: () -> Swift.Void)
Declaration | |
---|---|
From | func presentAddPassesControllerWithPasses(_ passes: [PKPass], completion completion: () -> Void) |
To | func presentAddPassesController(withPasses passes: [PKPass], completion completion: @escaping () -> Swift.Void) |
Declaration | |
---|---|
From | func presentAlertControllerWithTitle(_ title: String?, message message: String?, preferredStyle preferredStyle: WKAlertControllerStyle, actions actions: [WKAlertAction]) |
To | func presentAlert(withTitle title: String?, message message: String?, preferredStyle preferredStyle: WKAlertControllerStyle, actions actions: [WKAlertAction]) |
Declaration | |
---|---|
From | func presentAudioRecorderControllerWithOutputURL(_ URL: NSURL, preset preset: WKAudioRecorderPreset, options options: [NSObject : AnyObject]?, completion completion: (Bool, NSError?) -> Void) |
To | func presentAudioRecorderController(withOutputURL URL: URL, preset preset: WKAudioRecorderPreset, options options: [AnyHashable : Any]? = nil, completion completion: @escaping (Bool, Error?) -> Swift.Void) |
Declaration | Deprecation | |
---|---|---|
From | func presentController(_ namesAndContexts: [(name: String, context: AnyObject)]) | -- |
To | @nonobjc final func presentController(_ namesAndContexts: [(name: String, context: AnyObject)]) | watchOS 3.0 |
Declaration | |
---|---|
From | func presentControllerWithName(_ name: String, context context: AnyObject?) |
To | func presentController(withName name: String, context context: Any?) |
Declaration | |
---|---|
From | func presentControllerWithNames(_ names: [String], contexts contexts: [AnyObject]?) |
To | func presentController(withNames names: [String], contexts contexts: [Any]?) |
Declaration | |
---|---|
From | func presentMediaPlayerControllerWithURL(_ URL: NSURL, options options: [NSObject : AnyObject]?, completion completion: (Bool, NSTimeInterval, NSError?) -> Void) |
To | func presentMediaPlayerController(with URL: URL, options options: [AnyHashable : Any]? = nil, completion completion: @escaping (Bool, TimeInterval, Error?) -> Swift.Void) |
Declaration | |
---|---|
From | func presentTextInputControllerWithSuggestions(_ suggestions: [String]?, allowedInputMode inputMode: WKTextInputMode, completion completion: ([AnyObject]?) -> Void) |
To | func presentTextInputController(withSuggestions suggestions: [String]?, allowedInputMode inputMode: WKTextInputMode, completion completion: @escaping ([Any]?) -> Swift.Void) |
Declaration | |
---|---|
From | func presentTextInputControllerWithSuggestionsForLanguage(_ suggestionsHandler: ((String) -> [AnyObject]?)?, allowedInputMode inputMode: WKTextInputMode, completion completion: ([AnyObject]?) -> Void) |
To | func presentTextInputControllerWithSuggestions(forLanguage suggestionsHandler: (@escaping (String) -> [Any]?)?, allowedInputMode inputMode: WKTextInputMode, completion completion: @escaping ([Any]?) -> Swift.Void) |
Declaration | |
---|---|
From | func pushControllerWithName(_ name: String, context context: AnyObject?) |
To | func pushController(withName name: String, context context: Any?) |
Declaration | |
---|---|
From | class func reloadRootControllersWithNames(_ names: [String], contexts contexts: [AnyObject]?) |
To | class func reloadRootControllers(withNames names: [String], contexts contexts: [Any]?) |
Declaration | |
---|---|
From | func table(_ table: WKInterfaceTable, didSelectRowAtIndex rowIndex: Int) |
To | func table(_ table: WKInterfaceTable, didSelectRowAt rowIndex: Int) |
Declaration | |
---|---|
From | func updateUserActivity(_ type: String, userInfo userInfo: [NSObject : AnyObject]?, webpageURL webpageURL: NSURL?) |
To | func updateUserActivity(_ type: String, userInfo userInfo: [AnyHashable : Any]? = nil, webpageURL webpageURL: URL?) |
Modified WKInterfaceDate
Declaration | Protocols | |
---|---|---|
From | class WKInterfaceDate : WKInterfaceObject { func setTextColor(_ color: UIColor?) func setTimeZone(_ timeZone: NSTimeZone?) func setCalendar(_ calendar: NSCalendar?) } | -- |
To | class WKInterfaceDate : WKInterfaceObject { func setTextColor(_ color: UIColor?) func setTimeZone(_ timeZone: TimeZone?) func setCalendar(_ calendar: Calendar?) func setAccessibilityIdentifier(_ accessibilityIdentifier: String?) func setAccessibilityLabel(_ accessibilityLabel: String?) func setAccessibilityHint(_ accessibilityHint: String?) func setAccessibilityValue(_ accessibilityValue: String?) func setIsAccessibilityElement(_ isAccessibilityElement: Bool) func setAccessibilityTraits(_ accessibilityTraits: UIAccessibilityTraits) func setAccessibilityImageRegions(_ accessibilityImageRegions: [WKAccessibilityImageRegion]) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? } extension WKInterfaceDate : CVarArg { } extension WKInterfaceDate : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | func setCalendar(_ calendar: NSCalendar?) |
To | func setCalendar(_ calendar: Calendar?) |
Declaration | |
---|---|
From | func setTimeZone(_ timeZone: NSTimeZone?) |
To | func setTimeZone(_ timeZone: TimeZone?) |
Modified WKInterfaceDevice
Declaration | Protocols | |
---|---|---|
From | class WKInterfaceDevice : NSObject { class func currentDevice() -> WKInterfaceDevice func addCachedImage(_ image: UIImage, name name: String) -> Bool func addCachedImageWithData(_ imageData: NSData, name name: String) -> Bool func removeCachedImageWithName(_ name: String) func removeAllCachedImages() var cachedImages: [String : NSNumber] { get } var screenBounds: CGRect { get } var screenScale: CGFloat { get } var preferredContentSizeCategory: String { get } var layoutDirection: WKInterfaceLayoutDirection { get } class func interfaceLayoutDirectionForSemanticContentAttribute(_ semanticContentAttribute: WKInterfaceSemanticContentAttribute) -> WKInterfaceLayoutDirection var systemVersion: String { get } var name: String { get } var model: String { get } var localizedModel: String { get } var systemName: String { get } func playHaptic(_ type: WKHapticType) } | -- |
To | class WKInterfaceDevice : NSObject { class func current() -> WKInterfaceDevice func addCachedImage(_ image: UIImage, name name: String) -> Bool func addCachedImage(with imageData: Data, name name: String) -> Bool func removeCachedImage(withName name: String) func removeAllCachedImages() var cachedImages: [String : NSNumber] { get } var screenBounds: CGRect { get } var screenScale: CGFloat { get } var preferredContentSizeCategory: String { get } var layoutDirection: WKInterfaceLayoutDirection { get } var wristLocation: WKInterfaceDeviceWristLocation { get } var crownOrientation: WKInterfaceDeviceCrownOrientation { get } class func interfaceLayoutDirection(for semanticContentAttribute: WKInterfaceSemanticContentAttribute) -> WKInterfaceLayoutDirection var systemVersion: String { get } var name: String { get } var model: String { get } var localizedModel: String { get } var systemName: String { get } var waterResistanceRating: WKWaterResistanceRating { get } func play(_ type: WKHapticType) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? } extension WKInterfaceDevice : CVarArg { } extension WKInterfaceDevice : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | class func currentDevice() -> WKInterfaceDevice |
To | class func current() -> WKInterfaceDevice |
Declaration | |
---|---|
From | class func interfaceLayoutDirectionForSemanticContentAttribute(_ semanticContentAttribute: WKInterfaceSemanticContentAttribute) -> WKInterfaceLayoutDirection |
To | class func interfaceLayoutDirection(for semanticContentAttribute: WKInterfaceSemanticContentAttribute) -> WKInterfaceLayoutDirection |
Declaration | |
---|---|
From | func playHaptic(_ type: WKHapticType) |
To | func play(_ type: WKHapticType) |
Modified WKInterfaceGroup
Declaration | Protocols | |
---|---|---|
From | class WKInterfaceGroup : WKInterfaceObject, WKImageAnimatable { func setCornerRadius(_ cornerRadius: CGFloat) func setContentInset(_ contentInset: UIEdgeInsets) func setBackgroundColor(_ color: UIColor?) func setBackgroundImage(_ image: UIImage?) func setBackgroundImageData(_ imageData: NSData?) func setBackgroundImageNamed(_ imageName: String?) } | WKImageAnimatable |
To | class WKInterfaceGroup : WKInterfaceObject, WKImageAnimatable { func setCornerRadius(_ cornerRadius: CGFloat) func setContentInset(_ contentInset: UIEdgeInsets) func setBackgroundColor(_ color: UIColor?) func setBackgroundImage(_ image: UIImage?) func setBackgroundImageData(_ imageData: Data?) func setBackgroundImageNamed(_ imageName: String?) func setAccessibilityIdentifier(_ accessibilityIdentifier: String?) func setAccessibilityLabel(_ accessibilityLabel: String?) func setAccessibilityHint(_ accessibilityHint: String?) func setAccessibilityValue(_ accessibilityValue: String?) func setIsAccessibilityElement(_ isAccessibilityElement: Bool) func setAccessibilityTraits(_ accessibilityTraits: UIAccessibilityTraits) func setAccessibilityImageRegions(_ accessibilityImageRegions: [WKAccessibilityImageRegion]) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? } extension WKInterfaceGroup : CVarArg { } extension WKInterfaceGroup : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, WKImageAnimatable |
Declaration | |
---|---|
From | func setBackgroundImageData(_ imageData: NSData?) |
To | func setBackgroundImageData(_ imageData: Data?) |
Modified WKInterfaceImage
Declaration | Protocols | |
---|---|---|
From | class WKInterfaceImage : WKInterfaceObject, WKImageAnimatable { func setImage(_ image: UIImage?) func setImageData(_ imageData: NSData?) func setImageNamed(_ imageName: String?) func setTintColor(_ tintColor: UIColor?) } | WKImageAnimatable |
To | class WKInterfaceImage : WKInterfaceObject, WKImageAnimatable { func setImage(_ image: UIImage?) func setImageData(_ imageData: Data?) func setImageNamed(_ imageName: String?) func setTintColor(_ tintColor: UIColor?) func setAccessibilityIdentifier(_ accessibilityIdentifier: String?) func setAccessibilityLabel(_ accessibilityLabel: String?) func setAccessibilityHint(_ accessibilityHint: String?) func setAccessibilityValue(_ accessibilityValue: String?) func setIsAccessibilityElement(_ isAccessibilityElement: Bool) func setAccessibilityTraits(_ accessibilityTraits: UIAccessibilityTraits) func setAccessibilityImageRegions(_ accessibilityImageRegions: [WKAccessibilityImageRegion]) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? } extension WKInterfaceImage : CVarArg { } extension WKInterfaceImage : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, WKImageAnimatable |
Declaration | |
---|---|
From | func setImageData(_ imageData: NSData?) |
To | func setImageData(_ imageData: Data?) |
Modified WKInterfaceLabel
Declaration | Protocols | |
---|---|---|
From | class WKInterfaceLabel : WKInterfaceObject { func setText(_ text: String?) func setTextColor(_ color: UIColor?) func setAttributedText(_ attributedText: NSAttributedString?) } | -- |
To | class WKInterfaceLabel : WKInterfaceObject { func setText(_ text: String?) func setTextColor(_ color: UIColor?) func setAttributedText(_ attributedText: NSAttributedString?) func setAccessibilityIdentifier(_ accessibilityIdentifier: String?) func setAccessibilityLabel(_ accessibilityLabel: String?) func setAccessibilityHint(_ accessibilityHint: String?) func setAccessibilityValue(_ accessibilityValue: String?) func setIsAccessibilityElement(_ isAccessibilityElement: Bool) func setAccessibilityTraits(_ accessibilityTraits: UIAccessibilityTraits) func setAccessibilityImageRegions(_ accessibilityImageRegions: [WKAccessibilityImageRegion]) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? } extension WKInterfaceLabel : CVarArg { } extension WKInterfaceLabel : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Modified WKInterfaceLayoutDirection [enum]
Declaration | |
---|---|
From | enum WKInterfaceLayoutDirection : Int { case LeftToRight case RightToLeft } |
To | enum WKInterfaceLayoutDirection : Int { case leftToRight case rightToLeft } |
Declaration | |
---|---|
From | case LeftToRight |
To | case leftToRight |
Declaration | |
---|---|
From | case RightToLeft |
To | case rightToLeft |
Modified WKInterfaceMap
Declaration | Protocols | |
---|---|---|
From | class WKInterfaceMap : WKInterfaceObject { func setVisibleMapRect(_ mapRect: MKMapRect) func setRegion(_ coordinateRegion: MKCoordinateRegion) func addAnnotation(_ location: CLLocationCoordinate2D, withImage image: UIImage?, centerOffset offset: CGPoint) func addAnnotation(_ location: CLLocationCoordinate2D, withImageNamed name: String?, centerOffset offset: CGPoint) func addAnnotation(_ location: CLLocationCoordinate2D, withPinColor pinColor: WKInterfaceMapPinColor) func removeAllAnnotations() } | -- |
To | class WKInterfaceMap : WKInterfaceObject { func setVisibleMapRect(_ mapRect: MKMapRect) func setRegion(_ coordinateRegion: MKCoordinateRegion) func addAnnotation(_ location: CLLocationCoordinate2D, with image: UIImage?, centerOffset offset: CGPoint) func addAnnotation(_ location: CLLocationCoordinate2D, withImageNamed name: String?, centerOffset offset: CGPoint) func addAnnotation(_ location: CLLocationCoordinate2D, with pinColor: WKInterfaceMapPinColor) func removeAllAnnotations() func setAccessibilityIdentifier(_ accessibilityIdentifier: String?) func setAccessibilityLabel(_ accessibilityLabel: String?) func setAccessibilityHint(_ accessibilityHint: String?) func setAccessibilityValue(_ accessibilityValue: String?) func setIsAccessibilityElement(_ isAccessibilityElement: Bool) func setAccessibilityTraits(_ accessibilityTraits: UIAccessibilityTraits) func setAccessibilityImageRegions(_ accessibilityImageRegions: [WKAccessibilityImageRegion]) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? } extension WKInterfaceMap : CVarArg { } extension WKInterfaceMap : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | func addAnnotation(_ location: CLLocationCoordinate2D, withPinColor pinColor: WKInterfaceMapPinColor) |
To | func addAnnotation(_ location: CLLocationCoordinate2D, with pinColor: WKInterfaceMapPinColor) |
Modified WKInterfaceMap.addAnnotation(_: CLLocationCoordinate2D, with: UIImage?, centerOffset: CGPoint)
Declaration | |
---|---|
From | func addAnnotation(_ location: CLLocationCoordinate2D, withImage image: UIImage?, centerOffset offset: CGPoint) |
To | func addAnnotation(_ location: CLLocationCoordinate2D, with image: UIImage?, centerOffset offset: CGPoint) |
Modified WKInterfaceMapPinColor [enum]
Declaration | |
---|---|
From | enum WKInterfaceMapPinColor : Int { case Red case Green case Purple } |
To | enum WKInterfaceMapPinColor : Int { case red case green case purple } |
Modified WKInterfaceMapPinColor.green
Declaration | |
---|---|
From | case Green |
To | case green |
Modified WKInterfaceMapPinColor.purple
Declaration | |
---|---|
From | case Purple |
To | case purple |
Modified WKInterfaceMapPinColor.red
Declaration | |
---|---|
From | case Red |
To | case red |
Modified WKInterfaceMovie
Declaration | Protocols | |
---|---|---|
From | class WKInterfaceMovie : WKInterfaceObject { func setMovieURL(_ URL: NSURL) func setVideoGravity(_ videoGravity: WKVideoGravity) func setLoops(_ loops: Bool) func setPosterImage(_ posterImage: WKImage?) } | -- |
To | class WKInterfaceMovie : WKInterfaceObject { func setMovieURL(_ URL: URL) func setVideoGravity(_ videoGravity: WKVideoGravity) func setLoops(_ loops: Bool) func setPosterImage(_ posterImage: WKImage?) func setAccessibilityIdentifier(_ accessibilityIdentifier: String?) func setAccessibilityLabel(_ accessibilityLabel: String?) func setAccessibilityHint(_ accessibilityHint: String?) func setAccessibilityValue(_ accessibilityValue: String?) func setIsAccessibilityElement(_ isAccessibilityElement: Bool) func setAccessibilityTraits(_ accessibilityTraits: UIAccessibilityTraits) func setAccessibilityImageRegions(_ accessibilityImageRegions: [WKAccessibilityImageRegion]) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? } extension WKInterfaceMovie : CVarArg { } extension WKInterfaceMovie : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Modified WKInterfaceMovie.setMovieURL(_: URL)
Declaration | |
---|---|
From | func setMovieURL(_ URL: NSURL) |
To | func setMovieURL(_ URL: URL) |
Modified WKInterfaceObject
Declaration | Protocols | |
---|---|---|
From | class WKInterfaceObject : NSObject { init() func setHidden(_ hidden: Bool) func setAlpha(_ alpha: CGFloat) func setSemanticContentAttribute(_ semanticContentAttribute: WKInterfaceSemanticContentAttribute) func setHorizontalAlignment(_ horizontalAlignment: WKInterfaceObjectHorizontalAlignment) func setVerticalAlignment(_ verticalAlignment: WKInterfaceObjectVerticalAlignment) func setWidth(_ width: CGFloat) func setHeight(_ height: CGFloat) func setRelativeWidth(_ width: CGFloat, withAdjustment adjustment: CGFloat) func setRelativeHeight(_ height: CGFloat, withAdjustment adjustment: CGFloat) func sizeToFitWidth() func sizeToFitHeight() var interfaceProperty: String { get } } extension WKInterfaceObject { func setAccessibilityIdentifier(_ accessibilityIdentifier: String?) func setAccessibilityLabel(_ accessibilityLabel: String?) func setAccessibilityHint(_ accessibilityHint: String?) func setAccessibilityValue(_ accessibilityValue: String?) func setIsAccessibilityElement(_ isAccessibilityElement: Bool) func setAccessibilityTraits(_ accessibilityTraits: UIAccessibilityTraits) func setAccessibilityImageRegions(_ accessibilityImageRegions: [WKAccessibilityImageRegion]) } | -- |
To | class WKInterfaceObject : NSObject { init() func setHidden(_ hidden: Bool) func setAlpha(_ alpha: CGFloat) func setSemanticContentAttribute(_ semanticContentAttribute: WKInterfaceSemanticContentAttribute) func setHorizontalAlignment(_ horizontalAlignment: WKInterfaceObjectHorizontalAlignment) func setVerticalAlignment(_ verticalAlignment: WKInterfaceObjectVerticalAlignment) func setWidth(_ width: CGFloat) func setHeight(_ height: CGFloat) func setRelativeWidth(_ width: CGFloat, withAdjustment adjustment: CGFloat) func setRelativeHeight(_ height: CGFloat, withAdjustment adjustment: CGFloat) func sizeToFitWidth() func sizeToFitHeight() var interfaceProperty: String { get } func setAccessibilityIdentifier(_ accessibilityIdentifier: String?) func setAccessibilityLabel(_ accessibilityLabel: String?) func setAccessibilityHint(_ accessibilityHint: String?) func setAccessibilityValue(_ accessibilityValue: String?) func setIsAccessibilityElement(_ isAccessibilityElement: Bool) func setAccessibilityTraits(_ accessibilityTraits: UIAccessibilityTraits) func setAccessibilityImageRegions(_ accessibilityImageRegions: [WKAccessibilityImageRegion]) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? } extension WKInterfaceObject : CVarArg { } extension WKInterfaceObject : Equatable, Hashable { var hashValue: Int { get } } extension WKInterfaceObject { func setAccessibilityIdentifier(_ accessibilityIdentifier: String?) func setAccessibilityLabel(_ accessibilityLabel: String?) func setAccessibilityHint(_ accessibilityHint: String?) func setAccessibilityValue(_ accessibilityValue: String?) func setIsAccessibilityElement(_ isAccessibilityElement: Bool) func setAccessibilityTraits(_ accessibilityTraits: UIAccessibilityTraits) func setAccessibilityImageRegions(_ accessibilityImageRegions: [WKAccessibilityImageRegion]) } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | enum WKInterfaceObjectHorizontalAlignment : Int { case Left case Center case Right } |
To | enum WKInterfaceObjectHorizontalAlignment : Int { case left case center case right } |
Declaration | |
---|---|
From | case Center |
To | case center |
Declaration | |
---|---|
From | case Left |
To | case left |
Declaration | |
---|---|
From | case Right |
To | case right |
Declaration | |
---|---|
From | enum WKInterfaceObjectVerticalAlignment : Int { case Top case Center case Bottom } |
To | enum WKInterfaceObjectVerticalAlignment : Int { case top case center case bottom } |
Declaration | |
---|---|
From | case Bottom |
To | case bottom |
Declaration | |
---|---|
From | case Center |
To | case center |
Declaration | |
---|---|
From | case Top |
To | case top |
Modified WKInterfacePicker
Declaration | Protocols | |
---|---|---|
From | class WKInterfacePicker : WKInterfaceObject { func focus() func resignFocus() func setSelectedItemIndex(_ itemIndex: Int) func setItems(_ items: [WKPickerItem]?) func setCoordinatedAnimations(_ coordinatedAnimations: [WKInterfaceObject]?) func setEnabled(_ enabled: Bool) } | -- |
To | class WKInterfacePicker : WKInterfaceObject { func focus() func resignFocus() func setSelectedItemIndex(_ itemIndex: Int) func setItems(_ items: [WKPickerItem]?) func setCoordinatedAnimations(_ coordinatedAnimations: [WKInterfaceObject]?) func setEnabled(_ enabled: Bool) func setAccessibilityIdentifier(_ accessibilityIdentifier: String?) func setAccessibilityLabel(_ accessibilityLabel: String?) func setAccessibilityHint(_ accessibilityHint: String?) func setAccessibilityValue(_ accessibilityValue: String?) func setIsAccessibilityElement(_ isAccessibilityElement: Bool) func setAccessibilityTraits(_ accessibilityTraits: UIAccessibilityTraits) func setAccessibilityImageRegions(_ accessibilityImageRegions: [WKAccessibilityImageRegion]) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? } extension WKInterfacePicker : CVarArg { } extension WKInterfacePicker : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | enum WKInterfaceSemanticContentAttribute : Int { case Unspecified case Playback case Spatial case ForceLeftToRight case ForceRightToLeft } |
To | enum WKInterfaceSemanticContentAttribute : Int { case unspecified case playback case spatial case forceLeftToRight case forceRightToLeft } |
Declaration | |
---|---|
From | case ForceLeftToRight |
To | case forceLeftToRight |
Declaration | |
---|---|
From | case ForceRightToLeft |
To | case forceRightToLeft |
Declaration | |
---|---|
From | case Playback |
To | case playback |
Declaration | |
---|---|
From | case Spatial |
To | case spatial |
Declaration | |
---|---|
From | case Unspecified |
To | case unspecified |
Modified WKInterfaceSeparator
Declaration | Protocols | |
---|---|---|
From | class WKInterfaceSeparator : WKInterfaceObject { func setColor(_ color: UIColor?) } | -- |
To | class WKInterfaceSeparator : WKInterfaceObject { func setColor(_ color: UIColor?) func setAccessibilityIdentifier(_ accessibilityIdentifier: String?) func setAccessibilityLabel(_ accessibilityLabel: String?) func setAccessibilityHint(_ accessibilityHint: String?) func setAccessibilityValue(_ accessibilityValue: String?) func setIsAccessibilityElement(_ isAccessibilityElement: Bool) func setAccessibilityTraits(_ accessibilityTraits: UIAccessibilityTraits) func setAccessibilityImageRegions(_ accessibilityImageRegions: [WKAccessibilityImageRegion]) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? } extension WKInterfaceSeparator : CVarArg { } extension WKInterfaceSeparator : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Modified WKInterfaceSlider
Declaration | Protocols | |
---|---|---|
From | class WKInterfaceSlider : WKInterfaceObject { func setEnabled(_ enabled: Bool) func setValue(_ value: Float) func setColor(_ color: UIColor?) func setNumberOfSteps(_ numberOfSteps: Int) } | -- |
To | class WKInterfaceSlider : WKInterfaceObject { func setEnabled(_ enabled: Bool) func setValue(_ value: Float) func setColor(_ color: UIColor?) func setNumberOfSteps(_ numberOfSteps: Int) func setAccessibilityIdentifier(_ accessibilityIdentifier: String?) func setAccessibilityLabel(_ accessibilityLabel: String?) func setAccessibilityHint(_ accessibilityHint: String?) func setAccessibilityValue(_ accessibilityValue: String?) func setIsAccessibilityElement(_ isAccessibilityElement: Bool) func setAccessibilityTraits(_ accessibilityTraits: UIAccessibilityTraits) func setAccessibilityImageRegions(_ accessibilityImageRegions: [WKAccessibilityImageRegion]) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? } extension WKInterfaceSlider : CVarArg { } extension WKInterfaceSlider : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Modified WKInterfaceSwitch
Declaration | Protocols | |
---|---|---|
From | class WKInterfaceSwitch : WKInterfaceObject { func setTitle(_ title: String?) func setAttributedTitle(_ attributedTitle: NSAttributedString?) func setEnabled(_ enabled: Bool) func setOn(_ on: Bool) func setColor(_ color: UIColor?) } | -- |
To | class WKInterfaceSwitch : WKInterfaceObject { func setTitle(_ title: String?) func setAttributedTitle(_ attributedTitle: NSAttributedString?) func setEnabled(_ enabled: Bool) func setOn(_ on: Bool) func setColor(_ color: UIColor?) func setAccessibilityIdentifier(_ accessibilityIdentifier: String?) func setAccessibilityLabel(_ accessibilityLabel: String?) func setAccessibilityHint(_ accessibilityHint: String?) func setAccessibilityValue(_ accessibilityValue: String?) func setIsAccessibilityElement(_ isAccessibilityElement: Bool) func setAccessibilityTraits(_ accessibilityTraits: UIAccessibilityTraits) func setAccessibilityImageRegions(_ accessibilityImageRegions: [WKAccessibilityImageRegion]) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? } extension WKInterfaceSwitch : CVarArg { } extension WKInterfaceSwitch : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Modified WKInterfaceTable
Declaration | Protocols | |
---|---|---|
From | class WKInterfaceTable : WKInterfaceObject { func setRowTypes(_ rowTypes: [String]) func setNumberOfRows(_ numberOfRows: Int, withRowType rowType: String) var numberOfRows: Int { get } func rowControllerAtIndex(_ index: Int) -> AnyObject? func insertRowsAtIndexes(_ rows: NSIndexSet, withRowType rowType: String) func removeRowsAtIndexes(_ rows: NSIndexSet) func scrollToRowAtIndex(_ index: Int) } | -- |
To | class WKInterfaceTable : WKInterfaceObject { func setRowTypes(_ rowTypes: [String]) func setNumberOfRows(_ numberOfRows: Int, withRowType rowType: String) var numberOfRows: Int { get } func rowController(at index: Int) -> Any? func insertRows(at rows: IndexSet, withRowType rowType: String) func removeRows(at rows: IndexSet) func scrollToRow(at index: Int) func performSegue(forRow row: Int) func setAccessibilityIdentifier(_ accessibilityIdentifier: String?) func setAccessibilityLabel(_ accessibilityLabel: String?) func setAccessibilityHint(_ accessibilityHint: String?) func setAccessibilityValue(_ accessibilityValue: String?) func setIsAccessibilityElement(_ isAccessibilityElement: Bool) func setAccessibilityTraits(_ accessibilityTraits: UIAccessibilityTraits) func setAccessibilityImageRegions(_ accessibilityImageRegions: [WKAccessibilityImageRegion]) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? } extension WKInterfaceTable : CVarArg { } extension WKInterfaceTable : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | func insertRowsAtIndexes(_ rows: NSIndexSet, withRowType rowType: String) |
To | func insertRows(at rows: IndexSet, withRowType rowType: String) |
Declaration | |
---|---|
From | func removeRowsAtIndexes(_ rows: NSIndexSet) |
To | func removeRows(at rows: IndexSet) |
Declaration | |
---|---|
From | func rowControllerAtIndex(_ index: Int) -> AnyObject? |
To | func rowController(at index: Int) -> Any? |
Declaration | |
---|---|
From | func scrollToRowAtIndex(_ index: Int) |
To | func scrollToRow(at index: Int) |
Modified WKInterfaceTimer
Declaration | Protocols | |
---|---|---|
From | class WKInterfaceTimer : WKInterfaceObject { func setTextColor(_ color: UIColor?) func setDate(_ date: NSDate) func start() func stop() } | -- |
To | class WKInterfaceTimer : WKInterfaceObject { func setTextColor(_ color: UIColor?) func setDate(_ date: Date) func start() func stop() func setAccessibilityIdentifier(_ accessibilityIdentifier: String?) func setAccessibilityLabel(_ accessibilityLabel: String?) func setAccessibilityHint(_ accessibilityHint: String?) func setAccessibilityValue(_ accessibilityValue: String?) func setIsAccessibilityElement(_ isAccessibilityElement: Bool) func setAccessibilityTraits(_ accessibilityTraits: UIAccessibilityTraits) func setAccessibilityImageRegions(_ accessibilityImageRegions: [WKAccessibilityImageRegion]) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? } extension WKInterfaceTimer : CVarArg { } extension WKInterfaceTimer : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Modified WKInterfaceTimer.setDate(_: Date)
Declaration | |
---|---|
From | func setDate(_ date: NSDate) |
To | func setDate(_ date: Date) |
Modified WKMenuItemIcon [enum]
Declaration | |
---|---|
From | enum WKMenuItemIcon : Int { case Accept case Add case Block case Decline case Info case Maybe case More case Mute case Pause case Play case Repeat case Resume case Share case Shuffle case Speaker case Trash } |
To | enum WKMenuItemIcon : Int { case accept case add case block case decline case info case maybe case more case mute case pause case play case `repeat` case resume case share case shuffle case speaker case trash } |
Modified WKMenuItemIcon.accept
Declaration | |
---|---|
From | case Accept |
To | case accept |
Modified WKMenuItemIcon.add
Declaration | |
---|---|
From | case Add |
To | case add |
Modified WKMenuItemIcon.block
Declaration | |
---|---|
From | case Block |
To | case block |
Modified WKMenuItemIcon.decline
Declaration | |
---|---|
From | case Decline |
To | case decline |
Modified WKMenuItemIcon.info
Declaration | |
---|---|
From | case Info |
To | case info |
Modified WKMenuItemIcon.maybe
Declaration | |
---|---|
From | case Maybe |
To | case maybe |
Modified WKMenuItemIcon.more
Declaration | |
---|---|
From | case More |
To | case more |
Modified WKMenuItemIcon.mute
Declaration | |
---|---|
From | case Mute |
To | case mute |
Modified WKMenuItemIcon.pause
Declaration | |
---|---|
From | case Pause |
To | case pause |
Modified WKMenuItemIcon.play
Declaration | |
---|---|
From | case Play |
To | case play |
Modified WKMenuItemIcon.repeat
Declaration | |
---|---|
From | case Repeat |
To | case `repeat` |
Modified WKMenuItemIcon.resume
Declaration | |
---|---|
From | case Resume |
To | case resume |
Modified WKMenuItemIcon.share
Declaration | |
---|---|
From | case Share |
To | case share |
Modified WKMenuItemIcon.shuffle
Declaration | |
---|---|
From | case Shuffle |
To | case shuffle |
Modified WKMenuItemIcon.speaker
Declaration | |
---|---|
From | case Speaker |
To | case speaker |
Modified WKMenuItemIcon.trash
Declaration | |
---|---|
From | case Trash |
To | case trash |
Modified WKPickerItem
Declaration | Protocols | |
---|---|---|
From | class WKPickerItem : NSObject, NSSecureCoding { var title: String? var caption: String? @NSCopying var accessoryImage: WKImage? @NSCopying var contentImage: WKImage? } | NSSecureCoding |
To | class WKPickerItem : NSObject, NSSecureCoding { var title: String? var caption: String? @NSCopying var accessoryImage: WKImage? @NSCopying var contentImage: WKImage? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? } extension WKPickerItem : CVarArg { } extension WKPickerItem : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSSecureCoding |
Modified WKTextInputMode [enum]
Declaration | |
---|---|
From | enum WKTextInputMode : Int { case Plain case AllowEmoji case AllowAnimatedEmoji } |
To | enum WKTextInputMode : Int { case plain case allowEmoji case allowAnimatedEmoji } |
Modified WKTextInputMode.allowAnimatedEmoji
Declaration | |
---|---|
From | case AllowAnimatedEmoji |
To | case allowAnimatedEmoji |
Modified WKTextInputMode.allowEmoji
Declaration | |
---|---|
From | case AllowEmoji |
To | case allowEmoji |
Modified WKTextInputMode.plain
Declaration | |
---|---|
From | case Plain |
To | case plain |
Declaration | Protocols | |
---|---|---|
From | class WKUserNotificationInterfaceController : WKInterfaceController { init() func didReceiveRemoteNotification(_ remoteNotification: [NSObject : AnyObject], withCompletion completionHandler: (WKUserNotificationInterfaceType) -> Void) func didReceiveLocalNotification(_ localNotification: UILocalNotification, withCompletion completionHandler: (WKUserNotificationInterfaceType) -> Void) func suggestionsForResponseToActionWithIdentifier(_ identifier: String, forRemoteNotification remoteNotification: [NSObject : AnyObject], inputLanguage inputLanguage: String) -> [String] func suggestionsForResponseToActionWithIdentifier(_ identifier: String, forLocalNotification localNotification: UILocalNotification, inputLanguage inputLanguage: String) -> [String] } | -- |
To | class WKUserNotificationInterfaceController : WKInterfaceController { init() func didReceive(_ notification: UNNotification, withCompletion completionHandler: @escaping (WKUserNotificationInterfaceType) -> Swift.Void) func suggestionsForResponseToAction(withIdentifier identifier: String, for notification: UNNotification, inputLanguage inputLanguage: String) -> [String] func didReceiveRemoteNotification(_ remoteNotification: [AnyHashable : Any], withCompletion completionHandler: @escaping (WKUserNotificationInterfaceType) -> Swift.Void) func didReceive(_ localNotification: UILocalNotification, withCompletion completionHandler: @escaping (WKUserNotificationInterfaceType) -> Swift.Void) func suggestionsForResponseToAction(withIdentifier identifier: String, forRemoteNotification remoteNotification: [AnyHashable : Any], inputLanguage inputLanguage: String) -> [String] func suggestionsForResponseToAction(withIdentifier identifier: String, for localNotification: UILocalNotification, inputLanguage inputLanguage: String) -> [String] @nonobjc final class func reloadRootControllers(_ namesAndContexts: [(name: String, context: AnyObject)]) class func reloadRootControllers(withNamesAndContexts namesAndContexts: [(name: String, context: AnyObject)]) @nonobjc final func presentController(_ namesAndContexts: [(name: String, context: AnyObject)]) func presentController(withNamesAndContexts namesAndContexts: [(name: String, context: AnyObject)]) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? } extension WKUserNotificationInterfaceController : CVarArg { } extension WKUserNotificationInterfaceController : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | func didReceiveLocalNotification(_ localNotification: UILocalNotification, withCompletion completionHandler: (WKUserNotificationInterfaceType) -> Void) |
To | func didReceive(_ localNotification: UILocalNotification, withCompletion completionHandler: @escaping (WKUserNotificationInterfaceType) -> Swift.Void) |
Declaration | |
---|---|
From | func didReceiveRemoteNotification(_ remoteNotification: [NSObject : AnyObject], withCompletion completionHandler: (WKUserNotificationInterfaceType) -> Void) |
To | func didReceiveRemoteNotification(_ remoteNotification: [AnyHashable : Any], withCompletion completionHandler: @escaping (WKUserNotificationInterfaceType) -> Swift.Void) |
Declaration | |
---|---|
From | func suggestionsForResponseToActionWithIdentifier(_ identifier: String, forLocalNotification localNotification: UILocalNotification, inputLanguage inputLanguage: String) -> [String] |
To | func suggestionsForResponseToAction(withIdentifier identifier: String, for localNotification: UILocalNotification, inputLanguage inputLanguage: String) -> [String] |
Declaration | |
---|---|
From | func suggestionsForResponseToActionWithIdentifier(_ identifier: String, forRemoteNotification remoteNotification: [NSObject : AnyObject], inputLanguage inputLanguage: String) -> [String] |
To | func suggestionsForResponseToAction(withIdentifier identifier: String, forRemoteNotification remoteNotification: [AnyHashable : Any], inputLanguage inputLanguage: String) -> [String] |
Declaration | |
---|---|
From | enum WKUserNotificationInterfaceType : Int { case Default case Custom } |
To | enum WKUserNotificationInterfaceType : Int { case `default` case custom } |
Declaration | |
---|---|
From | case Custom |
To | case custom |
Declaration | |
---|---|
From | case Default |
To | case `default` |
Modified WKVideoGravity [enum]
Declaration | |
---|---|
From | enum WKVideoGravity : Int { case ResizeAspect case ResizeAspectFill case Resize } |
To | enum WKVideoGravity : Int { case resizeAspect case resizeAspectFill case resize } |
Modified WKVideoGravity.resize
Declaration | |
---|---|
From | case Resize |
To | case resize |
Modified WKVideoGravity.resizeAspect
Declaration | |
---|---|
From | case ResizeAspect |
To | case resizeAspect |
Modified WKVideoGravity.resizeAspectFill
Declaration | |
---|---|
From | case ResizeAspectFill |
To | case resizeAspectFill |
Modified WKAlertActionHandler
Declaration | |
---|---|
From | typealias WKAlertActionHandler = () -> Void |
To | typealias WKAlertActionHandler = () -> Swift.Void |