WatchKit Changes for Swift
WatchKit
Removed WKInterfaceController.reloadRootControllers(_: [(name: String, context: AnyObject)]) [class]
Added WatchKitError [struct]
Added WatchKitError.init(_nsError: NSError)
Added WatchKitError.unknown
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 | iOS 9.0 |
To | case mediaPlayerFailed | iOS 10.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 awakeFromNib() func prepareForInterfaceBuilder() func accessibilityActivate() -> Bool func accessibilityIncrement() func accessibilityDecrement() func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool func accessibilityPerformEscape() -> Bool func accessibilityPerformMagicTap() -> Bool var accessibilityCustomActions: [UIAccessibilityCustomAction]? func accessibilityElementDidBecomeFocused() func accessibilityElementDidLoseFocus() func accessibilityElementIsFocused() -> Bool func accessibilityAssistiveTechnologyFocusedIdentifiers() -> Set<String>? func accessibilityElementCount() -> Int func accessibilityElement(at index: Int) -> Any? func index(ofAccessibilityElement element: Any) -> Int var accessibilityElements: [Any]? var isAccessibilityElement: Bool var accessibilityLabel: String? var accessibilityHint: String? var accessibilityValue: String? var accessibilityTraits: UIAccessibilityTraits var accessibilityFrame: CGRect @NSCopying var accessibilityPath: UIBezierPath? var accessibilityActivationPoint: CGPoint var accessibilityLanguage: String? var accessibilityElementsHidden: Bool var accessibilityViewIsModal: Bool var shouldGroupAccessibilityChildren: Bool var accessibilityNavigationStyle: UIAccessibilityNavigationStyle var accessibilityHeaderElements: [Any]? var accessibilityCustomRotors: [UIAccessibilityCustomRotor]? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension WKAccessibilityImageRegion : CVarArg { } extension WKAccessibilityImageRegion : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
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 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 awakeFromNib() func prepareForInterfaceBuilder() func accessibilityActivate() -> Bool func accessibilityIncrement() func accessibilityDecrement() func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool func accessibilityPerformEscape() -> Bool func accessibilityPerformMagicTap() -> Bool var accessibilityCustomActions: [UIAccessibilityCustomAction]? func accessibilityElementDidBecomeFocused() func accessibilityElementDidLoseFocus() func accessibilityElementIsFocused() -> Bool func accessibilityAssistiveTechnologyFocusedIdentifiers() -> Set<String>? func accessibilityElementCount() -> Int func accessibilityElement(at index: Int) -> Any? func index(ofAccessibilityElement element: Any) -> Int var accessibilityElements: [Any]? var isAccessibilityElement: Bool var accessibilityLabel: String? var accessibilityHint: String? var accessibilityValue: String? var accessibilityTraits: UIAccessibilityTraits var accessibilityFrame: CGRect @NSCopying var accessibilityPath: UIBezierPath? var accessibilityActivationPoint: CGPoint var accessibilityLanguage: String? var accessibilityElementsHidden: Bool var accessibilityViewIsModal: Bool var shouldGroupAccessibilityChildren: Bool var accessibilityNavigationStyle: UIAccessibilityNavigationStyle var accessibilityHeaderElements: [Any]? var accessibilityCustomRotors: [UIAccessibilityCustomRotor]? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension 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 awakeFromNib() func prepareForInterfaceBuilder() func accessibilityActivate() -> Bool func accessibilityIncrement() func accessibilityDecrement() func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool func accessibilityPerformEscape() -> Bool func accessibilityPerformMagicTap() -> Bool var accessibilityCustomActions: [UIAccessibilityCustomAction]? func accessibilityElementDidBecomeFocused() func accessibilityElementDidLoseFocus() func accessibilityElementIsFocused() -> Bool func accessibilityAssistiveTechnologyFocusedIdentifiers() -> Set<String>? func accessibilityElementCount() -> Int func accessibilityElement(at index: Int) -> Any? func index(ofAccessibilityElement element: Any) -> Int var accessibilityElements: [Any]? var isAccessibilityElement: Bool var accessibilityLabel: String? var accessibilityHint: String? var accessibilityValue: String? var accessibilityTraits: UIAccessibilityTraits var accessibilityFrame: CGRect @NSCopying var accessibilityPath: UIBezierPath? var accessibilityActivationPoint: CGPoint var accessibilityLanguage: String? var accessibilityElementsHidden: Bool var accessibilityViewIsModal: Bool var shouldGroupAccessibilityChildren: Bool var accessibilityNavigationStyle: UIAccessibilityNavigationStyle var accessibilityHeaderElements: [Any]? var accessibilityCustomRotors: [UIAccessibilityCustomRotor]? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension 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 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]?) |
Declaration | |
---|---|
From | class func openParentApplication(_ userInfo: [NSObject : AnyObject], reply reply: (([NSObject : AnyObject], NSError?) -> Void)?) -> Bool |
To | class func openParentApplication(_ userInfo: [AnyHashable : Any], reply reply: (@escaping ([AnyHashable : Any], Error?) -> Swift.Void)? = nil) -> Bool |
Modified WKInterfaceController.pop()
Declaration | |
---|---|
From | func popController() |
To | func pop() |
Declaration | Deprecation | |
---|---|---|
From | func presentController(_ namesAndContexts: [(name: String, context: AnyObject)]) | -- |
To | @nonobjc final func presentController(_ namesAndContexts: [(name: String, context: AnyObject)]) | iOS 10.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 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 awakeFromNib() func prepareForInterfaceBuilder() func accessibilityActivate() -> Bool func accessibilityIncrement() func accessibilityDecrement() func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool func accessibilityPerformEscape() -> Bool func accessibilityPerformMagicTap() -> Bool var accessibilityCustomActions: [UIAccessibilityCustomAction]? func accessibilityElementDidBecomeFocused() func accessibilityElementDidLoseFocus() func accessibilityElementIsFocused() -> Bool func accessibilityAssistiveTechnologyFocusedIdentifiers() -> Set<String>? func accessibilityElementCount() -> Int func accessibilityElement(at index: Int) -> Any? func index(ofAccessibilityElement element: Any) -> Int var accessibilityElements: [Any]? var isAccessibilityElement: Bool var accessibilityLabel: String? var accessibilityHint: String? var accessibilityValue: String? var accessibilityTraits: UIAccessibilityTraits var accessibilityFrame: CGRect @NSCopying var accessibilityPath: UIBezierPath? var accessibilityActivationPoint: CGPoint var accessibilityLanguage: String? var accessibilityElementsHidden: Bool var accessibilityViewIsModal: Bool var shouldGroupAccessibilityChildren: Bool var accessibilityNavigationStyle: UIAccessibilityNavigationStyle var accessibilityHeaderElements: [Any]? var accessibilityCustomRotors: [UIAccessibilityCustomRotor]? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension 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 } func play(_ type: WKHapticType) func awakeFromNib() func prepareForInterfaceBuilder() func accessibilityActivate() -> Bool func accessibilityIncrement() func accessibilityDecrement() func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool func accessibilityPerformEscape() -> Bool func accessibilityPerformMagicTap() -> Bool var accessibilityCustomActions: [UIAccessibilityCustomAction]? func accessibilityElementDidBecomeFocused() func accessibilityElementDidLoseFocus() func accessibilityElementIsFocused() -> Bool func accessibilityAssistiveTechnologyFocusedIdentifiers() -> Set<String>? func accessibilityElementCount() -> Int func accessibilityElement(at index: Int) -> Any? func index(ofAccessibilityElement element: Any) -> Int var accessibilityElements: [Any]? var isAccessibilityElement: Bool var accessibilityLabel: String? var accessibilityHint: String? var accessibilityValue: String? var accessibilityTraits: UIAccessibilityTraits var accessibilityFrame: CGRect @NSCopying var accessibilityPath: UIBezierPath? var accessibilityActivationPoint: CGPoint var accessibilityLanguage: String? var accessibilityElementsHidden: Bool var accessibilityViewIsModal: Bool var shouldGroupAccessibilityChildren: Bool var accessibilityNavigationStyle: UIAccessibilityNavigationStyle var accessibilityHeaderElements: [Any]? var accessibilityCustomRotors: [UIAccessibilityCustomRotor]? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension WKInterfaceDevice : CVarArg { } extension WKInterfaceDevice : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | func addCachedImageWithData(_ imageData: NSData, name name: String) -> Bool |
To | func addCachedImage(with imageData: Data, name name: String) -> Bool |
Declaration | |
---|---|
From | class func currentDevice() -> WKInterfaceDevice |
To | class func current() -> WKInterfaceDevice |
Declaration | |
---|---|
From | func removeCachedImageWithName(_ name: String) |
To | func removeCachedImage(withName name: String) |
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 awakeFromNib() func prepareForInterfaceBuilder() func accessibilityActivate() -> Bool func accessibilityIncrement() func accessibilityDecrement() func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool func accessibilityPerformEscape() -> Bool func accessibilityPerformMagicTap() -> Bool var accessibilityCustomActions: [UIAccessibilityCustomAction]? func accessibilityElementDidBecomeFocused() func accessibilityElementDidLoseFocus() func accessibilityElementIsFocused() -> Bool func accessibilityAssistiveTechnologyFocusedIdentifiers() -> Set<String>? func accessibilityElementCount() -> Int func accessibilityElement(at index: Int) -> Any? func index(ofAccessibilityElement element: Any) -> Int var accessibilityElements: [Any]? var isAccessibilityElement: Bool var accessibilityLabel: String? var accessibilityHint: String? var accessibilityValue: String? var accessibilityTraits: UIAccessibilityTraits var accessibilityFrame: CGRect @NSCopying var accessibilityPath: UIBezierPath? var accessibilityActivationPoint: CGPoint var accessibilityLanguage: String? var accessibilityElementsHidden: Bool var accessibilityViewIsModal: Bool var shouldGroupAccessibilityChildren: Bool var accessibilityNavigationStyle: UIAccessibilityNavigationStyle var accessibilityHeaderElements: [Any]? var accessibilityCustomRotors: [UIAccessibilityCustomRotor]? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension 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 awakeFromNib() func prepareForInterfaceBuilder() func accessibilityActivate() -> Bool func accessibilityIncrement() func accessibilityDecrement() func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool func accessibilityPerformEscape() -> Bool func accessibilityPerformMagicTap() -> Bool var accessibilityCustomActions: [UIAccessibilityCustomAction]? func accessibilityElementDidBecomeFocused() func accessibilityElementDidLoseFocus() func accessibilityElementIsFocused() -> Bool func accessibilityAssistiveTechnologyFocusedIdentifiers() -> Set<String>? func accessibilityElementCount() -> Int func accessibilityElement(at index: Int) -> Any? func index(ofAccessibilityElement element: Any) -> Int var accessibilityElements: [Any]? var isAccessibilityElement: Bool var accessibilityLabel: String? var accessibilityHint: String? var accessibilityValue: String? var accessibilityTraits: UIAccessibilityTraits var accessibilityFrame: CGRect @NSCopying var accessibilityPath: UIBezierPath? var accessibilityActivationPoint: CGPoint var accessibilityLanguage: String? var accessibilityElementsHidden: Bool var accessibilityViewIsModal: Bool var shouldGroupAccessibilityChildren: Bool var accessibilityNavigationStyle: UIAccessibilityNavigationStyle var accessibilityHeaderElements: [Any]? var accessibilityCustomRotors: [UIAccessibilityCustomRotor]? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension 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 awakeFromNib() func prepareForInterfaceBuilder() func accessibilityActivate() -> Bool func accessibilityIncrement() func accessibilityDecrement() func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool func accessibilityPerformEscape() -> Bool func accessibilityPerformMagicTap() -> Bool var accessibilityCustomActions: [UIAccessibilityCustomAction]? func accessibilityElementDidBecomeFocused() func accessibilityElementDidLoseFocus() func accessibilityElementIsFocused() -> Bool func accessibilityAssistiveTechnologyFocusedIdentifiers() -> Set<String>? func accessibilityElementCount() -> Int func accessibilityElement(at index: Int) -> Any? func index(ofAccessibilityElement element: Any) -> Int var accessibilityElements: [Any]? var isAccessibilityElement: Bool var accessibilityLabel: String? var accessibilityHint: String? var accessibilityValue: String? var accessibilityTraits: UIAccessibilityTraits var accessibilityFrame: CGRect @NSCopying var accessibilityPath: UIBezierPath? var accessibilityActivationPoint: CGPoint var accessibilityLanguage: String? var accessibilityElementsHidden: Bool var accessibilityViewIsModal: Bool var shouldGroupAccessibilityChildren: Bool var accessibilityNavigationStyle: UIAccessibilityNavigationStyle var accessibilityHeaderElements: [Any]? var accessibilityCustomRotors: [UIAccessibilityCustomRotor]? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension WKInterfaceLabel : CVarArg { } extension WKInterfaceLabel : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
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 awakeFromNib() func prepareForInterfaceBuilder() func accessibilityActivate() -> Bool func accessibilityIncrement() func accessibilityDecrement() func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool func accessibilityPerformEscape() -> Bool func accessibilityPerformMagicTap() -> Bool var accessibilityCustomActions: [UIAccessibilityCustomAction]? func accessibilityElementDidBecomeFocused() func accessibilityElementDidLoseFocus() func accessibilityElementIsFocused() -> Bool func accessibilityAssistiveTechnologyFocusedIdentifiers() -> Set<String>? func accessibilityElementCount() -> Int func accessibilityElement(at index: Int) -> Any? func index(ofAccessibilityElement element: Any) -> Int var accessibilityElements: [Any]? var isAccessibilityElement: Bool var accessibilityLabel: String? var accessibilityHint: String? var accessibilityValue: String? var accessibilityTraits: UIAccessibilityTraits var accessibilityFrame: CGRect @NSCopying var accessibilityPath: UIBezierPath? var accessibilityActivationPoint: CGPoint var accessibilityLanguage: String? var accessibilityElementsHidden: Bool var accessibilityViewIsModal: Bool var shouldGroupAccessibilityChildren: Bool var accessibilityNavigationStyle: UIAccessibilityNavigationStyle var accessibilityHeaderElements: [Any]? var accessibilityCustomRotors: [UIAccessibilityCustomRotor]? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension 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 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 awakeFromNib() func prepareForInterfaceBuilder() func accessibilityActivate() -> Bool func accessibilityIncrement() func accessibilityDecrement() func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool func accessibilityPerformEscape() -> Bool func accessibilityPerformMagicTap() -> Bool var accessibilityCustomActions: [UIAccessibilityCustomAction]? func accessibilityElementDidBecomeFocused() func accessibilityElementDidLoseFocus() func accessibilityElementIsFocused() -> Bool func accessibilityAssistiveTechnologyFocusedIdentifiers() -> Set<String>? func accessibilityElementCount() -> Int func accessibilityElement(at index: Int) -> Any? func index(ofAccessibilityElement element: Any) -> Int var accessibilityElements: [Any]? var isAccessibilityElement: Bool var accessibilityLabel: String? var accessibilityHint: String? var accessibilityValue: String? var accessibilityTraits: UIAccessibilityTraits var accessibilityFrame: CGRect @NSCopying var accessibilityPath: UIBezierPath? var accessibilityActivationPoint: CGPoint var accessibilityLanguage: String? var accessibilityElementsHidden: Bool var accessibilityViewIsModal: Bool var shouldGroupAccessibilityChildren: Bool var accessibilityNavigationStyle: UIAccessibilityNavigationStyle var accessibilityHeaderElements: [Any]? var accessibilityCustomRotors: [UIAccessibilityCustomRotor]? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension 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 |
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 awakeFromNib() func prepareForInterfaceBuilder() func accessibilityActivate() -> Bool func accessibilityIncrement() func accessibilityDecrement() func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool func accessibilityPerformEscape() -> Bool func accessibilityPerformMagicTap() -> Bool var accessibilityCustomActions: [UIAccessibilityCustomAction]? func accessibilityElementDidBecomeFocused() func accessibilityElementDidLoseFocus() func accessibilityElementIsFocused() -> Bool func accessibilityAssistiveTechnologyFocusedIdentifiers() -> Set<String>? func accessibilityElementCount() -> Int func accessibilityElement(at index: Int) -> Any? func index(ofAccessibilityElement element: Any) -> Int var accessibilityElements: [Any]? var isAccessibilityElement: Bool var accessibilityLabel: String? var accessibilityHint: String? var accessibilityValue: String? var accessibilityTraits: UIAccessibilityTraits var accessibilityFrame: CGRect @NSCopying var accessibilityPath: UIBezierPath? var accessibilityActivationPoint: CGPoint var accessibilityLanguage: String? var accessibilityElementsHidden: Bool var accessibilityViewIsModal: Bool var shouldGroupAccessibilityChildren: Bool var accessibilityNavigationStyle: UIAccessibilityNavigationStyle var accessibilityHeaderElements: [Any]? var accessibilityCustomRotors: [UIAccessibilityCustomRotor]? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension 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 awakeFromNib() func prepareForInterfaceBuilder() func accessibilityActivate() -> Bool func accessibilityIncrement() func accessibilityDecrement() func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool func accessibilityPerformEscape() -> Bool func accessibilityPerformMagicTap() -> Bool var accessibilityCustomActions: [UIAccessibilityCustomAction]? func accessibilityElementDidBecomeFocused() func accessibilityElementDidLoseFocus() func accessibilityElementIsFocused() -> Bool func accessibilityAssistiveTechnologyFocusedIdentifiers() -> Set<String>? func accessibilityElementCount() -> Int func accessibilityElement(at index: Int) -> Any? func index(ofAccessibilityElement element: Any) -> Int var accessibilityElements: [Any]? var isAccessibilityElement: Bool var accessibilityLabel: String? var accessibilityHint: String? var accessibilityValue: String? var accessibilityTraits: UIAccessibilityTraits var accessibilityFrame: CGRect @NSCopying var accessibilityPath: UIBezierPath? var accessibilityActivationPoint: CGPoint var accessibilityLanguage: String? var accessibilityElementsHidden: Bool var accessibilityViewIsModal: Bool var shouldGroupAccessibilityChildren: Bool var accessibilityNavigationStyle: UIAccessibilityNavigationStyle var accessibilityHeaderElements: [Any]? var accessibilityCustomRotors: [UIAccessibilityCustomRotor]? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension 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 awakeFromNib() func prepareForInterfaceBuilder() func accessibilityActivate() -> Bool func accessibilityIncrement() func accessibilityDecrement() func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool func accessibilityPerformEscape() -> Bool func accessibilityPerformMagicTap() -> Bool var accessibilityCustomActions: [UIAccessibilityCustomAction]? func accessibilityElementDidBecomeFocused() func accessibilityElementDidLoseFocus() func accessibilityElementIsFocused() -> Bool func accessibilityAssistiveTechnologyFocusedIdentifiers() -> Set<String>? func accessibilityElementCount() -> Int func accessibilityElement(at index: Int) -> Any? func index(ofAccessibilityElement element: Any) -> Int var accessibilityElements: [Any]? var isAccessibilityElement: Bool var accessibilityLabel: String? var accessibilityHint: String? var accessibilityValue: String? var accessibilityTraits: UIAccessibilityTraits var accessibilityFrame: CGRect @NSCopying var accessibilityPath: UIBezierPath? var accessibilityActivationPoint: CGPoint var accessibilityLanguage: String? var accessibilityElementsHidden: Bool var accessibilityViewIsModal: Bool var shouldGroupAccessibilityChildren: Bool var accessibilityNavigationStyle: UIAccessibilityNavigationStyle var accessibilityHeaderElements: [Any]? var accessibilityCustomRotors: [UIAccessibilityCustomRotor]? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension 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 awakeFromNib() func prepareForInterfaceBuilder() func accessibilityActivate() -> Bool func accessibilityIncrement() func accessibilityDecrement() func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool func accessibilityPerformEscape() -> Bool func accessibilityPerformMagicTap() -> Bool var accessibilityCustomActions: [UIAccessibilityCustomAction]? func accessibilityElementDidBecomeFocused() func accessibilityElementDidLoseFocus() func accessibilityElementIsFocused() -> Bool func accessibilityAssistiveTechnologyFocusedIdentifiers() -> Set<String>? func accessibilityElementCount() -> Int func accessibilityElement(at index: Int) -> Any? func index(ofAccessibilityElement element: Any) -> Int var accessibilityElements: [Any]? var isAccessibilityElement: Bool var accessibilityLabel: String? var accessibilityHint: String? var accessibilityValue: String? var accessibilityTraits: UIAccessibilityTraits var accessibilityFrame: CGRect @NSCopying var accessibilityPath: UIBezierPath? var accessibilityActivationPoint: CGPoint var accessibilityLanguage: String? var accessibilityElementsHidden: Bool var accessibilityViewIsModal: Bool var shouldGroupAccessibilityChildren: Bool var accessibilityNavigationStyle: UIAccessibilityNavigationStyle var accessibilityHeaderElements: [Any]? var accessibilityCustomRotors: [UIAccessibilityCustomRotor]? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension 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 awakeFromNib() func prepareForInterfaceBuilder() func accessibilityActivate() -> Bool func accessibilityIncrement() func accessibilityDecrement() func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool func accessibilityPerformEscape() -> Bool func accessibilityPerformMagicTap() -> Bool var accessibilityCustomActions: [UIAccessibilityCustomAction]? func accessibilityElementDidBecomeFocused() func accessibilityElementDidLoseFocus() func accessibilityElementIsFocused() -> Bool func accessibilityAssistiveTechnologyFocusedIdentifiers() -> Set<String>? func accessibilityElementCount() -> Int func accessibilityElement(at index: Int) -> Any? func index(ofAccessibilityElement element: Any) -> Int var accessibilityElements: [Any]? var isAccessibilityElement: Bool var accessibilityLabel: String? var accessibilityHint: String? var accessibilityValue: String? var accessibilityTraits: UIAccessibilityTraits var accessibilityFrame: CGRect @NSCopying var accessibilityPath: UIBezierPath? var accessibilityActivationPoint: CGPoint var accessibilityLanguage: String? var accessibilityElementsHidden: Bool var accessibilityViewIsModal: Bool var shouldGroupAccessibilityChildren: Bool var accessibilityNavigationStyle: UIAccessibilityNavigationStyle var accessibilityHeaderElements: [Any]? var accessibilityCustomRotors: [UIAccessibilityCustomRotor]? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension 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 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 awakeFromNib() func prepareForInterfaceBuilder() func accessibilityActivate() -> Bool func accessibilityIncrement() func accessibilityDecrement() func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool func accessibilityPerformEscape() -> Bool func accessibilityPerformMagicTap() -> Bool var accessibilityCustomActions: [UIAccessibilityCustomAction]? func accessibilityElementDidBecomeFocused() func accessibilityElementDidLoseFocus() func accessibilityElementIsFocused() -> Bool func accessibilityAssistiveTechnologyFocusedIdentifiers() -> Set<String>? func accessibilityElementCount() -> Int func accessibilityElement(at index: Int) -> Any? func index(ofAccessibilityElement element: Any) -> Int var accessibilityElements: [Any]? var isAccessibilityElement: Bool var accessibilityLabel: String? var accessibilityHint: String? var accessibilityValue: String? var accessibilityTraits: UIAccessibilityTraits var accessibilityFrame: CGRect @NSCopying var accessibilityPath: UIBezierPath? var accessibilityActivationPoint: CGPoint var accessibilityLanguage: String? var accessibilityElementsHidden: Bool var accessibilityViewIsModal: Bool var shouldGroupAccessibilityChildren: Bool var accessibilityNavigationStyle: UIAccessibilityNavigationStyle var accessibilityHeaderElements: [Any]? var accessibilityCustomRotors: [UIAccessibilityCustomRotor]? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension 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 | 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` |