WebKit Changes for Swift
WebKit
Added WKDataDetectorTypes.all
Added WKDataDetectorTypes.link
Added WKError [struct]
Added WKError.init(_nsError: NSError)
Added WKError.unknown
Added WKPreviewActionItem
Added WKPreviewElementInfo
Added WKWebView.serverTrust
Modified WKBackForwardList
Declaration | Protocols | |
---|---|---|
From | class WKBackForwardList : NSObject { var currentItem: WKBackForwardListItem? { get } var backItem: WKBackForwardListItem? { get } var forwardItem: WKBackForwardListItem? { get } func itemAtIndex(_ index: Int) -> WKBackForwardListItem? var backList: [WKBackForwardListItem] { get } var forwardList: [WKBackForwardListItem] { get } } | -- |
To | class WKBackForwardList : NSObject { var currentItem: WKBackForwardListItem? { get } var backItem: WKBackForwardListItem? { get } var forwardItem: WKBackForwardListItem? { get } func item(at index: Int) -> WKBackForwardListItem? var backList: [WKBackForwardListItem] { get } var forwardList: [WKBackForwardListItem] { get } func awakeFromNib() func prepareForInterfaceBuilder() func accessibilityActivate() -> Bool func accessibilityIncrement() func accessibilityDecrement() func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool func accessibilityPerformEscape() -> Bool func accessibilityPerformMagicTap() -> Bool var accessibilityCustomActions: [UIAccessibilityCustomAction]? func accessibilityElementDidBecomeFocused() func accessibilityElementDidLoseFocus() func accessibilityElementIsFocused() -> Bool func accessibilityAssistiveTechnologyFocusedIdentifiers() -> Set<String>? func accessibilityElementCount() -> Int func accessibilityElement(at index: Int) -> Any? func index(ofAccessibilityElement element: Any) -> Int var accessibilityElements: [Any]? var isAccessibilityElement: Bool var accessibilityLabel: String? var accessibilityHint: String? var accessibilityValue: String? var accessibilityTraits: UIAccessibilityTraits var accessibilityFrame: CGRect @NSCopying var accessibilityPath: UIBezierPath? var accessibilityActivationPoint: CGPoint var accessibilityLanguage: String? var accessibilityElementsHidden: Bool var accessibilityViewIsModal: Bool var shouldGroupAccessibilityChildren: Bool var accessibilityNavigationStyle: UIAccessibilityNavigationStyle var accessibilityHeaderElements: [Any]? var accessibilityCustomRotors: [UIAccessibilityCustomRotor]? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension WKBackForwardList : CVarArg { } extension WKBackForwardList : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | func itemAtIndex(_ index: Int) -> WKBackForwardListItem? |
To | func item(at index: Int) -> WKBackForwardListItem? |
Modified WKBackForwardListItem
Declaration | Protocols | |
---|---|---|
From | class WKBackForwardListItem : NSObject { @NSCopying var URL: NSURL { get } var title: String? { get } @NSCopying var initialURL: NSURL { get } } | -- |
To | class WKBackForwardListItem : NSObject { init() var url: URL { get } var title: String? { get } var initialURL: URL { get } func awakeFromNib() func prepareForInterfaceBuilder() func accessibilityActivate() -> Bool func accessibilityIncrement() func accessibilityDecrement() func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool func accessibilityPerformEscape() -> Bool func accessibilityPerformMagicTap() -> Bool var accessibilityCustomActions: [UIAccessibilityCustomAction]? func accessibilityElementDidBecomeFocused() func accessibilityElementDidLoseFocus() func accessibilityElementIsFocused() -> Bool func accessibilityAssistiveTechnologyFocusedIdentifiers() -> Set<String>? func accessibilityElementCount() -> Int func accessibilityElement(at index: Int) -> Any? func index(ofAccessibilityElement element: Any) -> Int var accessibilityElements: [Any]? var isAccessibilityElement: Bool var accessibilityLabel: String? var accessibilityHint: String? var accessibilityValue: String? var accessibilityTraits: UIAccessibilityTraits var accessibilityFrame: CGRect @NSCopying var accessibilityPath: UIBezierPath? var accessibilityActivationPoint: CGPoint var accessibilityLanguage: String? var accessibilityElementsHidden: Bool var accessibilityViewIsModal: Bool var shouldGroupAccessibilityChildren: Bool var accessibilityNavigationStyle: UIAccessibilityNavigationStyle var accessibilityHeaderElements: [Any]? var accessibilityCustomRotors: [UIAccessibilityCustomRotor]? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension WKBackForwardListItem : CVarArg { } extension WKBackForwardListItem : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Modified WKBackForwardListItem.initialURL
Declaration | |
---|---|
From | @NSCopying var initialURL: NSURL { get } |
To | var initialURL: URL { get } |
Modified WKBackForwardListItem.url
Declaration | |
---|---|
From | @NSCopying var URL: NSURL { get } |
To | var url: URL { get } |
Modified WKError.Code [enum]
Declaration | |
---|---|
From | enum WKErrorCode : Int { case Unknown case WebContentProcessTerminated case WebViewInvalidated case JavaScriptExceptionOccurred case JavaScriptResultTypeIsUnsupported } extension WKErrorCode : _BridgedNSError { } extension WKErrorCode : _BridgedNSError { } |
To | enum Code : Int { typealias _ErrorType = WKError case unknown case webContentProcessTerminated case webViewInvalidated case javaScriptExceptionOccurred case javaScriptResultTypeIsUnsupported } |
Declaration | |
---|---|
From | case JavaScriptExceptionOccurred |
To | case javaScriptExceptionOccurred |
Declaration | |
---|---|
From | case JavaScriptResultTypeIsUnsupported |
To | case javaScriptResultTypeIsUnsupported |
Modified WKError.Code.unknown
Declaration | Introduction | |
---|---|---|
From | case Unknown | iOS 8.0 |
To | case unknown | iOS 10.0 |
Declaration | |
---|---|
From | case WebContentProcessTerminated |
To | case webContentProcessTerminated |
Modified WKError.Code.webViewInvalidated
Declaration | |
---|---|
From | case WebViewInvalidated |
To | case webViewInvalidated |
Modified WKFrameInfo
Declaration | Protocols | |
---|---|---|
From | class WKFrameInfo : NSObject, NSCopying { var mainFrame: Bool { get } @NSCopying var request: NSURLRequest { get } var securityOrigin: WKSecurityOrigin { get } } | NSCopying |
To | class WKFrameInfo : NSObject, NSCopying { var isMainFrame: Bool { get } var request: URLRequest { get } var securityOrigin: WKSecurityOrigin { get } func awakeFromNib() func prepareForInterfaceBuilder() func accessibilityActivate() -> Bool func accessibilityIncrement() func accessibilityDecrement() func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool func accessibilityPerformEscape() -> Bool func accessibilityPerformMagicTap() -> Bool var accessibilityCustomActions: [UIAccessibilityCustomAction]? func accessibilityElementDidBecomeFocused() func accessibilityElementDidLoseFocus() func accessibilityElementIsFocused() -> Bool func accessibilityAssistiveTechnologyFocusedIdentifiers() -> Set<String>? func accessibilityElementCount() -> Int func accessibilityElement(at index: Int) -> Any? func index(ofAccessibilityElement element: Any) -> Int var accessibilityElements: [Any]? var isAccessibilityElement: Bool var accessibilityLabel: String? var accessibilityHint: String? var accessibilityValue: String? var accessibilityTraits: UIAccessibilityTraits var accessibilityFrame: CGRect @NSCopying var accessibilityPath: UIBezierPath? var accessibilityActivationPoint: CGPoint var accessibilityLanguage: String? var accessibilityElementsHidden: Bool var accessibilityViewIsModal: Bool var shouldGroupAccessibilityChildren: Bool var accessibilityNavigationStyle: UIAccessibilityNavigationStyle var accessibilityHeaderElements: [Any]? var accessibilityCustomRotors: [UIAccessibilityCustomRotor]? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension WKFrameInfo : CVarArg { } extension WKFrameInfo : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCopying |
Modified WKFrameInfo.isMainFrame
Declaration | |
---|---|
From | var mainFrame: Bool { get } |
To | var isMainFrame: Bool { get } |
Modified WKFrameInfo.request
Declaration | |
---|---|
From | @NSCopying var request: NSURLRequest { get } |
To | var request: URLRequest { get } |
Modified WKNavigation
Declaration | Protocols | |
---|---|---|
From | class WKNavigation : NSObject { } | -- |
To | class WKNavigation : NSObject { 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 WKNavigation : CVarArg { } extension WKNavigation : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Modified WKNavigationAction
Declaration | Protocols | |
---|---|---|
From | class WKNavigationAction : NSObject { @NSCopying var sourceFrame: WKFrameInfo { get } @NSCopying var targetFrame: WKFrameInfo? { get } var navigationType: WKNavigationType { get } @NSCopying var request: NSURLRequest { get } } | -- |
To | class WKNavigationAction : NSObject { @NSCopying var sourceFrame: WKFrameInfo { get } @NSCopying var targetFrame: WKFrameInfo? { get } var navigationType: WKNavigationType { get } var request: URLRequest { get } func awakeFromNib() func prepareForInterfaceBuilder() func accessibilityActivate() -> Bool func accessibilityIncrement() func accessibilityDecrement() func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool func accessibilityPerformEscape() -> Bool func accessibilityPerformMagicTap() -> Bool var accessibilityCustomActions: [UIAccessibilityCustomAction]? func accessibilityElementDidBecomeFocused() func accessibilityElementDidLoseFocus() func accessibilityElementIsFocused() -> Bool func accessibilityAssistiveTechnologyFocusedIdentifiers() -> Set<String>? func accessibilityElementCount() -> Int func accessibilityElement(at index: Int) -> Any? func index(ofAccessibilityElement element: Any) -> Int var accessibilityElements: [Any]? var isAccessibilityElement: Bool var accessibilityLabel: String? var accessibilityHint: String? var accessibilityValue: String? var accessibilityTraits: UIAccessibilityTraits var accessibilityFrame: CGRect @NSCopying var accessibilityPath: UIBezierPath? var accessibilityActivationPoint: CGPoint var accessibilityLanguage: String? var accessibilityElementsHidden: Bool var accessibilityViewIsModal: Bool var shouldGroupAccessibilityChildren: Bool var accessibilityNavigationStyle: UIAccessibilityNavigationStyle var accessibilityHeaderElements: [Any]? var accessibilityCustomRotors: [UIAccessibilityCustomRotor]? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension WKNavigationAction : CVarArg { } extension WKNavigationAction : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Modified WKNavigationAction.request
Declaration | |
---|---|
From | @NSCopying var request: NSURLRequest { get } |
To | var request: URLRequest { get } |
Modified WKNavigationActionPolicy [enum]
Declaration | |
---|---|
From | enum WKNavigationActionPolicy : Int { case Cancel case Allow } |
To | enum WKNavigationActionPolicy : Int { case cancel case allow } |
Modified WKNavigationActionPolicy.allow
Declaration | |
---|---|
From | case Allow |
To | case allow |
Modified WKNavigationActionPolicy.cancel
Declaration | |
---|---|
From | case Cancel |
To | case cancel |
Modified WKNavigationDelegate
Declaration | |
---|---|
From | protocol WKNavigationDelegate : NSObjectProtocol { optional func webView(_ webView: WKWebView, decidePolicyForNavigationAction navigationAction: WKNavigationAction, decisionHandler decisionHandler: (WKNavigationActionPolicy) -> Void) optional func webView(_ webView: WKWebView, decidePolicyForNavigationResponse navigationResponse: WKNavigationResponse, decisionHandler decisionHandler: (WKNavigationResponsePolicy) -> Void) optional func webView(_ webView: WKWebView, didStartProvisionalNavigation navigation: WKNavigation!) optional func webView(_ webView: WKWebView, didReceiveServerRedirectForProvisionalNavigation navigation: WKNavigation!) optional func webView(_ webView: WKWebView, didFailProvisionalNavigation navigation: WKNavigation!, withError error: NSError) optional func webView(_ webView: WKWebView, didCommitNavigation navigation: WKNavigation!) optional func webView(_ webView: WKWebView, didFinishNavigation navigation: WKNavigation!) optional func webView(_ webView: WKWebView, didFailNavigation navigation: WKNavigation!, withError error: NSError) optional func webView(_ webView: WKWebView, didReceiveAuthenticationChallenge challenge: NSURLAuthenticationChallenge, completionHandler completionHandler: (NSURLSessionAuthChallengeDisposition, NSURLCredential?) -> Void) optional func webViewWebContentProcessDidTerminate(_ webView: WKWebView) } |
To | protocol WKNavigationDelegate : NSObjectProtocol { optional func webView(_ webView: WKWebView, decidePolicyFor navigationAction: WKNavigationAction, decisionHandler decisionHandler: @escaping (WKNavigationActionPolicy) -> Swift.Void) optional func webView(_ webView: WKWebView, decidePolicyFor navigationResponse: WKNavigationResponse, decisionHandler decisionHandler: @escaping (WKNavigationResponsePolicy) -> Swift.Void) optional func webView(_ webView: WKWebView, didStartProvisionalNavigation navigation: WKNavigation!) optional func webView(_ webView: WKWebView, didReceiveServerRedirectForProvisionalNavigation navigation: WKNavigation!) optional func webView(_ webView: WKWebView, didFailProvisionalNavigation navigation: WKNavigation!, withError error: Error) optional func webView(_ webView: WKWebView, didCommit navigation: WKNavigation!) optional func webView(_ webView: WKWebView, didFinish navigation: WKNavigation!) optional func webView(_ webView: WKWebView, didFail navigation: WKNavigation!, withError error: Error) optional func webView(_ webView: WKWebView, didReceive challenge: URLAuthenticationChallenge, completionHandler completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Swift.Void) optional func webViewWebContentProcessDidTerminate(_ webView: WKWebView) } |
Declaration | |
---|---|
From | optional func webView(_ webView: WKWebView, decidePolicyForNavigationAction navigationAction: WKNavigationAction, decisionHandler decisionHandler: (WKNavigationActionPolicy) -> Void) |
To | optional func webView(_ webView: WKWebView, decidePolicyFor navigationAction: WKNavigationAction, decisionHandler decisionHandler: @escaping (WKNavigationActionPolicy) -> Swift.Void) |
Declaration | |
---|---|
From | optional func webView(_ webView: WKWebView, decidePolicyForNavigationResponse navigationResponse: WKNavigationResponse, decisionHandler decisionHandler: (WKNavigationResponsePolicy) -> Void) |
To | optional func webView(_ webView: WKWebView, decidePolicyFor navigationResponse: WKNavigationResponse, decisionHandler decisionHandler: @escaping (WKNavigationResponsePolicy) -> Swift.Void) |
Declaration | |
---|---|
From | optional func webView(_ webView: WKWebView, didCommitNavigation navigation: WKNavigation!) |
To | optional func webView(_ webView: WKWebView, didCommit navigation: WKNavigation!) |
Declaration | |
---|---|
From | optional func webView(_ webView: WKWebView, didFailNavigation navigation: WKNavigation!, withError error: NSError) |
To | optional func webView(_ webView: WKWebView, didFail navigation: WKNavigation!, withError error: Error) |
Declaration | |
---|---|
From | optional func webView(_ webView: WKWebView, didFailProvisionalNavigation navigation: WKNavigation!, withError error: NSError) |
To | optional func webView(_ webView: WKWebView, didFailProvisionalNavigation navigation: WKNavigation!, withError error: Error) |
Declaration | |
---|---|
From | optional func webView(_ webView: WKWebView, didFinishNavigation navigation: WKNavigation!) |
To | optional func webView(_ webView: WKWebView, didFinish navigation: WKNavigation!) |
Declaration | |
---|---|
From | optional func webView(_ webView: WKWebView, didReceiveAuthenticationChallenge challenge: NSURLAuthenticationChallenge, completionHandler completionHandler: (NSURLSessionAuthChallengeDisposition, NSURLCredential?) -> Void) |
To | optional func webView(_ webView: WKWebView, didReceive challenge: URLAuthenticationChallenge, completionHandler completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Swift.Void) |
Modified WKNavigationResponse
Declaration | Protocols | |
---|---|---|
From | class WKNavigationResponse : NSObject { var forMainFrame: Bool { get } @NSCopying var response: NSURLResponse { get } var canShowMIMEType: Bool { get } } | -- |
To | class WKNavigationResponse : NSObject { var isForMainFrame: Bool { get } @NSCopying var response: URLResponse { get } var canShowMIMEType: Bool { get } func awakeFromNib() func prepareForInterfaceBuilder() func accessibilityActivate() -> Bool func accessibilityIncrement() func accessibilityDecrement() func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool func accessibilityPerformEscape() -> Bool func accessibilityPerformMagicTap() -> Bool var accessibilityCustomActions: [UIAccessibilityCustomAction]? func accessibilityElementDidBecomeFocused() func accessibilityElementDidLoseFocus() func accessibilityElementIsFocused() -> Bool func accessibilityAssistiveTechnologyFocusedIdentifiers() -> Set<String>? func accessibilityElementCount() -> Int func accessibilityElement(at index: Int) -> Any? func index(ofAccessibilityElement element: Any) -> Int var accessibilityElements: [Any]? var isAccessibilityElement: Bool var accessibilityLabel: String? var accessibilityHint: String? var accessibilityValue: String? var accessibilityTraits: UIAccessibilityTraits var accessibilityFrame: CGRect @NSCopying var accessibilityPath: UIBezierPath? var accessibilityActivationPoint: CGPoint var accessibilityLanguage: String? var accessibilityElementsHidden: Bool var accessibilityViewIsModal: Bool var shouldGroupAccessibilityChildren: Bool var accessibilityNavigationStyle: UIAccessibilityNavigationStyle var accessibilityHeaderElements: [Any]? var accessibilityCustomRotors: [UIAccessibilityCustomRotor]? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension WKNavigationResponse : CVarArg { } extension WKNavigationResponse : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Modified WKNavigationResponse.isForMainFrame
Declaration | |
---|---|
From | var forMainFrame: Bool { get } |
To | var isForMainFrame: Bool { get } |
Modified WKNavigationResponse.response
Declaration | |
---|---|
From | @NSCopying var response: NSURLResponse { get } |
To | @NSCopying var response: URLResponse { get } |
Modified WKNavigationResponsePolicy [enum]
Declaration | |
---|---|
From | enum WKNavigationResponsePolicy : Int { case Cancel case Allow } |
To | enum WKNavigationResponsePolicy : Int { case cancel case allow } |
Modified WKNavigationResponsePolicy.allow
Declaration | |
---|---|
From | case Allow |
To | case allow |
Modified WKNavigationResponsePolicy.cancel
Declaration | |
---|---|
From | case Cancel |
To | case cancel |
Modified WKNavigationType [enum]
Declaration | |
---|---|
From | enum WKNavigationType : Int { case LinkActivated case FormSubmitted case BackForward case Reload case FormResubmitted case Other } |
To | enum WKNavigationType : Int { case linkActivated case formSubmitted case backForward case reload case formResubmitted case other } |
Modified WKNavigationType.backForward
Declaration | |
---|---|
From | case BackForward |
To | case backForward |
Modified WKNavigationType.formResubmitted
Declaration | |
---|---|
From | case FormResubmitted |
To | case formResubmitted |
Modified WKNavigationType.formSubmitted
Declaration | |
---|---|
From | case FormSubmitted |
To | case formSubmitted |
Modified WKNavigationType.linkActivated
Declaration | |
---|---|
From | case LinkActivated |
To | case linkActivated |
Modified WKNavigationType.other
Declaration | |
---|---|
From | case Other |
To | case other |
Modified WKNavigationType.reload
Declaration | |
---|---|
From | case Reload |
To | case reload |
Modified WKPreferences
Declaration | Protocols | |
---|---|---|
From | class WKPreferences : NSObject { var minimumFontSize: CGFloat var javaScriptEnabled: Bool var javaScriptCanOpenWindowsAutomatically: Bool } | -- |
To | class WKPreferences : NSObject, NSCoding { var minimumFontSize: CGFloat var javaScriptEnabled: Bool var javaScriptCanOpenWindowsAutomatically: Bool 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 WKPreferences : CVarArg { } extension WKPreferences : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCoding |
Modified WKProcessPool
Declaration | Protocols | |
---|---|---|
From | class WKProcessPool : NSObject { } | -- |
To | class WKProcessPool : NSObject, NSCoding { 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 WKProcessPool : CVarArg { } extension WKProcessPool : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCoding |
Modified WKScriptMessage
Declaration | Protocols | |
---|---|---|
From | class WKScriptMessage : NSObject { @NSCopying var body: AnyObject { get } weak var webView: WKWebView? { get } @NSCopying var frameInfo: WKFrameInfo { get } var name: String { get } } | -- |
To | class WKScriptMessage : NSObject { var body: Any { get } weak var webView: WKWebView? { get } @NSCopying var frameInfo: WKFrameInfo { get } var name: String { get } func awakeFromNib() func prepareForInterfaceBuilder() func accessibilityActivate() -> Bool func accessibilityIncrement() func accessibilityDecrement() func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool func accessibilityPerformEscape() -> Bool func accessibilityPerformMagicTap() -> Bool var accessibilityCustomActions: [UIAccessibilityCustomAction]? func accessibilityElementDidBecomeFocused() func accessibilityElementDidLoseFocus() func accessibilityElementIsFocused() -> Bool func accessibilityAssistiveTechnologyFocusedIdentifiers() -> Set<String>? func accessibilityElementCount() -> Int func accessibilityElement(at index: Int) -> Any? func index(ofAccessibilityElement element: Any) -> Int var accessibilityElements: [Any]? var isAccessibilityElement: Bool var accessibilityLabel: String? var accessibilityHint: String? var accessibilityValue: String? var accessibilityTraits: UIAccessibilityTraits var accessibilityFrame: CGRect @NSCopying var accessibilityPath: UIBezierPath? var accessibilityActivationPoint: CGPoint var accessibilityLanguage: String? var accessibilityElementsHidden: Bool var accessibilityViewIsModal: Bool var shouldGroupAccessibilityChildren: Bool var accessibilityNavigationStyle: UIAccessibilityNavigationStyle var accessibilityHeaderElements: [Any]? var accessibilityCustomRotors: [UIAccessibilityCustomRotor]? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension WKScriptMessage : CVarArg { } extension WKScriptMessage : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Modified WKScriptMessage.body
Declaration | |
---|---|
From | @NSCopying var body: AnyObject { get } |
To | var body: Any { get } |
Modified WKScriptMessageHandler
Declaration | |
---|---|
From | protocol WKScriptMessageHandler : NSObjectProtocol { func userContentController(_ userContentController: WKUserContentController, didReceiveScriptMessage message: WKScriptMessage) } |
To | protocol WKScriptMessageHandler : NSObjectProtocol { func userContentController(_ userContentController: WKUserContentController, didReceive message: WKScriptMessage) } |
Declaration | |
---|---|
From | func userContentController(_ userContentController: WKUserContentController, didReceiveScriptMessage message: WKScriptMessage) |
To | func userContentController(_ userContentController: WKUserContentController, didReceive message: WKScriptMessage) |
Modified WKSecurityOrigin
Declaration | Protocols | |
---|---|---|
From | class WKSecurityOrigin : NSObject { init() var `protocol`: String { get } var host: String { get } var port: Int { get } } | -- |
To | class WKSecurityOrigin : NSObject { init() var `protocol`: String { get } var host: String { get } var port: Int { get } func awakeFromNib() func prepareForInterfaceBuilder() func accessibilityActivate() -> Bool func accessibilityIncrement() func accessibilityDecrement() func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool func accessibilityPerformEscape() -> Bool func accessibilityPerformMagicTap() -> Bool var accessibilityCustomActions: [UIAccessibilityCustomAction]? func accessibilityElementDidBecomeFocused() func accessibilityElementDidLoseFocus() func accessibilityElementIsFocused() -> Bool func accessibilityAssistiveTechnologyFocusedIdentifiers() -> Set<String>? func accessibilityElementCount() -> Int func accessibilityElement(at index: Int) -> Any? func index(ofAccessibilityElement element: Any) -> Int var accessibilityElements: [Any]? var isAccessibilityElement: Bool var accessibilityLabel: String? var accessibilityHint: String? var accessibilityValue: String? var accessibilityTraits: UIAccessibilityTraits var accessibilityFrame: CGRect @NSCopying var accessibilityPath: UIBezierPath? var accessibilityActivationPoint: CGPoint var accessibilityLanguage: String? var accessibilityElementsHidden: Bool var accessibilityViewIsModal: Bool var shouldGroupAccessibilityChildren: Bool var accessibilityNavigationStyle: UIAccessibilityNavigationStyle var accessibilityHeaderElements: [Any]? var accessibilityCustomRotors: [UIAccessibilityCustomRotor]? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension WKSecurityOrigin : CVarArg { } extension WKSecurityOrigin : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Modified WKSelectionGranularity [enum]
Declaration | |
---|---|
From | enum WKSelectionGranularity : Int { case Dynamic case Character } |
To | enum WKSelectionGranularity : Int { case dynamic case character } |
Modified WKSelectionGranularity.character
Declaration | |
---|---|
From | case Character |
To | case character |
Modified WKSelectionGranularity.dynamic
Declaration | |
---|---|
From | case Dynamic |
To | case dynamic |
Modified WKUIDelegate
Declaration | |
---|---|
From | protocol WKUIDelegate : NSObjectProtocol { optional func webView(_ webView: WKWebView, createWebViewWithConfiguration configuration: WKWebViewConfiguration, forNavigationAction navigationAction: WKNavigationAction, windowFeatures windowFeatures: WKWindowFeatures) -> WKWebView? optional func webViewDidClose(_ webView: WKWebView) optional func webView(_ webView: WKWebView, runJavaScriptAlertPanelWithMessage message: String, initiatedByFrame frame: WKFrameInfo, completionHandler completionHandler: () -> Void) optional func webView(_ webView: WKWebView, runJavaScriptConfirmPanelWithMessage message: String, initiatedByFrame frame: WKFrameInfo, completionHandler completionHandler: (Bool) -> Void) optional func webView(_ webView: WKWebView, runJavaScriptTextInputPanelWithPrompt prompt: String, defaultText defaultText: String?, initiatedByFrame frame: WKFrameInfo, completionHandler completionHandler: (String?) -> Void) } |
To | protocol WKUIDelegate : NSObjectProtocol { optional func webView(_ webView: WKWebView, createWebViewWith configuration: WKWebViewConfiguration, for navigationAction: WKNavigationAction, windowFeatures windowFeatures: WKWindowFeatures) -> WKWebView? optional func webViewDidClose(_ webView: WKWebView) optional func webView(_ webView: WKWebView, runJavaScriptAlertPanelWithMessage message: String, initiatedByFrame frame: WKFrameInfo, completionHandler completionHandler: @escaping () -> Swift.Void) optional func webView(_ webView: WKWebView, runJavaScriptConfirmPanelWithMessage message: String, initiatedByFrame frame: WKFrameInfo, completionHandler completionHandler: @escaping (Bool) -> Swift.Void) optional func webView(_ webView: WKWebView, runJavaScriptTextInputPanelWithPrompt prompt: String, defaultText defaultText: String?, initiatedByFrame frame: WKFrameInfo, completionHandler completionHandler: @escaping (String?) -> Swift.Void) optional func webView(_ webView: WKWebView, shouldPreviewElement elementInfo: WKPreviewElementInfo) -> Bool optional func webView(_ webView: WKWebView, previewingViewControllerForElement elementInfo: WKPreviewElementInfo, defaultActions previewActions: [WKPreviewActionItem]) -> UIViewController? optional func webView(_ webView: WKWebView, commitPreviewingViewController previewingViewController: UIViewController) } |
Declaration | |
---|---|
From | optional func webView(_ webView: WKWebView, createWebViewWithConfiguration configuration: WKWebViewConfiguration, forNavigationAction navigationAction: WKNavigationAction, windowFeatures windowFeatures: WKWindowFeatures) -> WKWebView? |
To | optional func webView(_ webView: WKWebView, createWebViewWith configuration: WKWebViewConfiguration, for navigationAction: WKNavigationAction, windowFeatures windowFeatures: WKWindowFeatures) -> WKWebView? |
Declaration | |
---|---|
From | optional func webView(_ webView: WKWebView, runJavaScriptAlertPanelWithMessage message: String, initiatedByFrame frame: WKFrameInfo, completionHandler completionHandler: () -> Void) |
To | optional func webView(_ webView: WKWebView, runJavaScriptAlertPanelWithMessage message: String, initiatedByFrame frame: WKFrameInfo, completionHandler completionHandler: @escaping () -> Swift.Void) |
Declaration | |
---|---|
From | optional func webView(_ webView: WKWebView, runJavaScriptConfirmPanelWithMessage message: String, initiatedByFrame frame: WKFrameInfo, completionHandler completionHandler: (Bool) -> Void) |
To | optional func webView(_ webView: WKWebView, runJavaScriptConfirmPanelWithMessage message: String, initiatedByFrame frame: WKFrameInfo, completionHandler completionHandler: @escaping (Bool) -> Swift.Void) |
Declaration | |
---|---|
From | optional func webView(_ webView: WKWebView, runJavaScriptTextInputPanelWithPrompt prompt: String, defaultText defaultText: String?, initiatedByFrame frame: WKFrameInfo, completionHandler completionHandler: (String?) -> Void) |
To | optional func webView(_ webView: WKWebView, runJavaScriptTextInputPanelWithPrompt prompt: String, defaultText defaultText: String?, initiatedByFrame frame: WKFrameInfo, completionHandler completionHandler: @escaping (String?) -> Swift.Void) |
Modified WKUserContentController
Declaration | Protocols | |
---|---|---|
From | class WKUserContentController : NSObject { var userScripts: [WKUserScript] { get } func addUserScript(_ userScript: WKUserScript) func removeAllUserScripts() func addScriptMessageHandler(_ scriptMessageHandler: WKScriptMessageHandler, name name: String) func removeScriptMessageHandlerForName(_ name: String) } | -- |
To | class WKUserContentController : NSObject, NSCoding { var userScripts: [WKUserScript] { get } func addUserScript(_ userScript: WKUserScript) func removeAllUserScripts() func add(_ scriptMessageHandler: WKScriptMessageHandler, name name: String) func removeScriptMessageHandler(forName name: 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 WKUserContentController : CVarArg { } extension WKUserContentController : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCoding |
Declaration | |
---|---|
From | func addScriptMessageHandler(_ scriptMessageHandler: WKScriptMessageHandler, name name: String) |
To | func add(_ scriptMessageHandler: WKScriptMessageHandler, name name: String) |
Declaration | |
---|---|
From | func removeScriptMessageHandlerForName(_ name: String) |
To | func removeScriptMessageHandler(forName name: String) |
Modified WKUserScript
Declaration | Protocols | |
---|---|---|
From | class WKUserScript : NSObject, NSCopying { var source: String { get } var injectionTime: WKUserScriptInjectionTime { get } var forMainFrameOnly: Bool { get } init(source source: String, injectionTime injectionTime: WKUserScriptInjectionTime, forMainFrameOnly forMainFrameOnly: Bool) } | NSCopying |
To | class WKUserScript : NSObject, NSCopying { var source: String { get } var injectionTime: WKUserScriptInjectionTime { get } var isForMainFrameOnly: Bool { get } init(source source: String, injectionTime injectionTime: WKUserScriptInjectionTime, forMainFrameOnly forMainFrameOnly: Bool) 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 WKUserScript : CVarArg { } extension WKUserScript : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCopying |
Modified WKUserScript.isForMainFrameOnly
Declaration | |
---|---|
From | var forMainFrameOnly: Bool { get } |
To | var isForMainFrameOnly: Bool { get } |
Modified WKUserScriptInjectionTime [enum]
Declaration | |
---|---|
From | enum WKUserScriptInjectionTime : Int { case AtDocumentStart case AtDocumentEnd } |
To | enum WKUserScriptInjectionTime : Int { case atDocumentStart case atDocumentEnd } |
Declaration | |
---|---|
From | case AtDocumentEnd |
To | case atDocumentEnd |
Declaration | |
---|---|
From | case AtDocumentStart |
To | case atDocumentStart |
Modified WKWebsiteDataRecord
Declaration | Protocols | |
---|---|---|
From | class WKWebsiteDataRecord : NSObject { var displayName: String { get } var dataTypes: Set<String> { get } } | -- |
To | class WKWebsiteDataRecord : NSObject { var displayName: String { get } var dataTypes: Set<String> { get } func awakeFromNib() func prepareForInterfaceBuilder() func accessibilityActivate() -> Bool func accessibilityIncrement() func accessibilityDecrement() func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool func accessibilityPerformEscape() -> Bool func accessibilityPerformMagicTap() -> Bool var accessibilityCustomActions: [UIAccessibilityCustomAction]? func accessibilityElementDidBecomeFocused() func accessibilityElementDidLoseFocus() func accessibilityElementIsFocused() -> Bool func accessibilityAssistiveTechnologyFocusedIdentifiers() -> Set<String>? func accessibilityElementCount() -> Int func accessibilityElement(at index: Int) -> Any? func index(ofAccessibilityElement element: Any) -> Int var accessibilityElements: [Any]? var isAccessibilityElement: Bool var accessibilityLabel: String? var accessibilityHint: String? var accessibilityValue: String? var accessibilityTraits: UIAccessibilityTraits var accessibilityFrame: CGRect @NSCopying var accessibilityPath: UIBezierPath? var accessibilityActivationPoint: CGPoint var accessibilityLanguage: String? var accessibilityElementsHidden: Bool var accessibilityViewIsModal: Bool var shouldGroupAccessibilityChildren: Bool var accessibilityNavigationStyle: UIAccessibilityNavigationStyle var accessibilityHeaderElements: [Any]? var accessibilityCustomRotors: [UIAccessibilityCustomRotor]? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension WKWebsiteDataRecord : CVarArg { } extension WKWebsiteDataRecord : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Modified WKWebsiteDataStore
Declaration | Protocols | |
---|---|---|
From | class WKWebsiteDataStore : NSObject { class func defaultDataStore() -> WKWebsiteDataStore class func nonPersistentDataStore() -> WKWebsiteDataStore init() var persistent: Bool { get } class func allWebsiteDataTypes() -> Set<String> func fetchDataRecordsOfTypes(_ dataTypes: Set<String>, completionHandler completionHandler: ([WKWebsiteDataRecord]) -> Void) func removeDataOfTypes(_ dataTypes: Set<String>, forDataRecords dataRecords: [WKWebsiteDataRecord], completionHandler completionHandler: () -> Void) func removeDataOfTypes(_ websiteDataTypes: Set<String>, modifiedSince date: NSDate, completionHandler completionHandler: () -> Void) } | -- |
To | class WKWebsiteDataStore : NSObject, NSCoding { class func `default`() -> WKWebsiteDataStore class func nonPersistent() -> WKWebsiteDataStore init() var isPersistent: Bool { get } class func allWebsiteDataTypes() -> Set<String> func fetchDataRecords(ofTypes dataTypes: Set<String>, completionHandler completionHandler: @escaping ([WKWebsiteDataRecord]) -> Swift.Void) func removeData(ofTypes dataTypes: Set<String>, for dataRecords: [WKWebsiteDataRecord], completionHandler completionHandler: @escaping () -> Swift.Void) func removeData(ofTypes websiteDataTypes: Set<String>, modifiedSince date: Date, completionHandler completionHandler: @escaping () -> Swift.Void) 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 WKWebsiteDataStore : CVarArg { } extension WKWebsiteDataStore : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCoding |
Modified WKWebsiteDataStore.default() [class]
Declaration | |
---|---|
From | class func defaultDataStore() -> WKWebsiteDataStore |
To | class func `default`() -> WKWebsiteDataStore |
Declaration | |
---|---|
From | func fetchDataRecordsOfTypes(_ dataTypes: Set<String>, completionHandler completionHandler: ([WKWebsiteDataRecord]) -> Void) |
To | func fetchDataRecords(ofTypes dataTypes: Set<String>, completionHandler completionHandler: @escaping ([WKWebsiteDataRecord]) -> Swift.Void) |
Modified WKWebsiteDataStore.isPersistent
Declaration | |
---|---|
From | var persistent: Bool { get } |
To | var isPersistent: Bool { get } |
Declaration | |
---|---|
From | class func nonPersistentDataStore() -> WKWebsiteDataStore |
To | class func nonPersistent() -> WKWebsiteDataStore |
Declaration | |
---|---|
From | func removeDataOfTypes(_ dataTypes: Set<String>, forDataRecords dataRecords: [WKWebsiteDataRecord], completionHandler completionHandler: () -> Void) |
To | func removeData(ofTypes dataTypes: Set<String>, for dataRecords: [WKWebsiteDataRecord], completionHandler completionHandler: @escaping () -> Swift.Void) |
Declaration | |
---|---|
From | func removeDataOfTypes(_ websiteDataTypes: Set<String>, modifiedSince date: NSDate, completionHandler completionHandler: () -> Void) |
To | func removeData(ofTypes websiteDataTypes: Set<String>, modifiedSince date: Date, completionHandler completionHandler: @escaping () -> Swift.Void) |
Modified WKWebView
Declaration | Protocols | |
---|---|---|
From | class WKWebView : UIView { @NSCopying var configuration: WKWebViewConfiguration { get } weak var navigationDelegate: WKNavigationDelegate? weak var UIDelegate: WKUIDelegate? var backForwardList: WKBackForwardList { get } init(frame frame: CGRect, configuration configuration: WKWebViewConfiguration) convenience init(coder coder: NSCoder) func loadRequest(_ request: NSURLRequest) -> WKNavigation? func loadFileURL(_ URL: NSURL, allowingReadAccessToURL readAccessURL: NSURL) -> WKNavigation? func loadHTMLString(_ string: String, baseURL baseURL: NSURL?) -> WKNavigation? func loadData(_ data: NSData, MIMEType MIMEType: String, characterEncodingName characterEncodingName: String, baseURL baseURL: NSURL) -> WKNavigation? func goToBackForwardListItem(_ item: WKBackForwardListItem) -> WKNavigation? var title: String? { get } @NSCopying var URL: NSURL? { get } var loading: Bool { get } var estimatedProgress: Double { get } var hasOnlySecureContent: Bool { get } var certificateChain: [AnyObject] { get } var canGoBack: Bool { get } var canGoForward: Bool { get } func goBack() -> WKNavigation? func goForward() -> WKNavigation? func reload() -> WKNavigation? func reloadFromOrigin() -> WKNavigation? func stopLoading() func evaluateJavaScript(_ javaScriptString: String, completionHandler completionHandler: ((AnyObject?, NSError?) -> Void)?) var allowsBackForwardNavigationGestures: Bool var customUserAgent: String? var allowsLinkPreview: Bool var scrollView: UIScrollView { get } } | -- |
To | class WKWebView : UIView { @NSCopying var configuration: WKWebViewConfiguration { get } weak var navigationDelegate: WKNavigationDelegate? weak var uiDelegate: WKUIDelegate? var backForwardList: WKBackForwardList { get } init(frame frame: CGRect, configuration configuration: WKWebViewConfiguration) init?(coder coder: NSCoder) func load(_ request: URLRequest) -> WKNavigation? func loadFileURL(_ URL: URL, allowingReadAccessTo readAccessURL: URL) -> WKNavigation? func loadHTMLString(_ string: String, baseURL baseURL: URL?) -> WKNavigation? func load(_ data: Data, mimeType MIMEType: String, characterEncodingName characterEncodingName: String, baseURL baseURL: URL) -> WKNavigation? func go(to item: WKBackForwardListItem) -> WKNavigation? var title: String? { get } var url: URL? { get } var isLoading: Bool { get } var estimatedProgress: Double { get } var hasOnlySecureContent: Bool { get } var serverTrust: SecTrust? { get } var canGoBack: Bool { get } var canGoForward: Bool { get } func goBack() -> WKNavigation? func goForward() -> WKNavigation? func reload() -> WKNavigation? func reloadFromOrigin() -> WKNavigation? func stopLoading() func evaluateJavaScript(_ javaScriptString: String, completionHandler completionHandler: (@escaping (Any?, Error?) -> Swift.Void)? = nil) var allowsBackForwardNavigationGestures: Bool var customUserAgent: String? var allowsLinkPreview: Bool var scrollView: UIScrollView { get } var certificateChain: [Any] { get } func viewPrintFormatter() -> UIViewPrintFormatter func draw(_ rect: CGRect, for formatter: UIViewPrintFormatter) func endEditing(_ force: Bool) -> Bool func snapshotView(afterScreenUpdates afterUpdates: Bool) -> UIView? func resizableSnapshotView(from rect: CGRect, afterScreenUpdates afterUpdates: Bool, withCapInsets capInsets: UIEdgeInsets) -> UIView? func drawHierarchy(in rect: CGRect, afterScreenUpdates afterUpdates: Bool) -> Bool var restorationIdentifier: String? func encodeRestorableState(with coder: NSCoder) func decodeRestorableState(with coder: NSCoder) func constraintsAffectingLayout(for axis: UILayoutConstraintAxis) -> [NSLayoutConstraint] var hasAmbiguousLayout: Bool { get } func exerciseAmbiguityInLayout() var leadingAnchor: NSLayoutXAxisAnchor { get } var trailingAnchor: NSLayoutXAxisAnchor { get } var leftAnchor: NSLayoutXAxisAnchor { get } var rightAnchor: NSLayoutXAxisAnchor { get } var topAnchor: NSLayoutYAxisAnchor { get } var bottomAnchor: NSLayoutYAxisAnchor { get } var widthAnchor: NSLayoutDimension { get } var heightAnchor: NSLayoutDimension { get } var centerXAnchor: NSLayoutXAxisAnchor { get } var centerYAnchor: NSLayoutYAxisAnchor { get } var firstBaselineAnchor: NSLayoutYAxisAnchor { get } var lastBaselineAnchor: NSLayoutYAxisAnchor { get } var layoutGuides: [UILayoutGuide] { get } func addLayoutGuide(_ layoutGuide: UILayoutGuide) func removeLayoutGuide(_ layoutGuide: UILayoutGuide) func systemLayoutSizeFitting(_ targetSize: CGSize) -> CGSize func systemLayoutSizeFitting(_ targetSize: CGSize, withHorizontalFittingPriority horizontalFittingPriority: UILayoutPriority, verticalFittingPriority verticalFittingPriority: UILayoutPriority) -> CGSize func alignmentRect(forFrame frame: CGRect) -> CGRect func frame(forAlignmentRect alignmentRect: CGRect) -> CGRect var alignmentRectInsets: UIEdgeInsets { get } func forBaselineLayout() -> UIView var forFirstBaselineLayout: UIView { get } var forLastBaselineLayout: UIView { get } var intrinsicContentSize: CGSize { get } func invalidateIntrinsicContentSize() func contentHuggingPriority(for axis: UILayoutConstraintAxis) -> UILayoutPriority func setContentHuggingPriority(_ priority: UILayoutPriority, for axis: UILayoutConstraintAxis) func contentCompressionResistancePriority(for axis: UILayoutConstraintAxis) -> UILayoutPriority func setContentCompressionResistancePriority(_ priority: UILayoutPriority, for axis: UILayoutConstraintAxis) var translatesAutoresizingMaskIntoConstraints: Bool class var requiresConstraintBasedLayout: Bool { get } func updateConstraintsIfNeeded() func updateConstraints() func needsUpdateConstraints() -> Bool func setNeedsUpdateConstraints() var constraints: [NSLayoutConstraint] { get } func addConstraint(_ constraint: NSLayoutConstraint) func addConstraints(_ constraints: [NSLayoutConstraint]) func removeConstraint(_ constraint: NSLayoutConstraint) func removeConstraints(_ constraints: [NSLayoutConstraint]) func addMotionEffect(_ effect: UIMotionEffect) func removeMotionEffect(_ effect: UIMotionEffect) var motionEffects: [UIMotionEffect] var gestureRecognizers: [UIGestureRecognizer]? func addGestureRecognizer(_ gestureRecognizer: UIGestureRecognizer) func removeGestureRecognizer(_ gestureRecognizer: UIGestureRecognizer) func gestureRecognizerShouldBegin(_ gestureRecognizer: UIGestureRecognizer) -> Bool class func animateKeyframes(withDuration duration: TimeInterval, delay delay: TimeInterval, options options: UIViewKeyframeAnimationOptions = [], animations animations: @escaping () -> Void, completion completion: (@escaping (Bool) -> Void)? = nil) class func addKeyframe(withRelativeStartTime frameStartTime: Double, relativeDuration frameDuration: Double, animations animations: @escaping () -> Void) class func animate(withDuration duration: TimeInterval, delay delay: TimeInterval, options options: UIViewAnimationOptions = [], animations animations: @escaping () -> Void, completion completion: (@escaping (Bool) -> Void)? = nil) class func animate(withDuration duration: TimeInterval, animations animations: @escaping () -> Void, completion completion: (@escaping (Bool) -> Void)? = nil) class func animate(withDuration duration: TimeInterval, animations animations: @escaping () -> Void) class func animate(withDuration duration: TimeInterval, delay delay: TimeInterval, usingSpringWithDamping dampingRatio: CGFloat, initialSpringVelocity velocity: CGFloat, options options: UIViewAnimationOptions = [], animations animations: @escaping () -> Void, completion completion: (@escaping (Bool) -> Void)? = nil) class func transition(with view: UIView, duration duration: TimeInterval, options options: UIViewAnimationOptions = [], animations animations: (@escaping () -> Void)?, completion completion: (@escaping (Bool) -> Void)? = nil) class func transition(from fromView: UIView, to toView: UIView, duration duration: TimeInterval, options options: UIViewAnimationOptions = [], completion completion: (@escaping (Bool) -> Void)? = nil) class func perform(_ animation: UISystemAnimation, on views: [UIView], options options: UIViewAnimationOptions = [], animations parallelAnimations: (@escaping () -> Void)?, completion completion: (@escaping (Bool) -> Void)? = nil) class func beginAnimations(_ animationID: String?, context context: UnsafeMutableRawPointer?) class func commitAnimations() class func setAnimationDelegate(_ delegate: Any?) class func setAnimationWillStart(_ selector: Selector?) class func setAnimationDidStop(_ selector: Selector?) class func setAnimationDuration(_ duration: TimeInterval) class func setAnimationDelay(_ delay: TimeInterval) class func setAnimationStart(_ startDate: Date) class func setAnimationCurve(_ curve: UIViewAnimationCurve) class func setAnimationRepeatCount(_ repeatCount: Float) class func setAnimationRepeatAutoreverses(_ repeatAutoreverses: Bool) class func setAnimationBeginsFromCurrentState(_ fromCurrentState: Bool) class func setAnimationTransition(_ transition: UIViewAnimationTransition, for view: UIView, cache cache: Bool) class func setAnimationsEnabled(_ enabled: Bool) class var areAnimationsEnabled: Bool { get } class func performWithoutAnimation(_ actionsWithoutAnimation: () -> Void) class var inheritedAnimationDuration: TimeInterval { get } func draw(_ rect: CGRect) func setNeedsDisplay() func setNeedsDisplay(_ rect: CGRect) var clipsToBounds: Bool @NSCopying var backgroundColor: UIColor? var alpha: CGFloat var isOpaque: Bool var clearsContextBeforeDrawing: Bool var isHidden: Bool var contentMode: UIViewContentMode var contentStretch: CGRect var mask: UIView? var tintColor: UIColor! var tintAdjustmentMode: UIViewTintAdjustmentMode func tintColorDidChange() var superview: UIView? { get } var subviews: [UIView] { get } var window: UIWindow? { get } func removeFromSuperview() func insertSubview(_ view: UIView, at index: Int) func exchangeSubview(at index1: Int, withSubviewAt index2: Int) func addSubview(_ view: UIView) func insertSubview(_ view: UIView, belowSubview siblingSubview: UIView) func insertSubview(_ view: UIView, aboveSubview siblingSubview: UIView) func bringSubview(toFront view: UIView) func sendSubview(toBack view: UIView) func didAddSubview(_ subview: UIView) func willRemoveSubview(_ subview: UIView) func willMove(toSuperview newSuperview: UIView?) func didMoveToSuperview() func willMove(toWindow newWindow: UIWindow?) func didMoveToWindow() func isDescendant(of view: UIView) -> Bool func viewWithTag(_ tag: Int) -> UIView? func setNeedsLayout() func layoutIfNeeded() func layoutSubviews() var layoutMargins: UIEdgeInsets var preservesSuperviewLayoutMargins: Bool func layoutMarginsDidChange() var layoutMarginsGuide: UILayoutGuide { get } var readableContentGuide: UILayoutGuide { get } var frame: CGRect var bounds: CGRect var center: CGPoint var transform: CGAffineTransform var contentScaleFactor: CGFloat var isMultipleTouchEnabled: Bool var isExclusiveTouch: Bool func hitTest(_ point: CGPoint, with event: UIEvent?) -> UIView? func point(inside point: CGPoint, with event: UIEvent?) -> Bool func convert(_ point: CGPoint, to view: UIView?) -> CGPoint func convert(_ point: CGPoint, from view: UIView?) -> CGPoint func convert(_ rect: CGRect, to view: UIView?) -> CGRect func convert(_ rect: CGRect, from view: UIView?) -> CGRect var autoresizesSubviews: Bool var autoresizingMask: UIViewAutoresizing func sizeThatFits(_ size: CGSize) -> CGSize func sizeToFit() var userActivity: NSUserActivity? func updateUserActivityState(_ activity: NSUserActivity) func restoreUserActivityState(_ activity: NSUserActivity) var keyCommands: [UIKeyCommand]? { get } func awakeFromNib() func prepareForInterfaceBuilder() func accessibilityActivate() -> Bool func accessibilityIncrement() func accessibilityDecrement() func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool func accessibilityPerformEscape() -> Bool func accessibilityPerformMagicTap() -> Bool var accessibilityCustomActions: [UIAccessibilityCustomAction]? func accessibilityElementDidBecomeFocused() func accessibilityElementDidLoseFocus() func accessibilityElementIsFocused() -> Bool func accessibilityAssistiveTechnologyFocusedIdentifiers() -> Set<String>? func accessibilityElementCount() -> Int func accessibilityElement(at index: Int) -> Any? func index(ofAccessibilityElement element: Any) -> Int var accessibilityElements: [Any]? var isAccessibilityElement: Bool var accessibilityLabel: String? var accessibilityHint: String? var accessibilityValue: String? var accessibilityTraits: UIAccessibilityTraits var accessibilityFrame: CGRect @NSCopying var accessibilityPath: UIBezierPath? var accessibilityActivationPoint: CGPoint var accessibilityLanguage: String? var accessibilityElementsHidden: Bool var accessibilityViewIsModal: Bool var shouldGroupAccessibilityChildren: Bool var accessibilityNavigationStyle: UIAccessibilityNavigationStyle var accessibilityHeaderElements: [Any]? var accessibilityCustomRotors: [UIAccessibilityCustomRotor]? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) var inputView: UIView? { get } var inputAccessoryView: UIView? { get } var inputAssistantItem: UITextInputAssistantItem { get } var inputViewController: UIInputViewController? { get } var inputAccessoryViewController: UIInputViewController? { get } var textInputMode: UITextInputMode? { get } var textInputContextIdentifier: String? { get } class func clearTextInputContextIdentifier(_ identifier: String) func reloadInputViews() } extension WKWebView : UIAccessibilityIdentification { } extension WKWebView : CVarArg { } extension WKWebView : Equatable, Hashable { var hashValue: Int { get } } extension WKWebView { var certificateChain: [Any] { get } } | CVarArg, Equatable, Hashable, UIAccessibilityIdentification |
Modified WKWebView.certificateChain
Declaration | Deprecation | |
---|---|---|
From | var certificateChain: [AnyObject] { get } | -- |
To | var certificateChain: [Any] { get } | iOS 10.0 |
Modified WKWebView.evaluateJavaScript(_: String, completionHandler: ( (Any?, Error?) -> Swift.Void)?)
Declaration | |
---|---|
From | func evaluateJavaScript(_ javaScriptString: String, completionHandler completionHandler: ((AnyObject?, NSError?) -> Void)?) |
To | func evaluateJavaScript(_ javaScriptString: String, completionHandler completionHandler: (@escaping (Any?, Error?) -> Swift.Void)? = nil) |
Declaration | |
---|---|
From | func goToBackForwardListItem(_ item: WKBackForwardListItem) -> WKNavigation? |
To | func go(to item: WKBackForwardListItem) -> WKNavigation? |
Modified WKWebView.isLoading
Declaration | |
---|---|
From | var loading: Bool { get } |
To | var isLoading: Bool { get } |
Declaration | |
---|---|
From | func loadRequest(_ request: NSURLRequest) -> WKNavigation? |
To | func load(_ request: URLRequest) -> WKNavigation? |
Declaration | |
---|---|
From | func loadData(_ data: NSData, MIMEType MIMEType: String, characterEncodingName characterEncodingName: String, baseURL baseURL: NSURL) -> WKNavigation? |
To | func load(_ data: Data, mimeType MIMEType: String, characterEncodingName characterEncodingName: String, baseURL baseURL: URL) -> WKNavigation? |
Declaration | |
---|---|
From | func loadFileURL(_ URL: NSURL, allowingReadAccessToURL readAccessURL: NSURL) -> WKNavigation? |
To | func loadFileURL(_ URL: URL, allowingReadAccessTo readAccessURL: URL) -> WKNavigation? |
Declaration | |
---|---|
From | func loadHTMLString(_ string: String, baseURL baseURL: NSURL?) -> WKNavigation? |
To | func loadHTMLString(_ string: String, baseURL baseURL: URL?) -> WKNavigation? |
Modified WKWebView.uiDelegate
Declaration | |
---|---|
From | weak var UIDelegate: WKUIDelegate? |
To | weak var uiDelegate: WKUIDelegate? |
Modified WKWebView.url
Declaration | |
---|---|
From | @NSCopying var URL: NSURL? { get } |
To | var url: URL? { get } |
Modified WKWebViewConfiguration
Declaration | Protocols | |
---|---|---|
From | class WKWebViewConfiguration : NSObject, NSCopying { var processPool: WKProcessPool var preferences: WKPreferences var userContentController: WKUserContentController var websiteDataStore: WKWebsiteDataStore var suppressesIncrementalRendering: Bool var applicationNameForUserAgent: String? var allowsAirPlayForMediaPlayback: Bool var allowsInlineMediaPlayback: Bool var requiresUserActionForMediaPlayback: Bool var selectionGranularity: WKSelectionGranularity var allowsPictureInPictureMediaPlayback: Bool } extension WKWebViewConfiguration { var mediaPlaybackRequiresUserAction: Bool var mediaPlaybackAllowsAirPlay: Bool } | NSCopying |
To | class WKWebViewConfiguration : NSObject, NSCoding, NSCopying { var processPool: WKProcessPool var preferences: WKPreferences var userContentController: WKUserContentController var websiteDataStore: WKWebsiteDataStore var suppressesIncrementalRendering: Bool var applicationNameForUserAgent: String? var allowsAirPlayForMediaPlayback: Bool var mediaTypesRequiringUserActionForPlayback: WKAudiovisualMediaTypes var allowsInlineMediaPlayback: Bool var selectionGranularity: WKSelectionGranularity var allowsPictureInPictureMediaPlayback: Bool var dataDetectorTypes: WKDataDetectorTypes var ignoresViewportScaleLimits: Bool var mediaPlaybackRequiresUserAction: Bool var mediaPlaybackAllowsAirPlay: Bool var requiresUserActionForMediaPlayback: Bool 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 WKWebViewConfiguration : CVarArg { } extension WKWebViewConfiguration : Equatable, Hashable { var hashValue: Int { get } } extension WKWebViewConfiguration { var mediaPlaybackRequiresUserAction: Bool var mediaPlaybackAllowsAirPlay: Bool var requiresUserActionForMediaPlayback: Bool } | CVarArg, Equatable, Hashable, NSCoding, NSCopying |
Deprecation | |
---|---|
From | -- |
To | iOS 10.0 |
Modified WKWindowFeatures
Declaration | Protocols | |
---|---|---|
From | class WKWindowFeatures : NSObject { var menuBarVisibility: NSNumber? { get } var statusBarVisibility: NSNumber? { get } var toolbarsVisibility: NSNumber? { get } var allowsResizing: NSNumber? { get } var x: NSNumber? { get } var y: NSNumber? { get } var width: NSNumber? { get } var height: NSNumber? { get } } | -- |
To | class WKWindowFeatures : NSObject { var menuBarVisibility: NSNumber? { get } var statusBarVisibility: NSNumber? { get } var toolbarsVisibility: NSNumber? { get } var allowsResizing: NSNumber? { get } var x: NSNumber? { get } var y: NSNumber? { get } var width: NSNumber? { get } var height: NSNumber? { get } func awakeFromNib() func prepareForInterfaceBuilder() func accessibilityActivate() -> Bool func accessibilityIncrement() func accessibilityDecrement() func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool func accessibilityPerformEscape() -> Bool func accessibilityPerformMagicTap() -> Bool var accessibilityCustomActions: [UIAccessibilityCustomAction]? func accessibilityElementDidBecomeFocused() func accessibilityElementDidLoseFocus() func accessibilityElementIsFocused() -> Bool func accessibilityAssistiveTechnologyFocusedIdentifiers() -> Set<String>? func accessibilityElementCount() -> Int func accessibilityElement(at index: Int) -> Any? func index(ofAccessibilityElement element: Any) -> Int var accessibilityElements: [Any]? var isAccessibilityElement: Bool var accessibilityLabel: String? var accessibilityHint: String? var accessibilityValue: String? var accessibilityTraits: UIAccessibilityTraits var accessibilityFrame: CGRect @NSCopying var accessibilityPath: UIBezierPath? var accessibilityActivationPoint: CGPoint var accessibilityLanguage: String? var accessibilityElementsHidden: Bool var accessibilityViewIsModal: Bool var shouldGroupAccessibilityChildren: Bool var accessibilityNavigationStyle: UIAccessibilityNavigationStyle var accessibilityHeaderElements: [Any]? var accessibilityCustomRotors: [UIAccessibilityCustomRotor]? func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func performSelector(onMainThread aSelector: Selector, with arg: Any?, waitUntilDone wait: Bool) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool, modes array: [String]?) func perform(_ aSelector: Selector, on thr: Thread, with arg: Any?, waitUntilDone wait: Bool) func performSelector(inBackground aSelector: Selector, with arg: Any?) class func classForKeyedUnarchiver() -> AnyClass var classForKeyedArchiver: AnyClass? { get } func replacementObject(for archiver: NSKeyedArchiver) -> Any? class func classFallbacksForKeyedArchiver() -> [String] class func keyPathsForValuesAffectingValue(forKey key: String) -> Set<String> class func automaticallyNotifiesObservers(forKey key: String) -> Bool var observationInfo: UnsafeMutableRawPointer? func willChangeValue(forKey key: String) func didChangeValue(forKey key: String) func willChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func didChange(_ changeKind: NSKeyValueChange, valuesAt indexes: IndexSet, forKey key: String) func willChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func didChangeValue(forKey key: String, withSetMutation mutationKind: NSKeyValueSetMutationKind, using objects: Set<AnyHashable>) func addObserver(_ observer: NSObject, forKeyPath keyPath: String, options options: NSKeyValueObservingOptions = [], context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String, context context: UnsafeMutableRawPointer?) func removeObserver(_ observer: NSObject, forKeyPath keyPath: String) func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) class var accessInstanceVariablesDirectly: Bool { get } func value(forKey key: String) -> Any? func setValue(_ value: Any?, forKey key: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKey inKey: String) throws func mutableArrayValue(forKey key: String) -> NSMutableArray func mutableOrderedSetValue(forKey key: String) -> NSMutableOrderedSet func mutableSetValue(forKey key: String) -> NSMutableSet func value(forKeyPath keyPath: String) -> Any? func setValue(_ value: Any?, forKeyPath keyPath: String) func validateValue(_ ioValue: AutoreleasingUnsafeMutablePointer<AnyObject?>, forKeyPath inKeyPath: String) throws func mutableArrayValue(forKeyPath keyPath: String) -> NSMutableArray func mutableOrderedSetValue(forKeyPath keyPath: String) -> NSMutableOrderedSet func mutableSetValue(forKeyPath keyPath: String) -> NSMutableSet func value(forUndefinedKey key: String) -> Any? func setValue(_ value: Any?, forUndefinedKey key: String) func setNilValueForKey(_ key: String) func dictionaryWithValues(forKeys keys: [String]) -> [String : Any] func setValuesForKeys(_ keyedValues: [String : Any]) func fileManager(_ fm: FileManager, shouldProceedAfterError errorInfo: [AnyHashable : Any]) -> Bool func fileManager(_ fm: FileManager, willProcessPath path: String) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval, inModes modes: [RunLoopMode]) func perform(_ aSelector: Selector, with anArgument: Any?, afterDelay delay: TimeInterval) class func cancelPreviousPerformRequests(withTarget aTarget: Any, selector aSelector: Selector, object anArgument: Any?) class func cancelPreviousPerformRequests(withTarget aTarget: Any) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int, delegate delegate: Any?, didRecoverSelector didRecoverSelector: Selector?, contextInfo contextInfo: UnsafeMutableRawPointer?) func attemptRecovery(fromError error: Error, optionIndex recoveryOptionIndex: Int) -> Bool var autoContentAccessingProxy: Any { get } class func version() -> Int class func setVersion(_ aVersion: Int) var classForCoder: AnyClass { get } func awakeAfter(using aDecoder: NSCoder) -> Any? func provideImageData(_ data: UnsafeMutableRawPointer, bytesPerRow rowbytes: Int, origin x: Int, _ y: Int, size width: Int, _ height: Int, userInfo info: Any?) } extension WKWindowFeatures : CVarArg { } extension WKWindowFeatures : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |