UIKit Changes for Swift
UIKit
Removed NSLayoutAttribute.Baseline
Removed NSObject.copy(_: AnyObject?)
Removed NSObject.cut(_: AnyObject?)
Removed NSObject.decreaseSize(_: AnyObject?)
Removed NSObject.delete(_: AnyObject?)
Removed NSObject.increaseSize(_: AnyObject?)
Removed NSObject.makeTextWritingDirectionLeftToRight(_: AnyObject?)
Removed NSObject.makeTextWritingDirectionRightToLeft(_: AnyObject?)
Removed NSObject.paste(_: AnyObject?)
Removed NSObject.select(_: AnyObject?)
Removed NSObject.selectAll(_: AnyObject?)
Removed NSObject.toggleBoldface(_: AnyObject?)
Removed NSObject.toggleItalics(_: AnyObject?)
Removed NSObject.toggleUnderline(_: AnyObject?)
Removed NSValue.CGRectValue() -> CGRect
Removed NSValue.CGSizeValue() -> CGSize
Removed UIActivityIndicatorView.isAnimating() -> Bool
Removed UIApplication.isIgnoringInteractionEvents() -> Bool
Removed UIDataDetectorTypes.None
Removed UIImage.init(imageLiteral: String)
Removed UIImageView.isAnimating() -> Bool
Removed UIKeyInput.hasText() -> Bool
Removed UIPrintInteractionController.sharedPrintController() -> UIPrintInteractionController [class]
Removed UIRectEdge.None
Removed UIRemoteNotificationType.None
Removed UITabBar.isCustomizing() -> Bool
Removed UITextChecker.setIgnoredWords(_: [AnyObject]?)
Removed UIUserNotificationType.None
Removed UIViewAutoresizing.None
Removed UIViewController.isBeingDismissed() -> Bool
Removed UIViewController.isBeingPresented() -> Bool
Removed UIViewController.isMovingFromParentViewController() -> Bool
Removed UIViewController.isMovingToParentViewController() -> Bool
Removed UIViewController.isViewLoaded() -> Bool
Removed UIViewControllerContextTransitioning.isAnimated() -> Bool
Removed UIViewControllerContextTransitioning.isInteractive() -> Bool
Removed UIViewControllerTransitionCoordinatorContext.isAnimated() -> Bool
Removed UIViewControllerTransitionCoordinatorContext.isCancelled() -> Bool
Removed UIViewControllerTransitionCoordinatorContext.isInteractive() -> Bool
Removed UIViewControllerTransitionCoordinatorContext.presentationStyle() -> UIModalPresentationStyle
Removed UIEdgeInsetsZero
Removed UIOffsetZero
Added IndexPath.item
Added IndexPath.row
Added IndexPath.section
Added NSParagraphStyle.default
Added NSValue.cgPointValue
Added NSValue.cgRectValue
Added NSValue.cgSizeValue
Added NSValue.cgVectorValue
Added NSValue.uiOffsetValue
Added UIAccessibilityCustomRotor.init(name: String, itemSearch: UIKit.UIAccessibilityCustomRotorSearch)
Added UIActivity.activityImage
Added UIActivity.activityTitle
Added UIActivity.activityType
Added UIActivityType [struct]
Added UIApplication.open(_: URL, options: [String : Any], completionHandler: ( (Bool) -> Swift.Void)?)
Added UIApplication.shared
Added UIApplicationDelegate.application(_: UIApplication, userDidAcceptCloudKitShareWith: CKShareMetadata)
Added UIApplicationExtensionPointIdentifier.init(_: String)
Added UIApplicationLaunchOptionsKey.init(_: String)
Added UIApplicationOpenURLOptionsKey.init(_: String)
Added UICloudSharingController
Added UICloudSharingControllerDelegate.cloudSharingControllerDidSaveShare(_: UICloudSharingController)
Added UICloudSharingControllerDelegate.cloudSharingControllerDidStopSharing(_: UICloudSharingController)
Added UIColor.black
Added UIColor.blue
Added UIColor.brown
Added UIColor.clear
Added UIColor.cyan
Added UIColor.darkGray
Added UIColor.darkText
Added UIColor.gray
Added UIColor.green
Added UIColor.lightGray
Added UIColor.lightText
Added UIColor.magenta
Added UIColor.orange
Added UIColor.purple
Added UIColor.red
Added UIColor.white
Added UIColor.yellow
Added UIControl.allTargets
Added UICubicTimingParameters
Added UIDevice.current
Added UIDisplayGamut [enum]
Added UIDisplayGamut.P3
Added UIDisplayGamut.SRGB
Added UIDocument.progress
Added UIEdgeInsets.zero
Added UIEvent.allTouches
Added UIFeedbackGenerator
Added UIFocusItem
Added UIFont.buttonFontSize
Added UIFont.familyNames
Added UIFont.fontDescriptor
Added UIFont.labelFontSize
Added UIFont.systemFontSize
Added UIFontTextStyle [struct]
Added UIFontTextStyle.init(_: String)
Added UIGraphicsImageRenderer
Added UIGraphicsImageRenderer.image(actions: (UIGraphicsImageRendererContext) -> Swift.Void) -> UIImage
Added UIGraphicsImageRenderer.pngData(actions: (UIGraphicsImageRendererContext) -> Swift.Void) -> Data
Added UIGraphicsPDFRenderer
Added UIGraphicsRenderer
Added UIGraphicsRendererFormat
Added UIImageView.isAnimating
Added UIKeyInput.hasText
Added UIMenuController.shared
Added UIOffset.zero
Added UIPasteboard.general
Added UIPasteboard.hasColors
Added UIPasteboard.hasImages
Added UIPasteboard.hasStrings
Added UIPasteboard.hasURLs
Added UIPasteboard.types
Added UIPasteboardOption.init(_: String)
Added UIPreviewInteraction
Added UIRegion.infinite
Added UIResponder.next
Added UIScreen.focusedItem
Added UIScreen.main
Added UIScreen.screens
Added UISpringTimingParameters
Added UITabBar.isCustomizing
Added UITabBarItem.badgeColor
Added UITableViewDataSourcePrefetching.tableView(_: UITableView, cancelPrefetchingForRowsAt: [IndexPath])
Added UITextContentType.init(_: String)
Added UITextContentType.name
Added UITextContentType.URL
Added UITextFieldDelegate.textFieldDidEndEditing(_: UITextField, reason: UITextFieldDidEndEditingReason)
Added UITimingCurveProvider
Added UITimingCurveType [enum]
Added UITimingCurveType.cubic
Added UITimingCurveType.spring
Added UITransitionContextViewControllerKey.init(_: String)
Added UITransitionContextViewKey.init(_: String)
Added UIView.canBecomeFocused
Added UIView.layerClass
Added UIViewAnimating
Added UIViewAnimating.state
Added UIViewPropertyAnimator
Added URLResourceValues.thumbnailDictionary
Declaration | |
---|---|
From | func loadNibNamed(_ name: String!, owner owner: AnyObject!, options options: [NSObject : AnyObject]!) -> [AnyObject]! |
To | func loadNibNamed(_ name: String, owner owner: Any?, options options: [AnyHashable : Any]? = nil) -> [Any]? |
Declaration | |
---|---|
From | init?(image image: UIImage, options options: [NSObject : AnyObject]?) |
To | init?(image image: UIImage, options options: [AnyHashable : Any]? = nil) |
Declaration | |
---|---|
From | func boundingRectWithSize(_ size: CGSize, options options: NSStringDrawingOptions, context context: NSStringDrawingContext?) -> CGRect |
To | func boundingRect(with size: CGSize, options options: NSStringDrawingOptions = [], context context: NSStringDrawingContext?) -> CGRect |
Declaration | |
---|---|
From | func containsAttachmentsInRange(_ range: NSRange) -> Bool |
To | func containsAttachments(in range: NSRange) -> Bool |
Declaration | |
---|---|
From | func dataFromRange(_ range: NSRange, documentAttributes dict: [String : AnyObject]) throws -> NSData |
To | func data(from range: NSRange, documentAttributes dict: [String : Any] = [:]) throws -> Data |
Modified NSAttributedString.draw(at: CGPoint)
Declaration | |
---|---|
From | func drawAtPoint(_ point: CGPoint) |
To | func draw(at point: CGPoint) |
Modified NSAttributedString.draw(in: CGRect)
Declaration | |
---|---|
From | func drawInRect(_ rect: CGRect) |
To | func draw(in rect: CGRect) |
Declaration | |
---|---|
From | func drawWithRect(_ rect: CGRect, options options: NSStringDrawingOptions, context context: NSStringDrawingContext?) |
To | func draw(with rect: CGRect, options options: NSStringDrawingOptions = [], context context: NSStringDrawingContext?) |
Declaration | |
---|---|
From | func fileWrapperFromRange(_ range: NSRange, documentAttributes dict: [String : AnyObject]) throws -> NSFileWrapper |
To | func fileWrapper(from range: NSRange, documentAttributes dict: [String : Any] = [:]) throws -> FileWrapper |
Declaration | |
---|---|
From | init(data data: NSData, options options: [String : AnyObject], documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>) throws |
To | init(data data: Data, options options: [String : Any] = [:], documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>?) throws |
Declaration | |
---|---|
From | init(fileURL url: NSURL, options options: [NSObject : AnyObject], documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>) throws |
To | init(fileURL url: URL, options options: [AnyHashable : Any] = [:], documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>?) throws |
Declaration | |
---|---|
From | init(URL url: NSURL, options options: [String : AnyObject], documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>) throws |
To | init(url url: URL, options options: [String : Any] = [:], documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>?) throws |
Declaration | |
---|---|
From | func decodeCGAffineTransformForKey(_ key: String) -> CGAffineTransform |
To | func decodeCGAffineTransform(forKey key: String) -> CGAffineTransform |
Declaration | |
---|---|
From | func decodeCGPointForKey(_ key: String) -> CGPoint |
To | func decodeCGPoint(forKey key: String) -> CGPoint |
Declaration | |
---|---|
From | func decodeCGRectForKey(_ key: String) -> CGRect |
To | func decodeCGRect(forKey key: String) -> CGRect |
Declaration | |
---|---|
From | func decodeCGSizeForKey(_ key: String) -> CGSize |
To | func decodeCGSize(forKey key: String) -> CGSize |
Declaration | |
---|---|
From | func decodeCGVectorForKey(_ key: String) -> CGVector |
To | func decodeCGVector(forKey key: String) -> CGVector |
Declaration | |
---|---|
From | func decodeUIEdgeInsetsForKey(_ key: String) -> UIEdgeInsets |
To | func decodeUIEdgeInsets(forKey key: String) -> UIEdgeInsets |
Declaration | |
---|---|
From | func decodeUIOffsetForKey(_ key: String) -> UIOffset |
To | func decodeUIOffset(forKey key: String) -> UIOffset |
Declaration | |
---|---|
From | func encodeCGPoint(_ point: CGPoint, forKey key: String) |
To | func encode(_ point: CGPoint, forKey key: String) |
Declaration | |
---|---|
From | func encodeUIOffset(_ offset: UIOffset, forKey key: String) |
To | func encode(_ offset: UIOffset, forKey key: String) |
Declaration | |
---|---|
From | func encodeCGSize(_ size: CGSize, forKey key: String) |
To | func encode(_ size: CGSize, forKey key: String) |
Declaration | |
---|---|
From | func encodeUIEdgeInsets(_ insets: UIEdgeInsets, forKey key: String) |
To | func encode(_ insets: UIEdgeInsets, forKey key: String) |
Declaration | |
---|---|
From | func encodeCGVector(_ vector: CGVector, forKey key: String) |
To | func encode(_ vector: CGVector, forKey key: String) |
Declaration | |
---|---|
From | func encodeCGAffineTransform(_ transform: CGAffineTransform, forKey key: String) |
To | func encode(_ transform: CGAffineTransform, forKey key: String) |
Declaration | |
---|---|
From | func encodeCGRect(_ rect: CGRect, forKey key: String) |
To | func encode(_ rect: CGRect, forKey key: String) |
Modified NSControlCharacterAction [enum]
Declaration | |
---|---|
From | enum NSControlCharacterAction : Int { case ZeroAdvancement case Whitespace case HorizontalTab case LineBreak case ParagraphBreak case ContainerBreak } |
To | enum NSControlCharacterAction : Int { case zeroAdvancement case whitespace case horizontalTab case lineBreak case paragraphBreak case containerBreak } |
Declaration | |
---|---|
From | case ContainerBreak |
To | case containerBreak |
Declaration | |
---|---|
From | case HorizontalTab |
To | case horizontalTab |
Modified NSControlCharacterAction.lineBreak
Declaration | |
---|---|
From | case LineBreak |
To | case lineBreak |
Declaration | |
---|---|
From | case ParagraphBreak |
To | case paragraphBreak |
Modified NSControlCharacterAction.whitespace
Declaration | |
---|---|
From | case Whitespace |
To | case whitespace |
Declaration | |
---|---|
From | case ZeroAdvancement |
To | case zeroAdvancement |
Modified NSDataAsset
Declaration | Protocols | |
---|---|---|
From | class NSDataAsset : NSObject, NSCopying { convenience init() convenience init?(name name: String) init?(name name: String, bundle bundle: NSBundle) var name: String { get } @NSCopying var data: NSData { get } var typeIdentifier: String { get } } | NSCopying |
To | class NSDataAsset : NSObject, NSCopying { convenience init() convenience init?(name name: String) init?(name name: String, bundle bundle: Bundle) var name: String { get } var data: Data { get } var typeIdentifier: 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 NSDataAsset : CVarArg { } extension NSDataAsset : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCopying |
Modified NSDataAsset.data
Declaration | |
---|---|
From | @NSCopying var data: NSData { get } |
To | var data: Data { get } |
Declaration | |
---|---|
From | init?(name name: String, bundle bundle: NSBundle) |
To | init?(name name: String, bundle bundle: Bundle) |
Declaration | |
---|---|
From | let UIApplicationInvalidInterfaceOrientationException: String |
To | static let UIApplicationInvalidInterfaceOrientationException: NSExceptionName |
Declaration | |
---|---|
From | let UIViewControllerHierarchyInconsistencyException: String |
To | static let UIViewControllerHierarchyInconsistencyException: NSExceptionName |
Modified NSFileProviderExtension
Declaration | Protocols | |
---|---|---|
From | class NSFileProviderExtension : NSObject { class func writePlaceholderAtURL(_ placeholderURL: NSURL, withMetadata metadata: [NSObject : AnyObject]) throws class func placeholderURLForURL(_ url: NSURL) -> NSURL func providerIdentifier() -> String func documentStorageURL() -> NSURL func URLForItemWithPersistentIdentifier(_ identifier: String) -> NSURL? func persistentIdentifierForItemAtURL(_ url: NSURL) -> String? func providePlaceholderAtURL(_ url: NSURL, completionHandler completionHandler: (NSError?) -> Void) func startProvidingItemAtURL(_ url: NSURL, completionHandler completionHandler: (NSError?) -> Void) func itemChangedAtURL(_ url: NSURL) func stopProvidingItemAtURL(_ url: NSURL) } | -- |
To | class NSFileProviderExtension : NSObject { class func writePlaceholder(at placeholderURL: URL, withMetadata metadata: [AnyHashable : Any]) throws class func placeholderURL(for url: URL) -> URL var providerIdentifier: String { get } var documentStorageURL: URL { get } func urlForItem(withPersistentIdentifier identifier: String) -> URL? func persistentIdentifierForItem(at url: URL) -> String? func providePlaceholder(at url: URL, completionHandler completionHandler: @escaping (Error?) -> Swift.Void) func startProvidingItem(at url: URL, completionHandler completionHandler: @escaping (Error?) -> Swift.Void) func itemChanged(at url: URL) func stopProvidingItem(at url: URL) 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 NSFileProviderExtension : CVarArg { } extension NSFileProviderExtension : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | func itemChangedAtURL(_ url: NSURL) |
To | func itemChanged(at url: URL) |
Declaration | |
---|---|
From | func persistentIdentifierForItemAtURL(_ url: NSURL) -> String? |
To | func persistentIdentifierForItem(at url: URL) -> String? |
Declaration | |
---|---|
From | class func placeholderURLForURL(_ url: NSURL) -> NSURL |
To | class func placeholderURL(for url: URL) -> URL |
Modified NSFileProviderExtension.providePlaceholder(at: URL, completionHandler: (Error?) -> Swift.Void)
Declaration | |
---|---|
From | func providePlaceholderAtURL(_ url: NSURL, completionHandler completionHandler: (NSError?) -> Void) |
To | func providePlaceholder(at url: URL, completionHandler completionHandler: @escaping (Error?) -> Swift.Void) |
Modified NSFileProviderExtension.startProvidingItem(at: URL, completionHandler: (Error?) -> Swift.Void)
Declaration | |
---|---|
From | func startProvidingItemAtURL(_ url: NSURL, completionHandler completionHandler: (NSError?) -> Void) |
To | func startProvidingItem(at url: URL, completionHandler completionHandler: @escaping (Error?) -> Swift.Void) |
Declaration | |
---|---|
From | func stopProvidingItemAtURL(_ url: NSURL) |
To | func stopProvidingItem(at url: URL) |
Declaration | |
---|---|
From | func URLForItemWithPersistentIdentifier(_ identifier: String) -> NSURL? |
To | func urlForItem(withPersistentIdentifier identifier: String) -> URL? |
Modified NSFileProviderExtension.writePlaceholder(at: URL, withMetadata: [AnyHashable : Any]) throws [class]
Declaration | |
---|---|
From | class func writePlaceholderAtURL(_ placeholderURL: NSURL, withMetadata metadata: [NSObject : AnyObject]) throws |
To | class func writePlaceholder(at placeholderURL: URL, withMetadata metadata: [AnyHashable : Any]) throws |
Modified NSGlyphProperty [enum]
Declaration | |
---|---|
From | enum NSGlyphProperty : Int { case Null case ControlCharacter case Elastic case NonBaseCharacter } |
To | enum NSGlyphProperty : Int { case null case controlCharacter case elastic case nonBaseCharacter } |
Modified NSGlyphProperty.controlCharacter
Declaration | |
---|---|
From | case ControlCharacter |
To | case controlCharacter |
Modified NSGlyphProperty.elastic
Declaration | |
---|---|
From | case Elastic |
To | case elastic |
Modified NSGlyphProperty.nonBaseCharacter
Declaration | |
---|---|
From | case NonBaseCharacter |
To | case nonBaseCharacter |
Modified NSGlyphProperty.null
Declaration | |
---|---|
From | case Null |
To | case null |
Declaration | |
---|---|
From | convenience init(forItem item: Int, inSection section: Int) |
To | convenience init(item item: Int, section section: Int) |
Declaration | |
---|---|
From | convenience init(forRow row: Int, inSection section: Int) |
To | convenience init(row row: Int, section section: Int) |
Modified NSLayoutAnchor
Declaration | Protocols | Generics[Constraints] | Generics[Parameters] | |
---|---|---|---|---|
From | class NSLayoutAnchor : NSObject { func constraintEqualToAnchor(_ anchor: NSLayoutAnchor!) -> NSLayoutConstraint! func constraintGreaterThanOrEqualToAnchor(_ anchor: NSLayoutAnchor!) -> NSLayoutConstraint! func constraintLessThanOrEqualToAnchor(_ anchor: NSLayoutAnchor!) -> NSLayoutConstraint! func constraintEqualToAnchor(_ anchor: NSLayoutAnchor!, constant c: CGFloat) -> NSLayoutConstraint! func constraintGreaterThanOrEqualToAnchor(_ anchor: NSLayoutAnchor!, constant c: CGFloat) -> NSLayoutConstraint! func constraintLessThanOrEqualToAnchor(_ anchor: NSLayoutAnchor!, constant c: CGFloat) -> NSLayoutConstraint! } | -- | -- | |
To | class NSLayoutAnchor<AnchorType : AnyObject> : NSObject { func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint func constraint(greaterThanOrEqualTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint func constraint(lessThanOrEqualTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>, constant c: CGFloat) -> NSLayoutConstraint func constraint(greaterThanOrEqualTo anchor: NSLayoutAnchor<AnchorType>, constant c: CGFloat) -> NSLayoutConstraint func constraint(lessThanOrEqualTo anchor: NSLayoutAnchor<AnchorType>, constant c: CGFloat) -> NSLayoutConstraint 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 NSLayoutAnchor : CVarArg { } extension NSLayoutAnchor : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable | AnchorType : AnyObject | AnchorType |
Declaration | |
---|---|
From | func constraintEqualToAnchor(_ anchor: NSLayoutAnchor!) -> NSLayoutConstraint! |
To | func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint |
Declaration | |
---|---|
From | func constraintEqualToAnchor(_ anchor: NSLayoutAnchor!, constant c: CGFloat) -> NSLayoutConstraint! |
To | func constraint(equalTo anchor: NSLayoutAnchor<AnchorType>, constant c: CGFloat) -> NSLayoutConstraint |
Modified NSLayoutAnchor.constraint(greaterThanOrEqualTo: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
Declaration | |
---|---|
From | func constraintGreaterThanOrEqualToAnchor(_ anchor: NSLayoutAnchor!) -> NSLayoutConstraint! |
To | func constraint(greaterThanOrEqualTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint |
Declaration | |
---|---|
From | func constraintGreaterThanOrEqualToAnchor(_ anchor: NSLayoutAnchor!, constant c: CGFloat) -> NSLayoutConstraint! |
To | func constraint(greaterThanOrEqualTo anchor: NSLayoutAnchor<AnchorType>, constant c: CGFloat) -> NSLayoutConstraint |
Modified NSLayoutAnchor.constraint(lessThanOrEqualTo: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint
Declaration | |
---|---|
From | func constraintLessThanOrEqualToAnchor(_ anchor: NSLayoutAnchor!) -> NSLayoutConstraint! |
To | func constraint(lessThanOrEqualTo anchor: NSLayoutAnchor<AnchorType>) -> NSLayoutConstraint |
Declaration | |
---|---|
From | func constraintLessThanOrEqualToAnchor(_ anchor: NSLayoutAnchor!, constant c: CGFloat) -> NSLayoutConstraint! |
To | func constraint(lessThanOrEqualTo anchor: NSLayoutAnchor<AnchorType>, constant c: CGFloat) -> NSLayoutConstraint |
Modified NSLayoutAttribute [enum]
Declaration | |
---|---|
From | enum NSLayoutAttribute : Int { case Left case Right case Top case Bottom case Leading case Trailing case Width case Height case CenterX case CenterY case Baseline static var LastBaseline: NSLayoutAttribute { get } case FirstBaseline case LeftMargin case RightMargin case TopMargin case BottomMargin case LeadingMargin case TrailingMargin case CenterXWithinMargins case CenterYWithinMargins case NotAnAttribute } |
To | enum NSLayoutAttribute : Int { case left case right case top case bottom case leading case trailing case width case height case centerX case centerY case lastBaseline static var baseline: NSLayoutAttribute { get } case firstBaseline case leftMargin case rightMargin case topMargin case bottomMargin case leadingMargin case trailingMargin case centerXWithinMargins case centerYWithinMargins case notAnAttribute } |
Modified NSLayoutAttribute.bottom
Declaration | |
---|---|
From | case Bottom |
To | case bottom |
Modified NSLayoutAttribute.bottomMargin
Declaration | |
---|---|
From | case BottomMargin |
To | case bottomMargin |
Modified NSLayoutAttribute.centerX
Declaration | |
---|---|
From | case CenterX |
To | case centerX |
Declaration | |
---|---|
From | case CenterXWithinMargins |
To | case centerXWithinMargins |
Modified NSLayoutAttribute.centerY
Declaration | |
---|---|
From | case CenterY |
To | case centerY |
Declaration | |
---|---|
From | case CenterYWithinMargins |
To | case centerYWithinMargins |
Modified NSLayoutAttribute.firstBaseline
Declaration | |
---|---|
From | case FirstBaseline |
To | case firstBaseline |
Modified NSLayoutAttribute.height
Declaration | |
---|---|
From | case Height |
To | case height |
Modified NSLayoutAttribute.lastBaseline
Name | Declaration | |
---|---|---|
From | LastBaseline | static var LastBaseline: NSLayoutAttribute { get } |
To | lastBaseline | case lastBaseline |
Modified NSLayoutAttribute.leading
Declaration | |
---|---|
From | case Leading |
To | case leading |
Modified NSLayoutAttribute.leadingMargin
Declaration | |
---|---|
From | case LeadingMargin |
To | case leadingMargin |
Modified NSLayoutAttribute.left
Declaration | |
---|---|
From | case Left |
To | case left |
Modified NSLayoutAttribute.leftMargin
Declaration | |
---|---|
From | case LeftMargin |
To | case leftMargin |
Modified NSLayoutAttribute.notAnAttribute
Declaration | |
---|---|
From | case NotAnAttribute |
To | case notAnAttribute |
Modified NSLayoutAttribute.right
Declaration | |
---|---|
From | case Right |
To | case right |
Modified NSLayoutAttribute.rightMargin
Declaration | |
---|---|
From | case RightMargin |
To | case rightMargin |
Modified NSLayoutAttribute.top
Declaration | |
---|---|
From | case Top |
To | case top |
Modified NSLayoutAttribute.topMargin
Declaration | |
---|---|
From | case TopMargin |
To | case topMargin |
Modified NSLayoutAttribute.trailing
Declaration | |
---|---|
From | case Trailing |
To | case trailing |
Modified NSLayoutAttribute.trailingMargin
Declaration | |
---|---|
From | case TrailingMargin |
To | case trailingMargin |
Modified NSLayoutAttribute.width
Declaration | |
---|---|
From | case Width |
To | case width |
Modified NSLayoutConstraint
Declaration | Protocols | |
---|---|---|
From | class NSLayoutConstraint : NSObject { class func constraintsWithVisualFormat(_ format: String, options opts: NSLayoutFormatOptions, metrics metrics: [String : AnyObject]?, views views: [String : AnyObject]) -> [NSLayoutConstraint] convenience init(item view1: AnyObject, attribute attr1: NSLayoutAttribute, relatedBy relation: NSLayoutRelation, toItem view2: AnyObject?, attribute attr2: NSLayoutAttribute, multiplier multiplier: CGFloat, constant c: CGFloat) class func constraintWithItem(_ view1: AnyObject, attribute attr1: NSLayoutAttribute, relatedBy relation: NSLayoutRelation, toItem view2: AnyObject?, attribute attr2: NSLayoutAttribute, multiplier multiplier: CGFloat, constant c: CGFloat) -> Self var priority: UILayoutPriority var shouldBeArchived: Bool unowned(unsafe) var firstItem: AnyObject { get } var firstAttribute: NSLayoutAttribute { get } var relation: NSLayoutRelation { get } unowned(unsafe) var secondItem: AnyObject? { get } var secondAttribute: NSLayoutAttribute { get } var multiplier: CGFloat { get } var constant: CGFloat var active: Bool class func activateConstraints(_ constraints: [NSLayoutConstraint]) class func deactivateConstraints(_ constraints: [NSLayoutConstraint]) } extension NSLayoutConstraint { var identifier: String? } | -- |
To | class NSLayoutConstraint : NSObject { class func constraints(withVisualFormat format: String, options opts: NSLayoutFormatOptions = [], metrics metrics: [String : Any]?, views views: [String : Any]) -> [NSLayoutConstraint] convenience init(item view1: Any, attribute attr1: NSLayoutAttribute, relatedBy relation: NSLayoutRelation, toItem view2: Any?, attribute attr2: NSLayoutAttribute, multiplier multiplier: CGFloat, constant c: CGFloat) class func withItem(_ view1: Any, attribute attr1: NSLayoutAttribute, relatedBy relation: NSLayoutRelation, toItem view2: Any?, attribute attr2: NSLayoutAttribute, multiplier multiplier: CGFloat, constant c: CGFloat) -> Self var priority: UILayoutPriority var shouldBeArchived: Bool unowned(unsafe) var firstItem: AnyObject { get } var firstAttribute: NSLayoutAttribute { get } unowned(unsafe) var secondItem: AnyObject? { get } var secondAttribute: NSLayoutAttribute { get } @NSCopying var firstAnchor: NSLayoutAnchor<AnyObject> { get } @NSCopying var secondAnchor: NSLayoutAnchor<AnyObject>? { get } var relation: NSLayoutRelation { get } var multiplier: CGFloat { get } var constant: CGFloat var isActive: Bool class func activate(_ constraints: [NSLayoutConstraint]) class func deactivate(_ constraints: [NSLayoutConstraint]) var identifier: 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 NSLayoutConstraint : CVarArg { } extension NSLayoutConstraint : Equatable, Hashable { var hashValue: Int { get } } extension NSLayoutConstraint { var identifier: String? } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | class func activateConstraints(_ constraints: [NSLayoutConstraint]) |
To | class func activate(_ constraints: [NSLayoutConstraint]) |
Declaration | |
---|---|
From | class func constraintsWithVisualFormat(_ format: String, options opts: NSLayoutFormatOptions, metrics metrics: [String : AnyObject]?, views views: [String : AnyObject]) -> [NSLayoutConstraint] |
To | class func constraints(withVisualFormat format: String, options opts: NSLayoutFormatOptions = [], metrics metrics: [String : Any]?, views views: [String : Any]) -> [NSLayoutConstraint] |
Declaration | |
---|---|
From | class func deactivateConstraints(_ constraints: [NSLayoutConstraint]) |
To | class func deactivate(_ constraints: [NSLayoutConstraint]) |
Declaration | |
---|---|
From | convenience init(item view1: AnyObject, attribute attr1: NSLayoutAttribute, relatedBy relation: NSLayoutRelation, toItem view2: AnyObject?, attribute attr2: NSLayoutAttribute, multiplier multiplier: CGFloat, constant c: CGFloat) |
To | convenience init(item view1: Any, attribute attr1: NSLayoutAttribute, relatedBy relation: NSLayoutRelation, toItem view2: Any?, attribute attr2: NSLayoutAttribute, multiplier multiplier: CGFloat, constant c: CGFloat) |
Modified NSLayoutConstraint.isActive
Declaration | |
---|---|
From | var active: Bool |
To | var isActive: Bool |
Modified NSLayoutDimension
Declaration | |
---|---|
From | class NSLayoutDimension : NSLayoutAnchor { func constraintEqualToConstant(_ c: CGFloat) -> NSLayoutConstraint! func constraintGreaterThanOrEqualToConstant(_ c: CGFloat) -> NSLayoutConstraint! func constraintLessThanOrEqualToConstant(_ c: CGFloat) -> NSLayoutConstraint! func constraintEqualToAnchor(_ anchor: NSLayoutDimension!, multiplier m: CGFloat) -> NSLayoutConstraint! func constraintGreaterThanOrEqualToAnchor(_ anchor: NSLayoutDimension!, multiplier m: CGFloat) -> NSLayoutConstraint! func constraintLessThanOrEqualToAnchor(_ anchor: NSLayoutDimension!, multiplier m: CGFloat) -> NSLayoutConstraint! func constraintEqualToAnchor(_ anchor: NSLayoutDimension!, multiplier m: CGFloat, constant c: CGFloat) -> NSLayoutConstraint! func constraintGreaterThanOrEqualToAnchor(_ anchor: NSLayoutDimension!, multiplier m: CGFloat, constant c: CGFloat) -> NSLayoutConstraint! func constraintLessThanOrEqualToAnchor(_ anchor: NSLayoutDimension!, multiplier m: CGFloat, constant c: CGFloat) -> NSLayoutConstraint! } |
To | class NSLayoutDimension : NSLayoutAnchor<NSLayoutDimension> { func constraint(equalToConstant c: CGFloat) -> NSLayoutConstraint func constraint(greaterThanOrEqualToConstant c: CGFloat) -> NSLayoutConstraint func constraint(lessThanOrEqualToConstant c: CGFloat) -> NSLayoutConstraint func constraint(equalTo anchor: NSLayoutDimension, multiplier m: CGFloat) -> NSLayoutConstraint func constraint(greaterThanOrEqualTo anchor: NSLayoutDimension, multiplier m: CGFloat) -> NSLayoutConstraint func constraint(lessThanOrEqualTo anchor: NSLayoutDimension, multiplier m: CGFloat) -> NSLayoutConstraint func constraint(equalTo anchor: NSLayoutDimension, multiplier m: CGFloat, constant c: CGFloat) -> NSLayoutConstraint func constraint(greaterThanOrEqualTo anchor: NSLayoutDimension, multiplier m: CGFloat, constant c: CGFloat) -> NSLayoutConstraint func constraint(lessThanOrEqualTo anchor: NSLayoutDimension, multiplier m: CGFloat, constant c: CGFloat) -> NSLayoutConstraint } |
Modified NSLayoutDimension.constraint(equalTo: NSLayoutDimension, multiplier: CGFloat) -> NSLayoutConstraint
Declaration | |
---|---|
From | func constraintEqualToAnchor(_ anchor: NSLayoutDimension!, multiplier m: CGFloat) -> NSLayoutConstraint! |
To | func constraint(equalTo anchor: NSLayoutDimension, multiplier m: CGFloat) -> NSLayoutConstraint |
Declaration | |
---|---|
From | func constraintEqualToAnchor(_ anchor: NSLayoutDimension!, multiplier m: CGFloat, constant c: CGFloat) -> NSLayoutConstraint! |
To | func constraint(equalTo anchor: NSLayoutDimension, multiplier m: CGFloat, constant c: CGFloat) -> NSLayoutConstraint |
Declaration | |
---|---|
From | func constraintEqualToConstant(_ c: CGFloat) -> NSLayoutConstraint! |
To | func constraint(equalToConstant c: CGFloat) -> NSLayoutConstraint |
Declaration | |
---|---|
From | func constraintGreaterThanOrEqualToAnchor(_ anchor: NSLayoutDimension!, multiplier m: CGFloat) -> NSLayoutConstraint! |
To | func constraint(greaterThanOrEqualTo anchor: NSLayoutDimension, multiplier m: CGFloat) -> NSLayoutConstraint |
Declaration | |
---|---|
From | func constraintGreaterThanOrEqualToAnchor(_ anchor: NSLayoutDimension!, multiplier m: CGFloat, constant c: CGFloat) -> NSLayoutConstraint! |
To | func constraint(greaterThanOrEqualTo anchor: NSLayoutDimension, multiplier m: CGFloat, constant c: CGFloat) -> NSLayoutConstraint |
Declaration | |
---|---|
From | func constraintGreaterThanOrEqualToConstant(_ c: CGFloat) -> NSLayoutConstraint! |
To | func constraint(greaterThanOrEqualToConstant c: CGFloat) -> NSLayoutConstraint |
Declaration | |
---|---|
From | func constraintLessThanOrEqualToAnchor(_ anchor: NSLayoutDimension!, multiplier m: CGFloat) -> NSLayoutConstraint! |
To | func constraint(lessThanOrEqualTo anchor: NSLayoutDimension, multiplier m: CGFloat) -> NSLayoutConstraint |
Declaration | |
---|---|
From | func constraintLessThanOrEqualToAnchor(_ anchor: NSLayoutDimension!, multiplier m: CGFloat, constant c: CGFloat) -> NSLayoutConstraint! |
To | func constraint(lessThanOrEqualTo anchor: NSLayoutDimension, multiplier m: CGFloat, constant c: CGFloat) -> NSLayoutConstraint |
Declaration | |
---|---|
From | func constraintLessThanOrEqualToConstant(_ c: CGFloat) -> NSLayoutConstraint! |
To | func constraint(lessThanOrEqualToConstant c: CGFloat) -> NSLayoutConstraint |
Modified NSLayoutFormatOptions [struct]
Declaration | Protocols | |
---|---|---|
From | struct NSLayoutFormatOptions : OptionSetType { init(rawValue rawValue: UInt) static var AlignAllLeft: NSLayoutFormatOptions { get } static var AlignAllRight: NSLayoutFormatOptions { get } static var AlignAllTop: NSLayoutFormatOptions { get } static var AlignAllBottom: NSLayoutFormatOptions { get } static var AlignAllLeading: NSLayoutFormatOptions { get } static var AlignAllTrailing: NSLayoutFormatOptions { get } static var AlignAllCenterX: NSLayoutFormatOptions { get } static var AlignAllCenterY: NSLayoutFormatOptions { get } static var AlignAllBaseline: NSLayoutFormatOptions { get } static var AlignAllLastBaseline: NSLayoutFormatOptions { get } static var AlignAllFirstBaseline: NSLayoutFormatOptions { get } static var AlignmentMask: NSLayoutFormatOptions { get } static var DirectionLeadingToTrailing: NSLayoutFormatOptions { get } static var DirectionLeftToRight: NSLayoutFormatOptions { get } static var DirectionRightToLeft: NSLayoutFormatOptions { get } static var DirectionMask: NSLayoutFormatOptions { get } } | OptionSetType |
To | struct NSLayoutFormatOptions : OptionSet { init(rawValue rawValue: UInt) static var alignAllLeft: NSLayoutFormatOptions { get } static var alignAllRight: NSLayoutFormatOptions { get } static var alignAllTop: NSLayoutFormatOptions { get } static var alignAllBottom: NSLayoutFormatOptions { get } static var alignAllLeading: NSLayoutFormatOptions { get } static var alignAllTrailing: NSLayoutFormatOptions { get } static var alignAllCenterX: NSLayoutFormatOptions { get } static var alignAllCenterY: NSLayoutFormatOptions { get } static var alignAllLastBaseline: NSLayoutFormatOptions { get } static var alignAllBaseline: NSLayoutFormatOptions { get } static var alignAllFirstBaseline: NSLayoutFormatOptions { get } static var alignmentMask: NSLayoutFormatOptions { get } static var directionLeadingToTrailing: NSLayoutFormatOptions { get } static var directionLeftToRight: NSLayoutFormatOptions { get } static var directionRightToLeft: NSLayoutFormatOptions { get } static var directionMask: NSLayoutFormatOptions { get } func intersect(_ other: NSLayoutFormatOptions) -> NSLayoutFormatOptions func exclusiveOr(_ other: NSLayoutFormatOptions) -> NSLayoutFormatOptions mutating func unionInPlace(_ other: NSLayoutFormatOptions) mutating func intersectInPlace(_ other: NSLayoutFormatOptions) mutating func exclusiveOrInPlace(_ other: NSLayoutFormatOptions) func isSubsetOf(_ other: NSLayoutFormatOptions) -> Bool func isDisjointWith(_ other: NSLayoutFormatOptions) -> Bool func isSupersetOf(_ other: NSLayoutFormatOptions) -> Bool mutating func subtractInPlace(_ other: NSLayoutFormatOptions) func isStrictSupersetOf(_ other: NSLayoutFormatOptions) -> Bool func isStrictSubsetOf(_ other: NSLayoutFormatOptions) -> Bool } extension NSLayoutFormatOptions { func union(_ other: NSLayoutFormatOptions) -> NSLayoutFormatOptions func intersection(_ other: NSLayoutFormatOptions) -> NSLayoutFormatOptions func symmetricDifference(_ other: NSLayoutFormatOptions) -> NSLayoutFormatOptions } extension NSLayoutFormatOptions { func contains(_ member: NSLayoutFormatOptions) -> Bool mutating func insert(_ newMember: NSLayoutFormatOptions) -> (inserted: Bool, memberAfterInsert: NSLayoutFormatOptions) mutating func remove(_ member: NSLayoutFormatOptions) -> NSLayoutFormatOptions? mutating func update(with newMember: NSLayoutFormatOptions) -> NSLayoutFormatOptions? } extension NSLayoutFormatOptions { convenience init() mutating func formUnion(_ other: NSLayoutFormatOptions) mutating func formIntersection(_ other: NSLayoutFormatOptions) mutating func formSymmetricDifference(_ other: NSLayoutFormatOptions) } extension NSLayoutFormatOptions { convenience init<S : Sequence where S.Iterator.Element == NSLayoutFormatOptions>(_ sequence: S) convenience init(arrayLiteral arrayLiteral: NSLayoutFormatOptions...) mutating func subtract(_ other: NSLayoutFormatOptions) func isSubset(of other: NSLayoutFormatOptions) -> Bool func isSuperset(of other: NSLayoutFormatOptions) -> Bool func isDisjoint(with other: NSLayoutFormatOptions) -> Bool func subtracting(_ other: NSLayoutFormatOptions) -> NSLayoutFormatOptions var isEmpty: Bool { get } func isStrictSuperset(of other: NSLayoutFormatOptions) -> Bool func isStrictSubset(of other: NSLayoutFormatOptions) -> Bool } | OptionSet |
Modified NSLayoutFormatOptions.alignAllBottom
Declaration | |
---|---|
From | static var AlignAllBottom: NSLayoutFormatOptions { get } |
To | static var alignAllBottom: NSLayoutFormatOptions { get } |
Declaration | |
---|---|
From | static var AlignAllCenterX: NSLayoutFormatOptions { get } |
To | static var alignAllCenterX: NSLayoutFormatOptions { get } |
Declaration | |
---|---|
From | static var AlignAllCenterY: NSLayoutFormatOptions { get } |
To | static var alignAllCenterY: NSLayoutFormatOptions { get } |
Declaration | |
---|---|
From | static var AlignAllFirstBaseline: NSLayoutFormatOptions { get } |
To | static var alignAllFirstBaseline: NSLayoutFormatOptions { get } |
Declaration | |
---|---|
From | static var AlignAllLastBaseline: NSLayoutFormatOptions { get } |
To | static var alignAllLastBaseline: NSLayoutFormatOptions { get } |
Declaration | |
---|---|
From | static var AlignAllLeading: NSLayoutFormatOptions { get } |
To | static var alignAllLeading: NSLayoutFormatOptions { get } |
Modified NSLayoutFormatOptions.alignAllLeft
Declaration | |
---|---|
From | static var AlignAllLeft: NSLayoutFormatOptions { get } |
To | static var alignAllLeft: NSLayoutFormatOptions { get } |
Modified NSLayoutFormatOptions.alignAllRight
Declaration | |
---|---|
From | static var AlignAllRight: NSLayoutFormatOptions { get } |
To | static var alignAllRight: NSLayoutFormatOptions { get } |
Modified NSLayoutFormatOptions.alignAllTop
Declaration | |
---|---|
From | static var AlignAllTop: NSLayoutFormatOptions { get } |
To | static var alignAllTop: NSLayoutFormatOptions { get } |
Declaration | |
---|---|
From | static var AlignAllTrailing: NSLayoutFormatOptions { get } |
To | static var alignAllTrailing: NSLayoutFormatOptions { get } |
Modified NSLayoutFormatOptions.alignmentMask
Declaration | |
---|---|
From | static var AlignmentMask: NSLayoutFormatOptions { get } |
To | static var alignmentMask: NSLayoutFormatOptions { get } |
Declaration | |
---|---|
From | static var DirectionLeadingToTrailing: NSLayoutFormatOptions { get } |
To | static var directionLeadingToTrailing: NSLayoutFormatOptions { get } |
Declaration | |
---|---|
From | static var DirectionLeftToRight: NSLayoutFormatOptions { get } |
To | static var directionLeftToRight: NSLayoutFormatOptions { get } |
Modified NSLayoutFormatOptions.directionMask
Declaration | |
---|---|
From | static var DirectionMask: NSLayoutFormatOptions { get } |
To | static var directionMask: NSLayoutFormatOptions { get } |
Declaration | |
---|---|
From | static var DirectionRightToLeft: NSLayoutFormatOptions { get } |
To | static var directionRightToLeft: NSLayoutFormatOptions { get } |
Modified NSLayoutManager
Declaration | Protocols | |
---|---|---|
From | class NSLayoutManager : NSObject, NSCoding { init() init?(coder coder: NSCoder) unowned(unsafe) var textStorage: NSTextStorage? var textContainers: [NSTextContainer] { get } func addTextContainer(_ container: NSTextContainer) func insertTextContainer(_ container: NSTextContainer, atIndex index: Int) func removeTextContainerAtIndex(_ index: Int) func textContainerChangedGeometry(_ container: NSTextContainer) unowned(unsafe) var delegate: NSLayoutManagerDelegate? var showsInvisibleCharacters: Bool var showsControlCharacters: Bool var hyphenationFactor: CGFloat var usesFontLeading: Bool var allowsNonContiguousLayout: Bool var hasNonContiguousLayout: Bool { get } func invalidateGlyphsForCharacterRange(_ charRange: NSRange, changeInLength delta: Int, actualCharacterRange actualCharRange: NSRangePointer) func invalidateLayoutForCharacterRange(_ charRange: NSRange, actualCharacterRange actualCharRange: NSRangePointer) func invalidateDisplayForCharacterRange(_ charRange: NSRange) func invalidateDisplayForGlyphRange(_ glyphRange: NSRange) func processEditingForTextStorage(_ textStorage: NSTextStorage, edited editMask: NSTextStorageEditActions, range newCharRange: NSRange, changeInLength delta: Int, invalidatedRange invalidatedCharRange: NSRange) func ensureGlyphsForCharacterRange(_ charRange: NSRange) func ensureGlyphsForGlyphRange(_ glyphRange: NSRange) func ensureLayoutForCharacterRange(_ charRange: NSRange) func ensureLayoutForGlyphRange(_ glyphRange: NSRange) func ensureLayoutForTextContainer(_ container: NSTextContainer) func ensureLayoutForBoundingRect(_ bounds: CGRect, inTextContainer container: NSTextContainer) func setGlyphs(_ glyphs: UnsafePointer<CGGlyph>, properties props: UnsafePointer<NSGlyphProperty>, characterIndexes charIndexes: UnsafePointer<Int>, font aFont: UIFont, forGlyphRange glyphRange: NSRange) var numberOfGlyphs: Int { get } func CGGlyphAtIndex(_ glyphIndex: Int, isValidIndex isValidIndex: UnsafeMutablePointer<ObjCBool>) -> CGGlyph func CGGlyphAtIndex(_ glyphIndex: Int) -> CGGlyph func isValidGlyphIndex(_ glyphIndex: Int) -> Bool func propertyForGlyphAtIndex(_ glyphIndex: Int) -> NSGlyphProperty func characterIndexForGlyphAtIndex(_ glyphIndex: Int) -> Int func glyphIndexForCharacterAtIndex(_ charIndex: Int) -> Int func getGlyphsInRange(_ glyphRange: NSRange, glyphs glyphBuffer: UnsafeMutablePointer<CGGlyph>, properties props: UnsafeMutablePointer<NSGlyphProperty>, characterIndexes charIndexBuffer: UnsafeMutablePointer<Int>, bidiLevels bidiLevelBuffer: UnsafeMutablePointer<UInt8>) -> Int func setTextContainer(_ container: NSTextContainer, forGlyphRange glyphRange: NSRange) func setLineFragmentRect(_ fragmentRect: CGRect, forGlyphRange glyphRange: NSRange, usedRect usedRect: CGRect) func setExtraLineFragmentRect(_ fragmentRect: CGRect, usedRect usedRect: CGRect, textContainer container: NSTextContainer) func setLocation(_ location: CGPoint, forStartOfGlyphRange glyphRange: NSRange) func setNotShownAttribute(_ flag: Bool, forGlyphAtIndex glyphIndex: Int) func setDrawsOutsideLineFragment(_ flag: Bool, forGlyphAtIndex glyphIndex: Int) func setAttachmentSize(_ attachmentSize: CGSize, forGlyphRange glyphRange: NSRange) func getFirstUnlaidCharacterIndex(_ charIndex: UnsafeMutablePointer<Int>, glyphIndex glyphIndex: UnsafeMutablePointer<Int>) func firstUnlaidCharacterIndex() -> Int func firstUnlaidGlyphIndex() -> Int func textContainerForGlyphAtIndex(_ glyphIndex: Int, effectiveRange effectiveGlyphRange: NSRangePointer) -> NSTextContainer? func textContainerForGlyphAtIndex(_ glyphIndex: Int, effectiveRange effectiveGlyphRange: NSRangePointer, withoutAdditionalLayout flag: Bool) -> NSTextContainer? func usedRectForTextContainer(_ container: NSTextContainer) -> CGRect func lineFragmentRectForGlyphAtIndex(_ glyphIndex: Int, effectiveRange effectiveGlyphRange: NSRangePointer) -> CGRect func lineFragmentRectForGlyphAtIndex(_ glyphIndex: Int, effectiveRange effectiveGlyphRange: NSRangePointer, withoutAdditionalLayout flag: Bool) -> CGRect func lineFragmentUsedRectForGlyphAtIndex(_ glyphIndex: Int, effectiveRange effectiveGlyphRange: NSRangePointer) -> CGRect func lineFragmentUsedRectForGlyphAtIndex(_ glyphIndex: Int, effectiveRange effectiveGlyphRange: NSRangePointer, withoutAdditionalLayout flag: Bool) -> CGRect var extraLineFragmentRect: CGRect { get } var extraLineFragmentUsedRect: CGRect { get } var extraLineFragmentTextContainer: NSTextContainer? { get } func locationForGlyphAtIndex(_ glyphIndex: Int) -> CGPoint func notShownAttributeForGlyphAtIndex(_ glyphIndex: Int) -> Bool func drawsOutsideLineFragmentForGlyphAtIndex(_ glyphIndex: Int) -> Bool func attachmentSizeForGlyphAtIndex(_ glyphIndex: Int) -> CGSize func truncatedGlyphRangeInLineFragmentForGlyphAtIndex(_ glyphIndex: Int) -> NSRange func glyphRangeForCharacterRange(_ charRange: NSRange, actualCharacterRange actualCharRange: NSRangePointer) -> NSRange func characterRangeForGlyphRange(_ glyphRange: NSRange, actualGlyphRange actualGlyphRange: NSRangePointer) -> NSRange func glyphRangeForTextContainer(_ container: NSTextContainer) -> NSRange func rangeOfNominallySpacedGlyphsContainingIndex(_ glyphIndex: Int) -> NSRange func boundingRectForGlyphRange(_ glyphRange: NSRange, inTextContainer container: NSTextContainer) -> CGRect func glyphRangeForBoundingRect(_ bounds: CGRect, inTextContainer container: NSTextContainer) -> NSRange func glyphRangeForBoundingRectWithoutAdditionalLayout(_ bounds: CGRect, inTextContainer container: NSTextContainer) -> NSRange func glyphIndexForPoint(_ point: CGPoint, inTextContainer container: NSTextContainer, fractionOfDistanceThroughGlyph partialFraction: UnsafeMutablePointer<CGFloat>) -> Int func glyphIndexForPoint(_ point: CGPoint, inTextContainer container: NSTextContainer) -> Int func fractionOfDistanceThroughGlyphForPoint(_ point: CGPoint, inTextContainer container: NSTextContainer) -> CGFloat func characterIndexForPoint(_ point: CGPoint, inTextContainer container: NSTextContainer, fractionOfDistanceBetweenInsertionPoints partialFraction: UnsafeMutablePointer<CGFloat>) -> Int func getLineFragmentInsertionPointsForCharacterAtIndex(_ charIndex: Int, alternatePositions aFlag: Bool, inDisplayOrder dFlag: Bool, positions positions: UnsafeMutablePointer<CGFloat>, characterIndexes charIndexes: UnsafeMutablePointer<Int>) -> Int func enumerateLineFragmentsForGlyphRange(_ glyphRange: NSRange, usingBlock block: (CGRect, CGRect, NSTextContainer, NSRange, UnsafeMutablePointer<ObjCBool>) -> Void) func enumerateEnclosingRectsForGlyphRange(_ glyphRange: NSRange, withinSelectedGlyphRange selectedRange: NSRange, inTextContainer textContainer: NSTextContainer, usingBlock block: (CGRect, UnsafeMutablePointer<ObjCBool>) -> Void) func drawBackgroundForGlyphRange(_ glyphsToShow: NSRange, atPoint origin: CGPoint) func drawGlyphsForGlyphRange(_ glyphsToShow: NSRange, atPoint origin: CGPoint) func showCGGlyphs(_ glyphs: UnsafePointer<CGGlyph>, positions positions: UnsafePointer<CGPoint>, count glyphCount: Int, font font: UIFont, matrix textMatrix: CGAffineTransform, attributes attributes: [String : AnyObject], inContext graphicsContext: CGContext) func fillBackgroundRectArray(_ rectArray: UnsafePointer<CGRect>, count rectCount: Int, forCharacterRange charRange: NSRange, color color: UIColor) func drawUnderlineForGlyphRange(_ glyphRange: NSRange, underlineType underlineVal: NSUnderlineStyle, baselineOffset baselineOffset: CGFloat, lineFragmentRect lineRect: CGRect, lineFragmentGlyphRange lineGlyphRange: NSRange, containerOrigin containerOrigin: CGPoint) func underlineGlyphRange(_ glyphRange: NSRange, underlineType underlineVal: NSUnderlineStyle, lineFragmentRect lineRect: CGRect, lineFragmentGlyphRange lineGlyphRange: NSRange, containerOrigin containerOrigin: CGPoint) func drawStrikethroughForGlyphRange(_ glyphRange: NSRange, strikethroughType strikethroughVal: NSUnderlineStyle, baselineOffset baselineOffset: CGFloat, lineFragmentRect lineRect: CGRect, lineFragmentGlyphRange lineGlyphRange: NSRange, containerOrigin containerOrigin: CGPoint) func strikethroughGlyphRange(_ glyphRange: NSRange, strikethroughType strikethroughVal: NSUnderlineStyle, lineFragmentRect lineRect: CGRect, lineFragmentGlyphRange lineGlyphRange: NSRange, containerOrigin containerOrigin: CGPoint) } extension NSLayoutManager { func glyphAtIndex(_ glyphIndex: Int, isValidIndex isValidIndex: UnsafeMutablePointer<ObjCBool>) -> CGGlyph func glyphAtIndex(_ glyphIndex: Int) -> CGGlyph } | NSCoding |
To | class NSLayoutManager : NSObject, NSCoding { init() init?(coder coder: NSCoder) unowned(unsafe) var textStorage: NSTextStorage? var textContainers: [NSTextContainer] { get } func addTextContainer(_ container: NSTextContainer) func insertTextContainer(_ container: NSTextContainer, at index: Int) func removeTextContainer(at index: Int) func textContainerChangedGeometry(_ container: NSTextContainer) unowned(unsafe) var delegate: NSLayoutManagerDelegate? var showsInvisibleCharacters: Bool var showsControlCharacters: Bool var hyphenationFactor: CGFloat var usesFontLeading: Bool var allowsNonContiguousLayout: Bool var hasNonContiguousLayout: Bool { get } func invalidateGlyphs(forCharacterRange charRange: NSRange, changeInLength delta: Int, actualCharacterRange actualCharRange: NSRangePointer?) func invalidateLayout(forCharacterRange charRange: NSRange, actualCharacterRange actualCharRange: NSRangePointer?) func invalidateDisplay(forCharacterRange charRange: NSRange) func invalidateDisplay(forGlyphRange glyphRange: NSRange) func processEditing(for textStorage: NSTextStorage, edited editMask: NSTextStorageEditActions, range newCharRange: NSRange, changeInLength delta: Int, invalidatedRange invalidatedCharRange: NSRange) func ensureGlyphs(forCharacterRange charRange: NSRange) func ensureGlyphs(forGlyphRange glyphRange: NSRange) func ensureLayout(forCharacterRange charRange: NSRange) func ensureLayout(forGlyphRange glyphRange: NSRange) func ensureLayout(for container: NSTextContainer) func ensureLayout(forBoundingRect bounds: CGRect, in container: NSTextContainer) func setGlyphs(_ glyphs: UnsafePointer<CGGlyph>, properties props: UnsafePointer<NSGlyphProperty>, characterIndexes charIndexes: UnsafePointer<Int>, font aFont: UIFont, forGlyphRange glyphRange: NSRange) var numberOfGlyphs: Int { get } func cgGlyph(at glyphIndex: Int, isValidIndex isValidIndex: UnsafeMutablePointer<ObjCBool>?) -> CGGlyph func cgGlyph(at glyphIndex: Int) -> CGGlyph func isValidGlyphIndex(_ glyphIndex: Int) -> Bool func propertyForGlyph(at glyphIndex: Int) -> NSGlyphProperty func characterIndexForGlyph(at glyphIndex: Int) -> Int func glyphIndexForCharacter(at charIndex: Int) -> Int func getGlyphs(in glyphRange: NSRange, glyphs glyphBuffer: UnsafeMutablePointer<CGGlyph>?, properties props: UnsafeMutablePointer<NSGlyphProperty>?, characterIndexes charIndexBuffer: UnsafeMutablePointer<Int>?, bidiLevels bidiLevelBuffer: UnsafeMutablePointer<UInt8>?) -> Int func setTextContainer(_ container: NSTextContainer, forGlyphRange glyphRange: NSRange) func setLineFragmentRect(_ fragmentRect: CGRect, forGlyphRange glyphRange: NSRange, usedRect usedRect: CGRect) func setExtraLineFragmentRect(_ fragmentRect: CGRect, usedRect usedRect: CGRect, textContainer container: NSTextContainer) func setLocation(_ location: CGPoint, forStartOfGlyphRange glyphRange: NSRange) func setNotShownAttribute(_ flag: Bool, forGlyphAt glyphIndex: Int) func setDrawsOutsideLineFragment(_ flag: Bool, forGlyphAt glyphIndex: Int) func setAttachmentSize(_ attachmentSize: CGSize, forGlyphRange glyphRange: NSRange) func getFirstUnlaidCharacterIndex(_ charIndex: UnsafeMutablePointer<Int>?, glyphIndex glyphIndex: UnsafeMutablePointer<Int>?) var firstUnlaidCharacterIndex: Int { get } var firstUnlaidGlyphIndex: Int { get } func textContainer(forGlyphAt glyphIndex: Int, effectiveRange effectiveGlyphRange: NSRangePointer?) -> NSTextContainer? func textContainer(forGlyphAt glyphIndex: Int, effectiveRange effectiveGlyphRange: NSRangePointer?, withoutAdditionalLayout flag: Bool) -> NSTextContainer? func usedRect(for container: NSTextContainer) -> CGRect func lineFragmentRect(forGlyphAt glyphIndex: Int, effectiveRange effectiveGlyphRange: NSRangePointer?) -> CGRect func lineFragmentRect(forGlyphAt glyphIndex: Int, effectiveRange effectiveGlyphRange: NSRangePointer?, withoutAdditionalLayout flag: Bool) -> CGRect func lineFragmentUsedRect(forGlyphAt glyphIndex: Int, effectiveRange effectiveGlyphRange: NSRangePointer?) -> CGRect func lineFragmentUsedRect(forGlyphAt glyphIndex: Int, effectiveRange effectiveGlyphRange: NSRangePointer?, withoutAdditionalLayout flag: Bool) -> CGRect var extraLineFragmentRect: CGRect { get } var extraLineFragmentUsedRect: CGRect { get } var extraLineFragmentTextContainer: NSTextContainer? { get } func location(forGlyphAt glyphIndex: Int) -> CGPoint func notShownAttribute(forGlyphAt glyphIndex: Int) -> Bool func drawsOutsideLineFragment(forGlyphAt glyphIndex: Int) -> Bool func attachmentSize(forGlyphAt glyphIndex: Int) -> CGSize func truncatedGlyphRange(inLineFragmentForGlyphAt glyphIndex: Int) -> NSRange func glyphRange(forCharacterRange charRange: NSRange, actualCharacterRange actualCharRange: NSRangePointer?) -> NSRange func characterRange(forGlyphRange glyphRange: NSRange, actualGlyphRange actualGlyphRange: NSRangePointer?) -> NSRange func glyphRange(for container: NSTextContainer) -> NSRange func range(ofNominallySpacedGlyphsContaining glyphIndex: Int) -> NSRange func boundingRect(forGlyphRange glyphRange: NSRange, in container: NSTextContainer) -> CGRect func glyphRange(forBoundingRect bounds: CGRect, in container: NSTextContainer) -> NSRange func glyphRange(forBoundingRectWithoutAdditionalLayout bounds: CGRect, in container: NSTextContainer) -> NSRange func glyphIndex(for point: CGPoint, in container: NSTextContainer, fractionOfDistanceThroughGlyph partialFraction: UnsafeMutablePointer<CGFloat>?) -> Int func glyphIndex(for point: CGPoint, in container: NSTextContainer) -> Int func fractionOfDistanceThroughGlyph(for point: CGPoint, in container: NSTextContainer) -> CGFloat func characterIndex(for point: CGPoint, in container: NSTextContainer, fractionOfDistanceBetweenInsertionPoints partialFraction: UnsafeMutablePointer<CGFloat>?) -> Int func getLineFragmentInsertionPoints(forCharacterAt charIndex: Int, alternatePositions aFlag: Bool, inDisplayOrder dFlag: Bool, positions positions: UnsafeMutablePointer<CGFloat>?, characterIndexes charIndexes: UnsafeMutablePointer<Int>?) -> Int func enumerateLineFragments(forGlyphRange glyphRange: NSRange, using block: @escaping (CGRect, CGRect, NSTextContainer, NSRange, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) func enumerateEnclosingRects(forGlyphRange glyphRange: NSRange, withinSelectedGlyphRange selectedRange: NSRange, in textContainer: NSTextContainer, using block: @escaping (CGRect, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) func drawBackground(forGlyphRange glyphsToShow: NSRange, at origin: CGPoint) func drawGlyphs(forGlyphRange glyphsToShow: NSRange, at origin: CGPoint) func showCGGlyphs(_ glyphs: UnsafePointer<CGGlyph>, positions positions: UnsafePointer<CGPoint>, count glyphCount: Int, font font: UIFont, matrix textMatrix: CGAffineTransform, attributes attributes: [String : Any] = [:], in graphicsContext: CGContext) func fillBackgroundRectArray(_ rectArray: UnsafePointer<CGRect>, count rectCount: Int, forCharacterRange charRange: NSRange, color color: UIColor) func drawUnderline(forGlyphRange glyphRange: NSRange, underlineType underlineVal: NSUnderlineStyle, baselineOffset baselineOffset: CGFloat, lineFragmentRect lineRect: CGRect, lineFragmentGlyphRange lineGlyphRange: NSRange, containerOrigin containerOrigin: CGPoint) func underlineGlyphRange(_ glyphRange: NSRange, underlineType underlineVal: NSUnderlineStyle, lineFragmentRect lineRect: CGRect, lineFragmentGlyphRange lineGlyphRange: NSRange, containerOrigin containerOrigin: CGPoint) func drawStrikethrough(forGlyphRange glyphRange: NSRange, strikethroughType strikethroughVal: NSUnderlineStyle, baselineOffset baselineOffset: CGFloat, lineFragmentRect lineRect: CGRect, lineFragmentGlyphRange lineGlyphRange: NSRange, containerOrigin containerOrigin: CGPoint) func strikethroughGlyphRange(_ glyphRange: NSRange, strikethroughType strikethroughVal: NSUnderlineStyle, lineFragmentRect lineRect: CGRect, lineFragmentGlyphRange lineGlyphRange: NSRange, containerOrigin containerOrigin: CGPoint) func glyph(at glyphIndex: Int, isValidIndex isValidIndex: UnsafeMutablePointer<ObjCBool>?) -> CGGlyph func glyph(at glyphIndex: Int) -> CGGlyph 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 NSLayoutManager : CVarArg { } extension NSLayoutManager : Equatable, Hashable { var hashValue: Int { get } } extension NSLayoutManager { func glyph(at glyphIndex: Int, isValidIndex isValidIndex: UnsafeMutablePointer<ObjCBool>?) -> CGGlyph func glyph(at glyphIndex: Int) -> CGGlyph } | CVarArg, Equatable, Hashable, NSCoding |
Declaration | |
---|---|
From | func attachmentSizeForGlyphAtIndex(_ glyphIndex: Int) -> CGSize |
To | func attachmentSize(forGlyphAt glyphIndex: Int) -> CGSize |
Declaration | |
---|---|
From | func boundingRectForGlyphRange(_ glyphRange: NSRange, inTextContainer container: NSTextContainer) -> CGRect |
To | func boundingRect(forGlyphRange glyphRange: NSRange, in container: NSTextContainer) -> CGRect |
Declaration | Introduction | |
---|---|---|
From | func CGGlyphAtIndex(_ glyphIndex: Int) -> CGGlyph | iOS 9.0 |
To | func cgGlyph(at glyphIndex: Int) -> CGGlyph | iOS 7.0 |
Declaration | Introduction | |
---|---|---|
From | func CGGlyphAtIndex(_ glyphIndex: Int, isValidIndex isValidIndex: UnsafeMutablePointer<ObjCBool>) -> CGGlyph | iOS 9.0 |
To | func cgGlyph(at glyphIndex: Int, isValidIndex isValidIndex: UnsafeMutablePointer<ObjCBool>?) -> CGGlyph | iOS 7.0 |
Declaration | |
---|---|
From | func characterIndexForPoint(_ point: CGPoint, inTextContainer container: NSTextContainer, fractionOfDistanceBetweenInsertionPoints partialFraction: UnsafeMutablePointer<CGFloat>) -> Int |
To | func characterIndex(for point: CGPoint, in container: NSTextContainer, fractionOfDistanceBetweenInsertionPoints partialFraction: UnsafeMutablePointer<CGFloat>?) -> Int |
Declaration | |
---|---|
From | func characterIndexForGlyphAtIndex(_ glyphIndex: Int) -> Int |
To | func characterIndexForGlyph(at glyphIndex: Int) -> Int |
Modified NSLayoutManager.characterRange(forGlyphRange: NSRange, actualGlyphRange: NSRangePointer?) -> NSRange
Declaration | |
---|---|
From | func characterRangeForGlyphRange(_ glyphRange: NSRange, actualGlyphRange actualGlyphRange: NSRangePointer) -> NSRange |
To | func characterRange(forGlyphRange glyphRange: NSRange, actualGlyphRange actualGlyphRange: NSRangePointer?) -> NSRange |
Declaration | |
---|---|
From | func drawBackgroundForGlyphRange(_ glyphsToShow: NSRange, atPoint origin: CGPoint) |
To | func drawBackground(forGlyphRange glyphsToShow: NSRange, at origin: CGPoint) |
Declaration | |
---|---|
From | func drawGlyphsForGlyphRange(_ glyphsToShow: NSRange, atPoint origin: CGPoint) |
To | func drawGlyphs(forGlyphRange glyphsToShow: NSRange, at origin: CGPoint) |
Declaration | |
---|---|
From | func drawsOutsideLineFragmentForGlyphAtIndex(_ glyphIndex: Int) -> Bool |
To | func drawsOutsideLineFragment(forGlyphAt glyphIndex: Int) -> Bool |
Declaration | |
---|---|
From | func drawStrikethroughForGlyphRange(_ glyphRange: NSRange, strikethroughType strikethroughVal: NSUnderlineStyle, baselineOffset baselineOffset: CGFloat, lineFragmentRect lineRect: CGRect, lineFragmentGlyphRange lineGlyphRange: NSRange, containerOrigin containerOrigin: CGPoint) |
To | func drawStrikethrough(forGlyphRange glyphRange: NSRange, strikethroughType strikethroughVal: NSUnderlineStyle, baselineOffset baselineOffset: CGFloat, lineFragmentRect lineRect: CGRect, lineFragmentGlyphRange lineGlyphRange: NSRange, containerOrigin containerOrigin: CGPoint) |
Declaration | |
---|---|
From | func drawUnderlineForGlyphRange(_ glyphRange: NSRange, underlineType underlineVal: NSUnderlineStyle, baselineOffset baselineOffset: CGFloat, lineFragmentRect lineRect: CGRect, lineFragmentGlyphRange lineGlyphRange: NSRange, containerOrigin containerOrigin: CGPoint) |
To | func drawUnderline(forGlyphRange glyphRange: NSRange, underlineType underlineVal: NSUnderlineStyle, baselineOffset baselineOffset: CGFloat, lineFragmentRect lineRect: CGRect, lineFragmentGlyphRange lineGlyphRange: NSRange, containerOrigin containerOrigin: CGPoint) |
Declaration | |
---|---|
From | func ensureGlyphsForCharacterRange(_ charRange: NSRange) |
To | func ensureGlyphs(forCharacterRange charRange: NSRange) |
Declaration | |
---|---|
From | func ensureGlyphsForGlyphRange(_ glyphRange: NSRange) |
To | func ensureGlyphs(forGlyphRange glyphRange: NSRange) |
Declaration | |
---|---|
From | func ensureLayoutForTextContainer(_ container: NSTextContainer) |
To | func ensureLayout(for container: NSTextContainer) |
Declaration | |
---|---|
From | func ensureLayoutForBoundingRect(_ bounds: CGRect, inTextContainer container: NSTextContainer) |
To | func ensureLayout(forBoundingRect bounds: CGRect, in container: NSTextContainer) |
Declaration | |
---|---|
From | func ensureLayoutForCharacterRange(_ charRange: NSRange) |
To | func ensureLayout(forCharacterRange charRange: NSRange) |
Declaration | |
---|---|
From | func ensureLayoutForGlyphRange(_ glyphRange: NSRange) |
To | func ensureLayout(forGlyphRange glyphRange: NSRange) |
Declaration | |
---|---|
From | func enumerateEnclosingRectsForGlyphRange(_ glyphRange: NSRange, withinSelectedGlyphRange selectedRange: NSRange, inTextContainer textContainer: NSTextContainer, usingBlock block: (CGRect, UnsafeMutablePointer<ObjCBool>) -> Void) |
To | func enumerateEnclosingRects(forGlyphRange glyphRange: NSRange, withinSelectedGlyphRange selectedRange: NSRange, in textContainer: NSTextContainer, using block: @escaping (CGRect, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) |
Declaration | |
---|---|
From | func enumerateLineFragmentsForGlyphRange(_ glyphRange: NSRange, usingBlock block: (CGRect, CGRect, NSTextContainer, NSRange, UnsafeMutablePointer<ObjCBool>) -> Void) |
To | func enumerateLineFragments(forGlyphRange glyphRange: NSRange, using block: @escaping (CGRect, CGRect, NSTextContainer, NSRange, UnsafeMutablePointer<ObjCBool>) -> Swift.Void) |
Modified NSLayoutManager.fractionOfDistanceThroughGlyph(for: CGPoint, in: NSTextContainer) -> CGFloat
Declaration | |
---|---|
From | func fractionOfDistanceThroughGlyphForPoint(_ point: CGPoint, inTextContainer container: NSTextContainer) -> CGFloat |
To | func fractionOfDistanceThroughGlyph(for point: CGPoint, in container: NSTextContainer) -> CGFloat |
Declaration | |
---|---|
From | func getFirstUnlaidCharacterIndex(_ charIndex: UnsafeMutablePointer<Int>, glyphIndex glyphIndex: UnsafeMutablePointer<Int>) |
To | func getFirstUnlaidCharacterIndex(_ charIndex: UnsafeMutablePointer<Int>?, glyphIndex glyphIndex: UnsafeMutablePointer<Int>?) |
Declaration | |
---|---|
From | func getGlyphsInRange(_ glyphRange: NSRange, glyphs glyphBuffer: UnsafeMutablePointer<CGGlyph>, properties props: UnsafeMutablePointer<NSGlyphProperty>, characterIndexes charIndexBuffer: UnsafeMutablePointer<Int>, bidiLevels bidiLevelBuffer: UnsafeMutablePointer<UInt8>) -> Int |
To | func getGlyphs(in glyphRange: NSRange, glyphs glyphBuffer: UnsafeMutablePointer<CGGlyph>?, properties props: UnsafeMutablePointer<NSGlyphProperty>?, characterIndexes charIndexBuffer: UnsafeMutablePointer<Int>?, bidiLevels bidiLevelBuffer: UnsafeMutablePointer<UInt8>?) -> Int |
Declaration | |
---|---|
From | func getLineFragmentInsertionPointsForCharacterAtIndex(_ charIndex: Int, alternatePositions aFlag: Bool, inDisplayOrder dFlag: Bool, positions positions: UnsafeMutablePointer<CGFloat>, characterIndexes charIndexes: UnsafeMutablePointer<Int>) -> Int |
To | func getLineFragmentInsertionPoints(forCharacterAt charIndex: Int, alternatePositions aFlag: Bool, inDisplayOrder dFlag: Bool, positions positions: UnsafeMutablePointer<CGFloat>?, characterIndexes charIndexes: UnsafeMutablePointer<Int>?) -> Int |
Declaration | |
---|---|
From | func glyphAtIndex(_ glyphIndex: Int) -> CGGlyph |
To | func glyph(at glyphIndex: Int) -> CGGlyph |
Declaration | |
---|---|
From | func glyphAtIndex(_ glyphIndex: Int, isValidIndex isValidIndex: UnsafeMutablePointer<ObjCBool>) -> CGGlyph |
To | func glyph(at glyphIndex: Int, isValidIndex isValidIndex: UnsafeMutablePointer<ObjCBool>?) -> CGGlyph |
Declaration | |
---|---|
From | func glyphIndexForPoint(_ point: CGPoint, inTextContainer container: NSTextContainer) -> Int |
To | func glyphIndex(for point: CGPoint, in container: NSTextContainer) -> Int |
Declaration | |
---|---|
From | func glyphIndexForPoint(_ point: CGPoint, inTextContainer container: NSTextContainer, fractionOfDistanceThroughGlyph partialFraction: UnsafeMutablePointer<CGFloat>) -> Int |
To | func glyphIndex(for point: CGPoint, in container: NSTextContainer, fractionOfDistanceThroughGlyph partialFraction: UnsafeMutablePointer<CGFloat>?) -> Int |
Declaration | |
---|---|
From | func glyphIndexForCharacterAtIndex(_ charIndex: Int) -> Int |
To | func glyphIndexForCharacter(at charIndex: Int) -> Int |
Declaration | |
---|---|
From | func glyphRangeForTextContainer(_ container: NSTextContainer) -> NSRange |
To | func glyphRange(for container: NSTextContainer) -> NSRange |
Declaration | |
---|---|
From | func glyphRangeForBoundingRect(_ bounds: CGRect, inTextContainer container: NSTextContainer) -> NSRange |
To | func glyphRange(forBoundingRect bounds: CGRect, in container: NSTextContainer) -> NSRange |
Declaration | |
---|---|
From | func glyphRangeForBoundingRectWithoutAdditionalLayout(_ bounds: CGRect, inTextContainer container: NSTextContainer) -> NSRange |
To | func glyphRange(forBoundingRectWithoutAdditionalLayout bounds: CGRect, in container: NSTextContainer) -> NSRange |
Declaration | |
---|---|
From | func glyphRangeForCharacterRange(_ charRange: NSRange, actualCharacterRange actualCharRange: NSRangePointer) -> NSRange |
To | func glyphRange(forCharacterRange charRange: NSRange, actualCharacterRange actualCharRange: NSRangePointer?) -> NSRange |
Declaration | |
---|---|
From | func insertTextContainer(_ container: NSTextContainer, atIndex index: Int) |
To | func insertTextContainer(_ container: NSTextContainer, at index: Int) |
Declaration | |
---|---|
From | func invalidateDisplayForCharacterRange(_ charRange: NSRange) |
To | func invalidateDisplay(forCharacterRange charRange: NSRange) |
Declaration | |
---|---|
From | func invalidateDisplayForGlyphRange(_ glyphRange: NSRange) |
To | func invalidateDisplay(forGlyphRange glyphRange: NSRange) |
Declaration | |
---|---|
From | func invalidateGlyphsForCharacterRange(_ charRange: NSRange, changeInLength delta: Int, actualCharacterRange actualCharRange: NSRangePointer) |
To | func invalidateGlyphs(forCharacterRange charRange: NSRange, changeInLength delta: Int, actualCharacterRange actualCharRange: NSRangePointer?) |
Modified NSLayoutManager.invalidateLayout(forCharacterRange: NSRange, actualCharacterRange: NSRangePointer?)
Declaration | |
---|---|
From | func invalidateLayoutForCharacterRange(_ charRange: NSRange, actualCharacterRange actualCharRange: NSRangePointer) |
To | func invalidateLayout(forCharacterRange charRange: NSRange, actualCharacterRange actualCharRange: NSRangePointer?) |
Introduction | |
---|---|
From | iOS 8.0 |
To | iOS 7.0 |
Modified NSLayoutManager.lineFragmentRect(forGlyphAt: Int, effectiveRange: NSRangePointer?) -> CGRect
Declaration | |
---|---|
From | func lineFragmentRectForGlyphAtIndex(_ glyphIndex: Int, effectiveRange effectiveGlyphRange: NSRangePointer) -> CGRect |
To | func lineFragmentRect(forGlyphAt glyphIndex: Int, effectiveRange effectiveGlyphRange: NSRangePointer?) -> CGRect |
Declaration | |
---|---|
From | func lineFragmentRectForGlyphAtIndex(_ glyphIndex: Int, effectiveRange effectiveGlyphRange: NSRangePointer, withoutAdditionalLayout flag: Bool) -> CGRect |
To | func lineFragmentRect(forGlyphAt glyphIndex: Int, effectiveRange effectiveGlyphRange: NSRangePointer?, withoutAdditionalLayout flag: Bool) -> CGRect |
Modified NSLayoutManager.lineFragmentUsedRect(forGlyphAt: Int, effectiveRange: NSRangePointer?) -> CGRect
Declaration | |
---|---|
From | func lineFragmentUsedRectForGlyphAtIndex(_ glyphIndex: Int, effectiveRange effectiveGlyphRange: NSRangePointer) -> CGRect |
To | func lineFragmentUsedRect(forGlyphAt glyphIndex: Int, effectiveRange effectiveGlyphRange: NSRangePointer?) -> CGRect |
Declaration | |
---|---|
From | func lineFragmentUsedRectForGlyphAtIndex(_ glyphIndex: Int, effectiveRange effectiveGlyphRange: NSRangePointer, withoutAdditionalLayout flag: Bool) -> CGRect |
To | func lineFragmentUsedRect(forGlyphAt glyphIndex: Int, effectiveRange effectiveGlyphRange: NSRangePointer?, withoutAdditionalLayout flag: Bool) -> CGRect |
Declaration | |
---|---|
From | func locationForGlyphAtIndex(_ glyphIndex: Int) -> CGPoint |
To | func location(forGlyphAt glyphIndex: Int) -> CGPoint |
Declaration | |
---|---|
From | func notShownAttributeForGlyphAtIndex(_ glyphIndex: Int) -> Bool |
To | func notShownAttribute(forGlyphAt glyphIndex: Int) -> Bool |
Declaration | |
---|---|
From | func processEditingForTextStorage(_ textStorage: NSTextStorage, edited editMask: NSTextStorageEditActions, range newCharRange: NSRange, changeInLength delta: Int, invalidatedRange invalidatedCharRange: NSRange) |
To | func processEditing(for textStorage: NSTextStorage, edited editMask: NSTextStorageEditActions, range newCharRange: NSRange, changeInLength delta: Int, invalidatedRange invalidatedCharRange: NSRange) |
Declaration | |
---|---|
From | func propertyForGlyphAtIndex(_ glyphIndex: Int) -> NSGlyphProperty |
To | func propertyForGlyph(at glyphIndex: Int) -> NSGlyphProperty |
Declaration | |
---|---|
From | func rangeOfNominallySpacedGlyphsContainingIndex(_ glyphIndex: Int) -> NSRange |
To | func range(ofNominallySpacedGlyphsContaining glyphIndex: Int) -> NSRange |
Declaration | |
---|---|
From | func removeTextContainerAtIndex(_ index: Int) |
To | func removeTextContainer(at index: Int) |
Declaration | |
---|---|
From | func setDrawsOutsideLineFragment(_ flag: Bool, forGlyphAtIndex glyphIndex: Int) |
To | func setDrawsOutsideLineFragment(_ flag: Bool, forGlyphAt glyphIndex: Int) |
Declaration | |
---|---|
From | func setNotShownAttribute(_ flag: Bool, forGlyphAtIndex glyphIndex: Int) |
To | func setNotShownAttribute(_ flag: Bool, forGlyphAt glyphIndex: Int) |
Declaration | |
---|---|
From | func showCGGlyphs(_ glyphs: UnsafePointer<CGGlyph>, positions positions: UnsafePointer<CGPoint>, count glyphCount: Int, font font: UIFont, matrix textMatrix: CGAffineTransform, attributes attributes: [String : AnyObject], inContext graphicsContext: CGContext) |
To | func showCGGlyphs(_ glyphs: UnsafePointer<CGGlyph>, positions positions: UnsafePointer<CGPoint>, count glyphCount: Int, font font: UIFont, matrix textMatrix: CGAffineTransform, attributes attributes: [String : Any] = [:], in graphicsContext: CGContext) |
Modified NSLayoutManager.textContainer(forGlyphAt: Int, effectiveRange: NSRangePointer?) -> NSTextContainer?
Declaration | |
---|---|
From | func textContainerForGlyphAtIndex(_ glyphIndex: Int, effectiveRange effectiveGlyphRange: NSRangePointer) -> NSTextContainer? |
To | func textContainer(forGlyphAt glyphIndex: Int, effectiveRange effectiveGlyphRange: NSRangePointer?) -> NSTextContainer? |
Declaration | |
---|---|
From | func textContainerForGlyphAtIndex(_ glyphIndex: Int, effectiveRange effectiveGlyphRange: NSRangePointer, withoutAdditionalLayout flag: Bool) -> NSTextContainer? |
To | func textContainer(forGlyphAt glyphIndex: Int, effectiveRange effectiveGlyphRange: NSRangePointer?, withoutAdditionalLayout flag: Bool) -> NSTextContainer? |
Declaration | |
---|---|
From | func truncatedGlyphRangeInLineFragmentForGlyphAtIndex(_ glyphIndex: Int) -> NSRange |
To | func truncatedGlyphRange(inLineFragmentForGlyphAt glyphIndex: Int) -> NSRange |
Declaration | |
---|---|
From | func usedRectForTextContainer(_ container: NSTextContainer) -> CGRect |
To | func usedRect(for container: NSTextContainer) -> CGRect |
Modified NSLayoutManagerDelegate
Declaration | |
---|---|
From | protocol NSLayoutManagerDelegate : NSObjectProtocol { optional func layoutManager(_ layoutManager: NSLayoutManager, shouldGenerateGlyphs glyphs: UnsafePointer<CGGlyph>, properties props: UnsafePointer<NSGlyphProperty>, characterIndexes charIndexes: UnsafePointer<Int>, font aFont: UIFont, forGlyphRange glyphRange: NSRange) -> Int optional func layoutManager(_ layoutManager: NSLayoutManager, lineSpacingAfterGlyphAtIndex glyphIndex: Int, withProposedLineFragmentRect rect: CGRect) -> CGFloat optional func layoutManager(_ layoutManager: NSLayoutManager, paragraphSpacingBeforeGlyphAtIndex glyphIndex: Int, withProposedLineFragmentRect rect: CGRect) -> CGFloat optional func layoutManager(_ layoutManager: NSLayoutManager, paragraphSpacingAfterGlyphAtIndex glyphIndex: Int, withProposedLineFragmentRect rect: CGRect) -> CGFloat optional func layoutManager(_ layoutManager: NSLayoutManager, shouldUseAction action: NSControlCharacterAction, forControlCharacterAtIndex charIndex: Int) -> NSControlCharacterAction optional func layoutManager(_ layoutManager: NSLayoutManager, shouldBreakLineByWordBeforeCharacterAtIndex charIndex: Int) -> Bool optional func layoutManager(_ layoutManager: NSLayoutManager, shouldBreakLineByHyphenatingBeforeCharacterAtIndex charIndex: Int) -> Bool optional func layoutManager(_ layoutManager: NSLayoutManager, boundingBoxForControlGlyphAtIndex glyphIndex: Int, forTextContainer textContainer: NSTextContainer, proposedLineFragment proposedRect: CGRect, glyphPosition glyphPosition: CGPoint, characterIndex charIndex: Int) -> CGRect optional func layoutManager(_ layoutManager: NSLayoutManager, shouldSetLineFragmentRect lineFragmentRect: UnsafeMutablePointer<CGRect>, lineFragmentUsedRect lineFragmentUsedRect: UnsafeMutablePointer<CGRect>, baselineOffset baselineOffset: UnsafeMutablePointer<CGFloat>, inTextContainer textContainer: NSTextContainer, forGlyphRange glyphRange: NSRange) -> Bool optional func layoutManagerDidInvalidateLayout(_ sender: NSLayoutManager) optional func layoutManager(_ layoutManager: NSLayoutManager, didCompleteLayoutForTextContainer textContainer: NSTextContainer?, atEnd layoutFinishedFlag: Bool) optional func layoutManager(_ layoutManager: NSLayoutManager, textContainer textContainer: NSTextContainer, didChangeGeometryFromSize oldSize: CGSize) } |
To | protocol NSLayoutManagerDelegate : NSObjectProtocol { optional func layoutManager(_ layoutManager: NSLayoutManager, shouldGenerateGlyphs glyphs: UnsafePointer<CGGlyph>, properties props: UnsafePointer<NSGlyphProperty>, characterIndexes charIndexes: UnsafePointer<Int>, font aFont: UIFont, forGlyphRange glyphRange: NSRange) -> Int optional func layoutManager(_ layoutManager: NSLayoutManager, lineSpacingAfterGlyphAt glyphIndex: Int, withProposedLineFragmentRect rect: CGRect) -> CGFloat optional func layoutManager(_ layoutManager: NSLayoutManager, paragraphSpacingBeforeGlyphAt glyphIndex: Int, withProposedLineFragmentRect rect: CGRect) -> CGFloat optional func layoutManager(_ layoutManager: NSLayoutManager, paragraphSpacingAfterGlyphAt glyphIndex: Int, withProposedLineFragmentRect rect: CGRect) -> CGFloat optional func layoutManager(_ layoutManager: NSLayoutManager, shouldUse action: NSControlCharacterAction, forControlCharacterAt charIndex: Int) -> NSControlCharacterAction optional func layoutManager(_ layoutManager: NSLayoutManager, shouldBreakLineByWordBeforeCharacterAt charIndex: Int) -> Bool optional func layoutManager(_ layoutManager: NSLayoutManager, shouldBreakLineByHyphenatingBeforeCharacterAt charIndex: Int) -> Bool optional func layoutManager(_ layoutManager: NSLayoutManager, boundingBoxForControlGlyphAt glyphIndex: Int, for textContainer: NSTextContainer, proposedLineFragment proposedRect: CGRect, glyphPosition glyphPosition: CGPoint, characterIndex charIndex: Int) -> CGRect optional func layoutManager(_ layoutManager: NSLayoutManager, shouldSetLineFragmentRect lineFragmentRect: UnsafeMutablePointer<CGRect>, lineFragmentUsedRect lineFragmentUsedRect: UnsafeMutablePointer<CGRect>, baselineOffset baselineOffset: UnsafeMutablePointer<CGFloat>, in textContainer: NSTextContainer, forGlyphRange glyphRange: NSRange) -> Bool optional func layoutManagerDidInvalidateLayout(_ sender: NSLayoutManager) optional func layoutManager(_ layoutManager: NSLayoutManager, didCompleteLayoutFor textContainer: NSTextContainer?, atEnd layoutFinishedFlag: Bool) optional func layoutManager(_ layoutManager: NSLayoutManager, textContainer textContainer: NSTextContainer, didChangeGeometryFrom oldSize: CGSize) } |
Declaration | |
---|---|
From | optional func layoutManager(_ layoutManager: NSLayoutManager, boundingBoxForControlGlyphAtIndex glyphIndex: Int, forTextContainer textContainer: NSTextContainer, proposedLineFragment proposedRect: CGRect, glyphPosition glyphPosition: CGPoint, characterIndex charIndex: Int) -> CGRect |
To | optional func layoutManager(_ layoutManager: NSLayoutManager, boundingBoxForControlGlyphAt glyphIndex: Int, for textContainer: NSTextContainer, proposedLineFragment proposedRect: CGRect, glyphPosition glyphPosition: CGPoint, characterIndex charIndex: Int) -> CGRect |
Declaration | |
---|---|
From | optional func layoutManager(_ layoutManager: NSLayoutManager, didCompleteLayoutForTextContainer textContainer: NSTextContainer?, atEnd layoutFinishedFlag: Bool) |
To | optional func layoutManager(_ layoutManager: NSLayoutManager, didCompleteLayoutFor textContainer: NSTextContainer?, atEnd layoutFinishedFlag: Bool) |
Declaration | |
---|---|
From | optional func layoutManager(_ layoutManager: NSLayoutManager, lineSpacingAfterGlyphAtIndex glyphIndex: Int, withProposedLineFragmentRect rect: CGRect) -> CGFloat |
To | optional func layoutManager(_ layoutManager: NSLayoutManager, lineSpacingAfterGlyphAt glyphIndex: Int, withProposedLineFragmentRect rect: CGRect) -> CGFloat |
Declaration | |
---|---|
From | optional func layoutManager(_ layoutManager: NSLayoutManager, paragraphSpacingAfterGlyphAtIndex glyphIndex: Int, withProposedLineFragmentRect rect: CGRect) -> CGFloat |
To | optional func layoutManager(_ layoutManager: NSLayoutManager, paragraphSpacingAfterGlyphAt glyphIndex: Int, withProposedLineFragmentRect rect: CGRect) -> CGFloat |
Declaration | |
---|---|
From | optional func layoutManager(_ layoutManager: NSLayoutManager, paragraphSpacingBeforeGlyphAtIndex glyphIndex: Int, withProposedLineFragmentRect rect: CGRect) -> CGFloat |
To | optional func layoutManager(_ layoutManager: NSLayoutManager, paragraphSpacingBeforeGlyphAt glyphIndex: Int, withProposedLineFragmentRect rect: CGRect) -> CGFloat |
Declaration | |
---|---|
From | optional func layoutManager(_ layoutManager: NSLayoutManager, shouldBreakLineByHyphenatingBeforeCharacterAtIndex charIndex: Int) -> Bool |
To | optional func layoutManager(_ layoutManager: NSLayoutManager, shouldBreakLineByHyphenatingBeforeCharacterAt charIndex: Int) -> Bool |
Declaration | |
---|---|
From | optional func layoutManager(_ layoutManager: NSLayoutManager, shouldBreakLineByWordBeforeCharacterAtIndex charIndex: Int) -> Bool |
To | optional func layoutManager(_ layoutManager: NSLayoutManager, shouldBreakLineByWordBeforeCharacterAt charIndex: Int) -> Bool |
Declaration | |
---|---|
From | optional func layoutManager(_ layoutManager: NSLayoutManager, shouldSetLineFragmentRect lineFragmentRect: UnsafeMutablePointer<CGRect>, lineFragmentUsedRect lineFragmentUsedRect: UnsafeMutablePointer<CGRect>, baselineOffset baselineOffset: UnsafeMutablePointer<CGFloat>, inTextContainer textContainer: NSTextContainer, forGlyphRange glyphRange: NSRange) -> Bool |
To | optional func layoutManager(_ layoutManager: NSLayoutManager, shouldSetLineFragmentRect lineFragmentRect: UnsafeMutablePointer<CGRect>, lineFragmentUsedRect lineFragmentUsedRect: UnsafeMutablePointer<CGRect>, baselineOffset baselineOffset: UnsafeMutablePointer<CGFloat>, in textContainer: NSTextContainer, forGlyphRange glyphRange: NSRange) -> Bool |
Declaration | |
---|---|
From | optional func layoutManager(_ layoutManager: NSLayoutManager, shouldUseAction action: NSControlCharacterAction, forControlCharacterAtIndex charIndex: Int) -> NSControlCharacterAction |
To | optional func layoutManager(_ layoutManager: NSLayoutManager, shouldUse action: NSControlCharacterAction, forControlCharacterAt charIndex: Int) -> NSControlCharacterAction |
Declaration | |
---|---|
From | optional func layoutManager(_ layoutManager: NSLayoutManager, textContainer textContainer: NSTextContainer, didChangeGeometryFromSize oldSize: CGSize) |
To | optional func layoutManager(_ layoutManager: NSLayoutManager, textContainer textContainer: NSTextContainer, didChangeGeometryFrom oldSize: CGSize) |
Modified NSLayoutRelation [enum]
Declaration | |
---|---|
From | enum NSLayoutRelation : Int { case LessThanOrEqual case Equal case GreaterThanOrEqual } |
To | enum NSLayoutRelation : Int { case lessThanOrEqual case equal case greaterThanOrEqual } |
Modified NSLayoutRelation.equal
Declaration | |
---|---|
From | case Equal |
To | case equal |
Modified NSLayoutRelation.greaterThanOrEqual
Declaration | |
---|---|
From | case GreaterThanOrEqual |
To | case greaterThanOrEqual |
Modified NSLayoutRelation.lessThanOrEqual
Declaration | |
---|---|
From | case LessThanOrEqual |
To | case lessThanOrEqual |
Modified NSLayoutXAxisAnchor
Declaration | |
---|---|
From | class NSLayoutXAxisAnchor : NSLayoutAnchor { } |
To | class NSLayoutXAxisAnchor : NSLayoutAnchor<NSLayoutXAxisAnchor> { } |
Modified NSLayoutYAxisAnchor
Declaration | |
---|---|
From | class NSLayoutYAxisAnchor : NSLayoutAnchor { } |
To | class NSLayoutYAxisAnchor : NSLayoutAnchor<NSLayoutYAxisAnchor> { } |
Modified NSLineBreakMode [enum]
Declaration | |
---|---|
From | enum NSLineBreakMode : Int { case ByWordWrapping case ByCharWrapping case ByClipping case ByTruncatingHead case ByTruncatingTail case ByTruncatingMiddle } |
To | enum NSLineBreakMode : Int { case byWordWrapping case byCharWrapping case byClipping case byTruncatingHead case byTruncatingTail case byTruncatingMiddle } |
Modified NSLineBreakMode.byCharWrapping
Declaration | |
---|---|
From | case ByCharWrapping |
To | case byCharWrapping |
Modified NSLineBreakMode.byClipping
Declaration | |
---|---|
From | case ByClipping |
To | case byClipping |
Modified NSLineBreakMode.byTruncatingHead
Declaration | |
---|---|
From | case ByTruncatingHead |
To | case byTruncatingHead |
Modified NSLineBreakMode.byTruncatingMiddle
Declaration | |
---|---|
From | case ByTruncatingMiddle |
To | case byTruncatingMiddle |
Modified NSLineBreakMode.byTruncatingTail
Declaration | |
---|---|
From | case ByTruncatingTail |
To | case byTruncatingTail |
Modified NSLineBreakMode.byWordWrapping
Declaration | |
---|---|
From | case ByWordWrapping |
To | case byWordWrapping |
Declaration | |
---|---|
From | func fixAttributesInRange(_ range: NSRange) |
To | func fixAttributes(in range: NSRange) |
Declaration | |
---|---|
From | func readFromURL(_ url: NSURL, options opts: [String : AnyObject], documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>) throws |
To | func read(from url: URL, options opts: [String : Any] = [:], documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>?) throws |
Declaration | |
---|---|
From | func readFromData(_ data: NSData, options opts: [String : AnyObject], documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>) throws |
To | func read(from data: Data, options opts: [String : Any] = [:], documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>?) throws |
Declaration | |
---|---|
From | func readFromFileURL(_ url: NSURL, options opts: [NSObject : AnyObject], documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>) throws |
To | func read(fromFileURL url: URL, options opts: [AnyHashable : Any] = [:], documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>?) throws |
Name | Declaration | |
---|---|---|
From | NSTextStorageDidProcessEditingNotification | let NSTextStorageDidProcessEditingNotification: String |
To | NSTextStorageDidProcessEditing | static let NSTextStorageDidProcessEditing: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | NSTextStorageWillProcessEditingNotification | let NSTextStorageWillProcessEditingNotification: String |
To | NSTextStorageWillProcessEditing | static let NSTextStorageWillProcessEditing: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | UIAccessibilityAnnouncementDidFinishNotification | let UIAccessibilityAnnouncementDidFinishNotification: String |
To | UIAccessibilityAnnouncementDidFinish | static let UIAccessibilityAnnouncementDidFinish: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | UIAccessibilityBoldTextStatusDidChangeNotification | let UIAccessibilityBoldTextStatusDidChangeNotification: String |
To | UIAccessibilityBoldTextStatusDidChange | static let UIAccessibilityBoldTextStatusDidChange: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | UIAccessibilityClosedCaptioningStatusDidChangeNotification | let UIAccessibilityClosedCaptioningStatusDidChangeNotification: String |
To | UIAccessibilityClosedCaptioningStatusDidChange | static let UIAccessibilityClosedCaptioningStatusDidChange: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | UIAccessibilityDarkerSystemColorsStatusDidChangeNotification | let UIAccessibilityDarkerSystemColorsStatusDidChangeNotification: String |
To | UIAccessibilityDarkerSystemColorsStatusDidChange | static let UIAccessibilityDarkerSystemColorsStatusDidChange: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | UIAccessibilityElementFocusedNotification | let UIAccessibilityElementFocusedNotification: String |
To | UIAccessibilityElementFocused | static let UIAccessibilityElementFocused: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | UIAccessibilityGrayscaleStatusDidChangeNotification | let UIAccessibilityGrayscaleStatusDidChangeNotification: String |
To | UIAccessibilityGrayscaleStatusDidChange | static let UIAccessibilityGrayscaleStatusDidChange: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | UIAccessibilityGuidedAccessStatusDidChangeNotification | let UIAccessibilityGuidedAccessStatusDidChangeNotification: String |
To | UIAccessibilityGuidedAccessStatusDidChange | static let UIAccessibilityGuidedAccessStatusDidChange: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | UIAccessibilityInvertColorsStatusDidChangeNotification | let UIAccessibilityInvertColorsStatusDidChangeNotification: String |
To | UIAccessibilityInvertColorsStatusDidChange | static let UIAccessibilityInvertColorsStatusDidChange: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | UIAccessibilityMonoAudioStatusDidChangeNotification | let UIAccessibilityMonoAudioStatusDidChangeNotification: String |
To | UIAccessibilityMonoAudioStatusDidChange | static let UIAccessibilityMonoAudioStatusDidChange: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | UIAccessibilityReduceMotionStatusDidChangeNotification | let UIAccessibilityReduceMotionStatusDidChangeNotification: String |
To | UIAccessibilityReduceMotionStatusDidChange | static let UIAccessibilityReduceMotionStatusDidChange: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | UIAccessibilityReduceTransparencyStatusDidChangeNotification | let UIAccessibilityReduceTransparencyStatusDidChangeNotification: String |
To | UIAccessibilityReduceTransparencyStatusDidChange | static let UIAccessibilityReduceTransparencyStatusDidChange: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | UIAccessibilityShakeToUndoDidChangeNotification | let UIAccessibilityShakeToUndoDidChangeNotification: String |
To | UIAccessibilityShakeToUndoDidChange | static let UIAccessibilityShakeToUndoDidChange: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | UIAccessibilitySpeakScreenStatusDidChangeNotification | let UIAccessibilitySpeakScreenStatusDidChangeNotification: String |
To | UIAccessibilitySpeakScreenStatusDidChange | static let UIAccessibilitySpeakScreenStatusDidChange: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | UIAccessibilitySpeakSelectionStatusDidChangeNotification | let UIAccessibilitySpeakSelectionStatusDidChangeNotification: String |
To | UIAccessibilitySpeakSelectionStatusDidChange | static let UIAccessibilitySpeakSelectionStatusDidChange: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | UIAccessibilitySwitchControlStatusDidChangeNotification | let UIAccessibilitySwitchControlStatusDidChangeNotification: String |
To | UIAccessibilitySwitchControlStatusDidChange | static let UIAccessibilitySwitchControlStatusDidChange: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | UIApplicationBackgroundRefreshStatusDidChangeNotification | let UIApplicationBackgroundRefreshStatusDidChangeNotification: String |
To | UIApplicationBackgroundRefreshStatusDidChange | static let UIApplicationBackgroundRefreshStatusDidChange: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | UIApplicationDidBecomeActiveNotification | let UIApplicationDidBecomeActiveNotification: String |
To | UIApplicationDidBecomeActive | static let UIApplicationDidBecomeActive: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | UIApplicationDidChangeStatusBarFrameNotification | let UIApplicationDidChangeStatusBarFrameNotification: String |
To | UIApplicationDidChangeStatusBarFrame | static let UIApplicationDidChangeStatusBarFrame: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | UIApplicationDidChangeStatusBarOrientationNotification | let UIApplicationDidChangeStatusBarOrientationNotification: String |
To | UIApplicationDidChangeStatusBarOrientation | static let UIApplicationDidChangeStatusBarOrientation: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | UIApplicationDidEnterBackgroundNotification | let UIApplicationDidEnterBackgroundNotification: String |
To | UIApplicationDidEnterBackground | static let UIApplicationDidEnterBackground: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | UIApplicationDidFinishLaunchingNotification | let UIApplicationDidFinishLaunchingNotification: String |
To | UIApplicationDidFinishLaunching | static let UIApplicationDidFinishLaunching: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | UIApplicationDidReceiveMemoryWarningNotification | let UIApplicationDidReceiveMemoryWarningNotification: String |
To | UIApplicationDidReceiveMemoryWarning | static let UIApplicationDidReceiveMemoryWarning: NSNotification.Name |
Declaration | |
---|---|
From | let UIApplicationProtectedDataDidBecomeAvailable: String |
To | static let UIApplicationProtectedDataDidBecomeAvailable: NSNotification.Name |
Declaration | |
---|---|
From | let UIApplicationProtectedDataWillBecomeUnavailable: String |
To | static let UIApplicationProtectedDataWillBecomeUnavailable: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | UIApplicationSignificantTimeChangeNotification | let UIApplicationSignificantTimeChangeNotification: String |
To | UIApplicationSignificantTimeChange | static let UIApplicationSignificantTimeChange: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | UIApplicationUserDidTakeScreenshotNotification | let UIApplicationUserDidTakeScreenshotNotification: String |
To | UIApplicationUserDidTakeScreenshot | static let UIApplicationUserDidTakeScreenshot: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | UIApplicationWillChangeStatusBarFrameNotification | let UIApplicationWillChangeStatusBarFrameNotification: String |
To | UIApplicationWillChangeStatusBarFrame | static let UIApplicationWillChangeStatusBarFrame: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | UIApplicationWillChangeStatusBarOrientationNotification | let UIApplicationWillChangeStatusBarOrientationNotification: String |
To | UIApplicationWillChangeStatusBarOrientation | static let UIApplicationWillChangeStatusBarOrientation: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | UIApplicationWillEnterForegroundNotification | let UIApplicationWillEnterForegroundNotification: String |
To | UIApplicationWillEnterForeground | static let UIApplicationWillEnterForeground: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | UIApplicationWillResignActiveNotification | let UIApplicationWillResignActiveNotification: String |
To | UIApplicationWillResignActive | static let UIApplicationWillResignActive: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | UIApplicationWillTerminateNotification | let UIApplicationWillTerminateNotification: String |
To | UIApplicationWillTerminate | static let UIApplicationWillTerminate: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | UIContentSizeCategoryDidChangeNotification | let UIContentSizeCategoryDidChangeNotification: String |
To | UIContentSizeCategoryDidChange | static let UIContentSizeCategoryDidChange: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | UIDeviceBatteryLevelDidChangeNotification | let UIDeviceBatteryLevelDidChangeNotification: String |
To | UIDeviceBatteryLevelDidChange | static let UIDeviceBatteryLevelDidChange: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | UIDeviceBatteryStateDidChangeNotification | let UIDeviceBatteryStateDidChangeNotification: String |
To | UIDeviceBatteryStateDidChange | static let UIDeviceBatteryStateDidChange: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | UIDeviceOrientationDidChangeNotification | let UIDeviceOrientationDidChangeNotification: String |
To | UIDeviceOrientationDidChange | static let UIDeviceOrientationDidChange: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | UIDeviceProximityStateDidChangeNotification | let UIDeviceProximityStateDidChangeNotification: String |
To | UIDeviceProximityStateDidChange | static let UIDeviceProximityStateDidChange: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | UIDocumentStateChangedNotification | let UIDocumentStateChangedNotification: String |
To | UIDocumentStateChanged | static let UIDocumentStateChanged: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | UIKeyboardDidChangeFrameNotification | let UIKeyboardDidChangeFrameNotification: String |
To | UIKeyboardDidChangeFrame | static let UIKeyboardDidChangeFrame: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | UIKeyboardDidHideNotification | let UIKeyboardDidHideNotification: String |
To | UIKeyboardDidHide | static let UIKeyboardDidHide: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | UIKeyboardDidShowNotification | let UIKeyboardDidShowNotification: String |
To | UIKeyboardDidShow | static let UIKeyboardDidShow: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | UIKeyboardWillChangeFrameNotification | let UIKeyboardWillChangeFrameNotification: String |
To | UIKeyboardWillChangeFrame | static let UIKeyboardWillChangeFrame: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | UIKeyboardWillHideNotification | let UIKeyboardWillHideNotification: String |
To | UIKeyboardWillHide | static let UIKeyboardWillHide: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | UIKeyboardWillShowNotification | let UIKeyboardWillShowNotification: String |
To | UIKeyboardWillShow | static let UIKeyboardWillShow: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | UIMenuControllerDidHideMenuNotification | let UIMenuControllerDidHideMenuNotification: String |
To | UIMenuControllerDidHideMenu | static let UIMenuControllerDidHideMenu: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | UIMenuControllerDidShowMenuNotification | let UIMenuControllerDidShowMenuNotification: String |
To | UIMenuControllerDidShowMenu | static let UIMenuControllerDidShowMenu: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | UIMenuControllerMenuFrameDidChangeNotification | let UIMenuControllerMenuFrameDidChangeNotification: String |
To | UIMenuControllerMenuFrameDidChange | static let UIMenuControllerMenuFrameDidChange: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | UIMenuControllerWillHideMenuNotification | let UIMenuControllerWillHideMenuNotification: String |
To | UIMenuControllerWillHideMenu | static let UIMenuControllerWillHideMenu: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | UIMenuControllerWillShowMenuNotification | let UIMenuControllerWillShowMenuNotification: String |
To | UIMenuControllerWillShowMenu | static let UIMenuControllerWillShowMenu: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | UIPasteboardChangedNotification | let UIPasteboardChangedNotification: String |
To | UIPasteboardChanged | static let UIPasteboardChanged: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | UIPasteboardRemovedNotification | let UIPasteboardRemovedNotification: String |
To | UIPasteboardRemoved | static let UIPasteboardRemoved: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | UIScreenBrightnessDidChangeNotification | let UIScreenBrightnessDidChangeNotification: String |
To | UIScreenBrightnessDidChange | static let UIScreenBrightnessDidChange: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | UIScreenDidConnectNotification | let UIScreenDidConnectNotification: String |
To | UIScreenDidConnect | static let UIScreenDidConnect: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | UIScreenDidDisconnectNotification | let UIScreenDidDisconnectNotification: String |
To | UIScreenDidDisconnect | static let UIScreenDidDisconnect: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | UIScreenModeDidChangeNotification | let UIScreenModeDidChangeNotification: String |
To | UIScreenModeDidChange | static let UIScreenModeDidChange: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | UITableViewSelectionDidChangeNotification | let UITableViewSelectionDidChangeNotification: String |
To | UITableViewSelectionDidChange | static let UITableViewSelectionDidChange: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | UITextFieldTextDidBeginEditingNotification | let UITextFieldTextDidBeginEditingNotification: String |
To | UITextFieldTextDidBeginEditing | static let UITextFieldTextDidBeginEditing: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | UITextFieldTextDidChangeNotification | let UITextFieldTextDidChangeNotification: String |
To | UITextFieldTextDidChange | static let UITextFieldTextDidChange: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | UITextFieldTextDidEndEditingNotification | let UITextFieldTextDidEndEditingNotification: String |
To | UITextFieldTextDidEndEditing | static let UITextFieldTextDidEndEditing: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | UITextInputCurrentInputModeDidChangeNotification | let UITextInputCurrentInputModeDidChangeNotification: String |
To | UITextInputCurrentInputModeDidChange | static let UITextInputCurrentInputModeDidChange: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | UITextViewTextDidBeginEditingNotification | let UITextViewTextDidBeginEditingNotification: String |
To | UITextViewTextDidBeginEditing | static let UITextViewTextDidBeginEditing: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | UITextViewTextDidChangeNotification | let UITextViewTextDidChangeNotification: String |
To | UITextViewTextDidChange | static let UITextViewTextDidChange: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | UITextViewTextDidEndEditingNotification | let UITextViewTextDidEndEditingNotification: String |
To | UITextViewTextDidEndEditing | static let UITextViewTextDidEndEditing: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | UIViewControllerShowDetailTargetDidChangeNotification | let UIViewControllerShowDetailTargetDidChangeNotification: String |
To | UIViewControllerShowDetailTargetDidChange | static let UIViewControllerShowDetailTargetDidChange: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | UIWindowDidBecomeHiddenNotification | let UIWindowDidBecomeHiddenNotification: String |
To | UIWindowDidBecomeHidden | static let UIWindowDidBecomeHidden: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | UIWindowDidBecomeKeyNotification | let UIWindowDidBecomeKeyNotification: String |
To | UIWindowDidBecomeKey | static let UIWindowDidBecomeKey: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | UIWindowDidBecomeVisibleNotification | let UIWindowDidBecomeVisibleNotification: String |
To | UIWindowDidBecomeVisible | static let UIWindowDidBecomeVisible: NSNotification.Name |
Name | Declaration | |
---|---|---|
From | UIWindowDidResignKeyNotification | let UIWindowDidResignKeyNotification: String |
To | UIWindowDidResignKey | static let UIWindowDidResignKey: NSNotification.Name |
Declaration | |
---|---|
From | func accessibilityElementAtIndex(_ index: Int) -> AnyObject? |
To | func accessibilityElement(at index: Int) -> Any? |
Modified NSObject.accessibilityElements
Declaration | |
---|---|
From | var accessibilityElements: [AnyObject]? |
To | var accessibilityElements: [Any]? |
Declaration | |
---|---|
From | func indexOfAccessibilityElement(_ element: AnyObject) -> Int |
To | func index(ofAccessibilityElement element: Any) -> Int |
Modified NSParagraphStyle
Declaration | Protocols | |
---|---|---|
From | class NSParagraphStyle : NSObject, NSCopying, NSMutableCopying, NSSecureCoding { class func defaultParagraphStyle() -> NSParagraphStyle class func defaultWritingDirectionForLanguage(_ languageName: String?) -> NSWritingDirection var lineSpacing: CGFloat { get } var paragraphSpacing: CGFloat { get } var alignment: NSTextAlignment { get } var headIndent: CGFloat { get } var tailIndent: CGFloat { get } var firstLineHeadIndent: CGFloat { get } var minimumLineHeight: CGFloat { get } var maximumLineHeight: CGFloat { get } var lineBreakMode: NSLineBreakMode { get } var baseWritingDirection: NSWritingDirection { get } var lineHeightMultiple: CGFloat { get } var paragraphSpacingBefore: CGFloat { get } var hyphenationFactor: Float { get } var tabStops: [NSTextTab] { get } var defaultTabInterval: CGFloat { get } var allowsDefaultTighteningForTruncation: Bool { get } } | NSCopying, NSMutableCopying, NSSecureCoding |
To | class NSParagraphStyle : NSObject, NSCopying, NSMutableCopying, NSSecureCoding { class var `default`: NSParagraphStyle { get } class func defaultWritingDirection(forLanguage languageName: String?) -> NSWritingDirection var lineSpacing: CGFloat { get } var paragraphSpacing: CGFloat { get } var alignment: NSTextAlignment { get } var headIndent: CGFloat { get } var tailIndent: CGFloat { get } var firstLineHeadIndent: CGFloat { get } var minimumLineHeight: CGFloat { get } var maximumLineHeight: CGFloat { get } var lineBreakMode: NSLineBreakMode { get } var baseWritingDirection: NSWritingDirection { get } var lineHeightMultiple: CGFloat { get } var paragraphSpacingBefore: CGFloat { get } var hyphenationFactor: Float { get } var tabStops: [NSTextTab] { get } var defaultTabInterval: CGFloat { get } var allowsDefaultTighteningForTruncation: 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 NSParagraphStyle : CVarArg { } extension NSParagraphStyle : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCopying, NSMutableCopying, NSSecureCoding |
Modified NSParagraphStyle.defaultWritingDirection(forLanguage: String?) -> NSWritingDirection [class]
Declaration | |
---|---|
From | class func defaultWritingDirectionForLanguage(_ languageName: String?) -> NSWritingDirection |
To | class func defaultWritingDirection(forLanguage languageName: String?) -> NSWritingDirection |
Modified NSShadow
Declaration | Protocols | |
---|---|---|
From | class NSShadow : NSObject, NSCopying, NSCoding { init() init?(coder aDecoder: NSCoder) var shadowOffset: CGSize var shadowBlurRadius: CGFloat var shadowColor: AnyObject? } | NSCoding, NSCopying |
To | class NSShadow : NSObject, NSCopying, NSCoding { init() init?(coder aDecoder: NSCoder) var shadowOffset: CGSize var shadowBlurRadius: CGFloat var shadowColor: Any? 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 NSShadow : CVarArg { } extension NSShadow : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCoding, NSCopying |
Modified NSShadow.shadowColor
Declaration | |
---|---|
From | var shadowColor: AnyObject? |
To | var shadowColor: Any? |
Declaration | |
---|---|
From | func boundingRectWithSize(_ size: CGSize, options options: NSStringDrawingOptions, attributes attributes: [String : AnyObject]?, context context: NSStringDrawingContext?) -> CGRect |
To | func boundingRect(with size: CGSize, options options: NSStringDrawingOptions = [], attributes attributes: [String : Any]? = nil, context context: NSStringDrawingContext?) -> CGRect |
Declaration | |
---|---|
From | func drawAtPoint(_ point: CGPoint, withAttributes attrs: [String : AnyObject]?) |
To | func draw(at point: CGPoint, withAttributes attrs: [String : Any]? = nil) |
Declaration | |
---|---|
From | func drawInRect(_ rect: CGRect, withAttributes attrs: [String : AnyObject]?) |
To | func draw(in rect: CGRect, withAttributes attrs: [String : Any]? = nil) |
Declaration | |
---|---|
From | func drawWithRect(_ rect: CGRect, options options: NSStringDrawingOptions, attributes attributes: [String : AnyObject]?, context context: NSStringDrawingContext?) |
To | func draw(with rect: CGRect, options options: NSStringDrawingOptions = [], attributes attributes: [String : Any]? = nil, context context: NSStringDrawingContext?) |
Declaration | |
---|---|
From | func sizeWithAttributes(_ attrs: [String : AnyObject]?) -> CGSize |
To | func size(attributes attrs: [String : Any]? = nil) -> CGSize |
Modified NSStringDrawingContext
Declaration | Protocols | |
---|---|---|
From | class NSStringDrawingContext : NSObject { var minimumScaleFactor: CGFloat var actualScaleFactor: CGFloat { get } var totalBounds: CGRect { get } } extension NSStringDrawingContext { var minimumTrackingAdjustment: CGFloat var actualTrackingAdjustment: CGFloat { get } } | -- |
To | class NSStringDrawingContext : NSObject { var minimumScaleFactor: CGFloat var actualScaleFactor: CGFloat { get } var totalBounds: CGRect { get } var minimumTrackingAdjustment: CGFloat var actualTrackingAdjustment: CGFloat { 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 NSStringDrawingContext : CVarArg { } extension NSStringDrawingContext : Equatable, Hashable { var hashValue: Int { get } } extension NSStringDrawingContext { var minimumTrackingAdjustment: CGFloat var actualTrackingAdjustment: CGFloat { get } } | CVarArg, Equatable, Hashable |
Modified NSStringDrawingOptions [struct]
Declaration | Protocols | |
---|---|---|
From | struct NSStringDrawingOptions : OptionSetType { init(rawValue rawValue: Int) static var UsesLineFragmentOrigin: NSStringDrawingOptions { get } static var UsesFontLeading: NSStringDrawingOptions { get } static var UsesDeviceMetrics: NSStringDrawingOptions { get } static var TruncatesLastVisibleLine: NSStringDrawingOptions { get } } | OptionSetType |
To | struct NSStringDrawingOptions : OptionSet { init(rawValue rawValue: Int) static var usesLineFragmentOrigin: NSStringDrawingOptions { get } static var usesFontLeading: NSStringDrawingOptions { get } static var usesDeviceMetrics: NSStringDrawingOptions { get } static var truncatesLastVisibleLine: NSStringDrawingOptions { get } func intersect(_ other: NSStringDrawingOptions) -> NSStringDrawingOptions func exclusiveOr(_ other: NSStringDrawingOptions) -> NSStringDrawingOptions mutating func unionInPlace(_ other: NSStringDrawingOptions) mutating func intersectInPlace(_ other: NSStringDrawingOptions) mutating func exclusiveOrInPlace(_ other: NSStringDrawingOptions) func isSubsetOf(_ other: NSStringDrawingOptions) -> Bool func isDisjointWith(_ other: NSStringDrawingOptions) -> Bool func isSupersetOf(_ other: NSStringDrawingOptions) -> Bool mutating func subtractInPlace(_ other: NSStringDrawingOptions) func isStrictSupersetOf(_ other: NSStringDrawingOptions) -> Bool func isStrictSubsetOf(_ other: NSStringDrawingOptions) -> Bool } extension NSStringDrawingOptions { func union(_ other: NSStringDrawingOptions) -> NSStringDrawingOptions func intersection(_ other: NSStringDrawingOptions) -> NSStringDrawingOptions func symmetricDifference(_ other: NSStringDrawingOptions) -> NSStringDrawingOptions } extension NSStringDrawingOptions { func contains(_ member: NSStringDrawingOptions) -> Bool mutating func insert(_ newMember: NSStringDrawingOptions) -> (inserted: Bool, memberAfterInsert: NSStringDrawingOptions) mutating func remove(_ member: NSStringDrawingOptions) -> NSStringDrawingOptions? mutating func update(with newMember: NSStringDrawingOptions) -> NSStringDrawingOptions? } extension NSStringDrawingOptions { convenience init() mutating func formUnion(_ other: NSStringDrawingOptions) mutating func formIntersection(_ other: NSStringDrawingOptions) mutating func formSymmetricDifference(_ other: NSStringDrawingOptions) } extension NSStringDrawingOptions { convenience init<S : Sequence where S.Iterator.Element == NSStringDrawingOptions>(_ sequence: S) convenience init(arrayLiteral arrayLiteral: NSStringDrawingOptions...) mutating func subtract(_ other: NSStringDrawingOptions) func isSubset(of other: NSStringDrawingOptions) -> Bool func isSuperset(of other: NSStringDrawingOptions) -> Bool func isDisjoint(with other: NSStringDrawingOptions) -> Bool func subtracting(_ other: NSStringDrawingOptions) -> NSStringDrawingOptions var isEmpty: Bool { get } func isStrictSuperset(of other: NSStringDrawingOptions) -> Bool func isStrictSubset(of other: NSStringDrawingOptions) -> Bool } | OptionSet |
Declaration | |
---|---|
From | static var TruncatesLastVisibleLine: NSStringDrawingOptions { get } |
To | static var truncatesLastVisibleLine: NSStringDrawingOptions { get } |
Declaration | |
---|---|
From | static var UsesDeviceMetrics: NSStringDrawingOptions { get } |
To | static var usesDeviceMetrics: NSStringDrawingOptions { get } |
Declaration | |
---|---|
From | static var UsesFontLeading: NSStringDrawingOptions { get } |
To | static var usesFontLeading: NSStringDrawingOptions { get } |
Declaration | |
---|---|
From | static var UsesLineFragmentOrigin: NSStringDrawingOptions { get } |
To | static var usesLineFragmentOrigin: NSStringDrawingOptions { get } |
Modified NSTextAlignment [enum]
Declaration | |
---|---|
From | enum NSTextAlignment : Int { case Left case Center case Right case Justified case Natural } |
To | enum NSTextAlignment : Int { case left case center case right case justified case natural } |
Modified NSTextAlignment.center
Declaration | |
---|---|
From | case Center |
To | case center |
Modified NSTextAlignment.justified
Declaration | |
---|---|
From | case Justified |
To | case justified |
Modified NSTextAlignment.left
Declaration | |
---|---|
From | case Left |
To | case left |
Modified NSTextAlignment.natural
Declaration | |
---|---|
From | case Natural |
To | case natural |
Modified NSTextAlignment.right
Declaration | |
---|---|
From | case Right |
To | case right |
Modified NSTextAttachment
Declaration | Protocols | |
---|---|---|
From | class NSTextAttachment : NSObject, NSTextAttachmentContainer, NSCoding { init(data contentData: NSData?, ofType uti: String?) @NSCopying var contents: NSData? var fileType: String? var image: UIImage? var bounds: CGRect var fileWrapper: NSFileWrapper? } | NSCoding, NSTextAttachmentContainer |
To | class NSTextAttachment : NSObject, NSTextAttachmentContainer, NSCoding { init(data contentData: Data?, ofType uti: String?) var contents: Data? var fileType: String? var image: UIImage? var bounds: CGRect var fileWrapper: FileWrapper? 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 NSTextAttachment : CVarArg { } extension NSTextAttachment : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCoding, NSTextAttachmentContainer |
Modified NSTextAttachment.contents
Declaration | |
---|---|
From | @NSCopying var contents: NSData? |
To | var contents: Data? |
Modified NSTextAttachment.fileWrapper
Declaration | |
---|---|
From | var fileWrapper: NSFileWrapper? |
To | var fileWrapper: FileWrapper? |
Declaration | |
---|---|
From | init(data contentData: NSData?, ofType uti: String?) |
To | init(data contentData: Data?, ofType uti: String?) |
Modified NSTextAttachmentContainer
Declaration | |
---|---|
From | protocol NSTextAttachmentContainer : NSObjectProtocol { func imageForBounds(_ imageBounds: CGRect, textContainer textContainer: NSTextContainer?, characterIndex charIndex: Int) -> UIImage? func attachmentBoundsForTextContainer(_ textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect, glyphPosition position: CGPoint, characterIndex charIndex: Int) -> CGRect } |
To | protocol NSTextAttachmentContainer : NSObjectProtocol { func image(forBounds imageBounds: CGRect, textContainer textContainer: NSTextContainer?, characterIndex charIndex: Int) -> UIImage? func attachmentBounds(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect, glyphPosition position: CGPoint, characterIndex charIndex: Int) -> CGRect } |
Declaration | |
---|---|
From | func attachmentBoundsForTextContainer(_ textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect, glyphPosition position: CGPoint, characterIndex charIndex: Int) -> CGRect |
To | func attachmentBounds(for textContainer: NSTextContainer?, proposedLineFragment lineFrag: CGRect, glyphPosition position: CGPoint, characterIndex charIndex: Int) -> CGRect |
Declaration | |
---|---|
From | func imageForBounds(_ imageBounds: CGRect, textContainer textContainer: NSTextContainer?, characterIndex charIndex: Int) -> UIImage? |
To | func image(forBounds imageBounds: CGRect, textContainer textContainer: NSTextContainer?, characterIndex charIndex: Int) -> UIImage? |
Modified NSTextContainer
Declaration | Protocols | |
---|---|---|
From | class NSTextContainer : NSObject, NSCoding, NSTextLayoutOrientationProvider { init(size size: CGSize) init?(coder coder: NSCoder) unowned(unsafe) var layoutManager: NSLayoutManager? func replaceLayoutManager(_ newLayoutManager: NSLayoutManager) var size: CGSize var exclusionPaths: [UIBezierPath] var lineBreakMode: NSLineBreakMode var lineFragmentPadding: CGFloat var maximumNumberOfLines: Int func lineFragmentRectForProposedRect(_ proposedRect: CGRect, atIndex characterIndex: Int, writingDirection baseWritingDirection: NSWritingDirection, remainingRect remainingRect: UnsafeMutablePointer<CGRect>) -> CGRect var simpleRectangularTextContainer: Bool { get } var widthTracksTextView: Bool var heightTracksTextView: Bool } | NSCoding, NSTextLayoutOrientationProvider |
To | class NSTextContainer : NSObject, NSCoding, NSTextLayoutOrientationProvider { init(size size: CGSize) init(coder coder: NSCoder) unowned(unsafe) var layoutManager: NSLayoutManager? func replaceLayoutManager(_ newLayoutManager: NSLayoutManager) var size: CGSize var exclusionPaths: [UIBezierPath] var lineBreakMode: NSLineBreakMode var lineFragmentPadding: CGFloat var maximumNumberOfLines: Int func lineFragmentRect(forProposedRect proposedRect: CGRect, at characterIndex: Int, writingDirection baseWritingDirection: NSWritingDirection, remaining remainingRect: UnsafeMutablePointer<CGRect>?) -> CGRect var isSimpleRectangularTextContainer: Bool { get } var widthTracksTextView: Bool var heightTracksTextView: 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 NSTextContainer : CVarArg { } extension NSTextContainer : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCoding, NSTextLayoutOrientationProvider |
Modified NSTextContainer.init(coder: NSCoder)
Declaration | |
---|---|
From | init?(coder coder: NSCoder) |
To | init(coder coder: NSCoder) |
Declaration | |
---|---|
From | var simpleRectangularTextContainer: Bool { get } |
To | var isSimpleRectangularTextContainer: Bool { get } |
Declaration | |
---|---|
From | func lineFragmentRectForProposedRect(_ proposedRect: CGRect, atIndex characterIndex: Int, writingDirection baseWritingDirection: NSWritingDirection, remainingRect remainingRect: UnsafeMutablePointer<CGRect>) -> CGRect |
To | func lineFragmentRect(forProposedRect proposedRect: CGRect, at characterIndex: Int, writingDirection baseWritingDirection: NSWritingDirection, remaining remainingRect: UnsafeMutablePointer<CGRect>?) -> CGRect |
Modified NSTextLayoutOrientation [enum]
Declaration | |
---|---|
From | enum NSTextLayoutOrientation : Int { case Horizontal case Vertical } |
To | enum NSTextLayoutOrientation : Int { case horizontal case vertical } |
Modified NSTextLayoutOrientation.horizontal
Declaration | |
---|---|
From | case Horizontal |
To | case horizontal |
Modified NSTextLayoutOrientation.vertical
Declaration | |
---|---|
From | case Vertical |
To | case vertical |
Modified NSTextStorage
Declaration | Protocols | |
---|---|---|
From | class NSTextStorage : NSMutableAttributedString { var layoutManagers: [NSLayoutManager] { get } func addLayoutManager(_ aLayoutManager: NSLayoutManager) func removeLayoutManager(_ aLayoutManager: NSLayoutManager) var editedMask: NSTextStorageEditActions { get } var editedRange: NSRange { get } var changeInLength: Int { get } unowned(unsafe) var delegate: NSTextStorageDelegate? func edited(_ editedMask: NSTextStorageEditActions, range editedRange: NSRange, changeInLength delta: Int) func processEditing() var fixesAttributesLazily: Bool { get } func invalidateAttributesInRange(_ range: NSRange) func ensureAttributesAreFixedInRange(_ range: NSRange) } | -- |
To | class NSTextStorage : NSMutableAttributedString { var layoutManagers: [NSLayoutManager] { get } func addLayoutManager(_ aLayoutManager: NSLayoutManager) func removeLayoutManager(_ aLayoutManager: NSLayoutManager) var editedMask: NSTextStorageEditActions { get } var editedRange: NSRange { get } var changeInLength: Int { get } unowned(unsafe) var delegate: NSTextStorageDelegate? func edited(_ editedMask: NSTextStorageEditActions, range editedRange: NSRange, changeInLength delta: Int) func processEditing() var fixesAttributesLazily: Bool { get } func invalidateAttributes(in range: NSRange) func ensureAttributesAreFixed(in range: NSRange) func read(fromFileURL url: URL, options opts: [AnyHashable : Any] = [:], documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>?) throws func read(from url: URL, options opts: [String : Any] = [:], documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>?) throws func read(from data: Data, options opts: [String : Any] = [:], documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>?) throws func fixAttributes(in range: NSRange) var mutableString: NSMutableString { get } func addAttribute(_ name: String, value value: Any, range range: NSRange) func addAttributes(_ attrs: [String : Any] = [:], range range: NSRange) func removeAttribute(_ name: String, range range: NSRange) func replaceCharacters(in range: NSRange, with attrString: NSAttributedString) func insert(_ attrString: NSAttributedString, at loc: Int) func append(_ attrString: NSAttributedString) func deleteCharacters(in range: NSRange) func setAttributedString(_ attrString: NSAttributedString) func beginEditing() func endEditing() init(attachment attachment: NSTextAttachment) class func withAttachment(_ attachment: NSTextAttachment) -> NSAttributedString func draw(with rect: CGRect, options options: NSStringDrawingOptions = [], context context: NSStringDrawingContext?) func boundingRect(with size: CGSize, options options: NSStringDrawingOptions = [], context context: NSStringDrawingContext?) -> CGRect func size() -> CGSize func draw(at point: CGPoint) func draw(in rect: CGRect) init(fileURL url: URL, options options: [AnyHashable : Any] = [:], documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>?) throws func containsAttachments(in range: NSRange) -> Bool init(url url: URL, options options: [String : Any] = [:], documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>?) throws init(data data: Data, options options: [String : Any] = [:], documentAttributes dict: AutoreleasingUnsafeMutablePointer<NSDictionary?>?) throws func data(from range: NSRange, documentAttributes dict: [String : Any] = [:]) throws -> Data func fileWrapper(from range: NSRange, documentAttributes dict: [String : Any] = [:]) throws -> FileWrapper var length: Int { get } func attribute(_ attrName: String, at location: Int, effectiveRange range: NSRangePointer?) -> Any? func attributedSubstring(from range: NSRange) -> NSAttributedString func attributes(at location: Int, longestEffectiveRange range: NSRangePointer?, in rangeLimit: NSRange) -> [String : Any] func attribute(_ attrName: String, at location: Int, longestEffectiveRange range: NSRangePointer?, in rangeLimit: NSRange) -> Any? func isEqual(to other: NSAttributedString) -> Bool init(string str: String) init(string str: String, attributes attrs: [String : Any]? = nil) init(attributedString attrStr: NSAttributedString) func enumerateAttributes(in enumerationRange: NSRange, options opts: NSAttributedString.EnumerationOptions = [], using block: ([String : Any], NSRange, UnsafeMutablePointer<ObjCBool>) -> Void) func enumerateAttribute(_ attrName: String, in enumerationRange: NSRange, options opts: NSAttributedString.EnumerationOptions = [], using block: (Any?, NSRange, UnsafeMutablePointer<ObjCBool>) -> Void) struct EnumerationOptions : OptionSet { init(rawValue rawValue: UInt) static var reverse: NSAttributedString.EnumerationOptions { get } static var longestEffectiveRangeNotRequired: NSAttributedString.EnumerationOptions { 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 NSTextStorage : CVarArg { } extension NSTextStorage : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | func ensureAttributesAreFixedInRange(_ range: NSRange) |
To | func ensureAttributesAreFixed(in range: NSRange) |
Declaration | |
---|---|
From | func invalidateAttributesInRange(_ range: NSRange) |
To | func invalidateAttributes(in range: NSRange) |
Modified NSTextStorageEditActions [struct]
Declaration | Protocols | |
---|---|---|
From | struct NSTextStorageEditActions : OptionSetType { init(rawValue rawValue: UInt) static var EditedAttributes: NSTextStorageEditActions { get } static var EditedCharacters: NSTextStorageEditActions { get } } | OptionSetType |
To | struct NSTextStorageEditActions : OptionSet { init(rawValue rawValue: UInt) static var editedAttributes: NSTextStorageEditActions { get } static var editedCharacters: NSTextStorageEditActions { get } func intersect(_ other: NSTextStorageEditActions) -> NSTextStorageEditActions func exclusiveOr(_ other: NSTextStorageEditActions) -> NSTextStorageEditActions mutating func unionInPlace(_ other: NSTextStorageEditActions) mutating func intersectInPlace(_ other: NSTextStorageEditActions) mutating func exclusiveOrInPlace(_ other: NSTextStorageEditActions) func isSubsetOf(_ other: NSTextStorageEditActions) -> Bool func isDisjointWith(_ other: NSTextStorageEditActions) -> Bool func isSupersetOf(_ other: NSTextStorageEditActions) -> Bool mutating func subtractInPlace(_ other: NSTextStorageEditActions) func isStrictSupersetOf(_ other: NSTextStorageEditActions) -> Bool func isStrictSubsetOf(_ other: NSTextStorageEditActions) -> Bool } extension NSTextStorageEditActions { func union(_ other: NSTextStorageEditActions) -> NSTextStorageEditActions func intersection(_ other: NSTextStorageEditActions) -> NSTextStorageEditActions func symmetricDifference(_ other: NSTextStorageEditActions) -> NSTextStorageEditActions } extension NSTextStorageEditActions { func contains(_ member: NSTextStorageEditActions) -> Bool mutating func insert(_ newMember: NSTextStorageEditActions) -> (inserted: Bool, memberAfterInsert: NSTextStorageEditActions) mutating func remove(_ member: NSTextStorageEditActions) -> NSTextStorageEditActions? mutating func update(with newMember: NSTextStorageEditActions) -> NSTextStorageEditActions? } extension NSTextStorageEditActions { convenience init() mutating func formUnion(_ other: NSTextStorageEditActions) mutating func formIntersection(_ other: NSTextStorageEditActions) mutating func formSymmetricDifference(_ other: NSTextStorageEditActions) } extension NSTextStorageEditActions { convenience init<S : Sequence where S.Iterator.Element == NSTextStorageEditActions>(_ sequence: S) convenience init(arrayLiteral arrayLiteral: NSTextStorageEditActions...) mutating func subtract(_ other: NSTextStorageEditActions) func isSubset(of other: NSTextStorageEditActions) -> Bool func isSuperset(of other: NSTextStorageEditActions) -> Bool func isDisjoint(with other: NSTextStorageEditActions) -> Bool func subtracting(_ other: NSTextStorageEditActions) -> NSTextStorageEditActions var isEmpty: Bool { get } func isStrictSuperset(of other: NSTextStorageEditActions) -> Bool func isStrictSubset(of other: NSTextStorageEditActions) -> Bool } | OptionSet |
Declaration | |
---|---|
From | static var EditedAttributes: NSTextStorageEditActions { get } |
To | static var editedAttributes: NSTextStorageEditActions { get } |
Declaration | |
---|---|
From | static var EditedCharacters: NSTextStorageEditActions { get } |
To | static var editedCharacters: NSTextStorageEditActions { get } |
Modified NSTextTab
Declaration | Protocols | |
---|---|---|
From | class NSTextTab : NSObject, NSCopying, NSCoding { class func columnTerminatorsForLocale(_ aLocale: NSLocale?) -> NSCharacterSet init(textAlignment alignment: NSTextAlignment, location loc: CGFloat, options options: [String : AnyObject]) var alignment: NSTextAlignment { get } var location: CGFloat { get } var options: [String : AnyObject] { get } } | NSCoding, NSCopying |
To | class NSTextTab : NSObject, NSCopying, NSCoding, NSSecureCoding { class func columnTerminators(for aLocale: Locale?) -> CharacterSet init(textAlignment alignment: NSTextAlignment, location loc: CGFloat, options options: [String : Any] = [:]) var alignment: NSTextAlignment { get } var location: CGFloat { get } var options: [String : Any] { 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 NSTextTab : CVarArg { } extension NSTextTab : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCoding, NSCopying, NSSecureCoding |
Declaration | |
---|---|
From | class func columnTerminatorsForLocale(_ aLocale: NSLocale?) -> NSCharacterSet |
To | class func columnTerminators(for aLocale: Locale?) -> CharacterSet |
Declaration | |
---|---|
From | init(textAlignment alignment: NSTextAlignment, location loc: CGFloat, options options: [String : AnyObject]) |
To | init(textAlignment alignment: NSTextAlignment, location loc: CGFloat, options options: [String : Any] = [:]) |
Modified NSTextTab.options
Declaration | |
---|---|
From | var options: [String : AnyObject] { get } |
To | var options: [String : Any] { get } |
Modified NSTextWritingDirection [enum]
Declaration | |
---|---|
From | enum NSTextWritingDirection : Int { case Embedding case Override } |
To | enum NSTextWritingDirection : Int { case embedding case override } |
Modified NSTextWritingDirection.embedding
Declaration | |
---|---|
From | case Embedding |
To | case embedding |
Modified NSTextWritingDirection.override
Declaration | |
---|---|
From | case Override |
To | case override |
Modified NSUnderlineStyle [enum]
Declaration | |
---|---|
From | enum NSUnderlineStyle : Int { case StyleNone case StyleSingle case StyleThick case StyleDouble static var PatternSolid: NSUnderlineStyle { get } case PatternDot case PatternDash case PatternDashDot case PatternDashDotDot case ByWord } |
To | enum NSUnderlineStyle : Int { case styleNone case styleSingle case styleThick case styleDouble static var patternSolid: NSUnderlineStyle { get } case patternDot case patternDash case patternDashDot case patternDashDotDot case byWord } |
Modified NSUnderlineStyle.byWord
Declaration | |
---|---|
From | case ByWord |
To | case byWord |
Modified NSUnderlineStyle.patternDash
Declaration | |
---|---|
From | case PatternDash |
To | case patternDash |
Modified NSUnderlineStyle.patternDashDot
Declaration | |
---|---|
From | case PatternDashDot |
To | case patternDashDot |
Modified NSUnderlineStyle.patternDashDotDot
Declaration | |
---|---|
From | case PatternDashDotDot |
To | case patternDashDotDot |
Modified NSUnderlineStyle.patternDot
Declaration | |
---|---|
From | case PatternDot |
To | case patternDot |
Modified NSUnderlineStyle.patternSolid
Declaration | |
---|---|
From | static var PatternSolid: NSUnderlineStyle { get } |
To | static var patternSolid: NSUnderlineStyle { get } |
Modified NSUnderlineStyle.styleDouble
Declaration | |
---|---|
From | case StyleDouble |
To | case styleDouble |
Modified NSUnderlineStyle.styleNone
Declaration | |
---|---|
From | case StyleNone |
To | case styleNone |
Modified NSUnderlineStyle.styleSingle
Declaration | |
---|---|
From | case StyleSingle |
To | case styleSingle |
Modified NSUnderlineStyle.styleThick
Declaration | |
---|---|
From | case StyleThick |
To | case styleThick |
Declaration | |
---|---|
From | init(CGAffineTransform transform: CGAffineTransform) |
To | init(cgAffineTransform transform: CGAffineTransform) |
Modified NSValue.init(cgPoint: CGPoint)
Declaration | |
---|---|
From | init(CGPoint point: CGPoint) |
To | init(cgPoint point: CGPoint) |
Modified NSValue.init(cgRect: CGRect)
Declaration | |
---|---|
From | init(CGRect rect: CGRect) |
To | init(cgRect rect: CGRect) |
Modified NSValue.init(cgSize: CGSize)
Declaration | |
---|---|
From | init(CGSize size: CGSize) |
To | init(cgSize size: CGSize) |
Modified NSValue.init(cgVector: CGVector)
Declaration | |
---|---|
From | init(CGVector vector: CGVector) |
To | init(cgVector vector: CGVector) |
Declaration | |
---|---|
From | init(UIEdgeInsets insets: UIEdgeInsets) |
To | init(uiEdgeInsets insets: UIEdgeInsets) |
Modified NSValue.init(uiOffset: UIOffset)
Declaration | |
---|---|
From | init(UIOffset insets: UIOffset) |
To | init(uiOffset insets: UIOffset) |
Modified NSWritingDirection [enum]
Declaration | |
---|---|
From | enum NSWritingDirection : Int { case Natural case LeftToRight case RightToLeft } |
To | enum NSWritingDirection : Int { case natural case leftToRight case rightToLeft } |
Modified NSWritingDirection.leftToRight
Declaration | |
---|---|
From | case LeftToRight |
To | case leftToRight |
Modified NSWritingDirection.natural
Declaration | |
---|---|
From | case Natural |
To | case natural |
Modified NSWritingDirection.rightToLeft
Declaration | |
---|---|
From | case RightToLeft |
To | case rightToLeft |
Modified NSWritingDirectionFormatType [enum]
Declaration | |
---|---|
From | enum NSWritingDirectionFormatType : Int { case Embedding case Override } |
To | enum NSWritingDirectionFormatType : Int { case embedding case override } |
Declaration | |
---|---|
From | case Embedding |
To | case embedding |
Declaration | |
---|---|
From | case Override |
To | case override |
Modified RunLoopMode.UITrackingRunLoopMode
Declaration | |
---|---|
From | let UITrackingRunLoopMode: String |
To | static let UITrackingRunLoopMode: RunLoopMode |
Modified UIAccessibilityCustomAction
Declaration | Protocols | |
---|---|---|
From | class UIAccessibilityCustomAction : NSObject { init(name name: String, target target: AnyObject?, selector selector: Selector) var name: String weak var target: AnyObject? var selector: Selector } | -- |
To | class UIAccessibilityCustomAction : NSObject { init(name name: String, target target: Any?, selector selector: Selector) var name: String weak var target: AnyObject? var selector: Selector 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 UIAccessibilityCustomAction : CVarArg { } extension UIAccessibilityCustomAction : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | init(name name: String, target target: AnyObject?, selector selector: Selector) |
To | init(name name: String, target target: Any?, selector selector: Selector) |
Modified UIAccessibilityElement
Declaration | Protocols | |
---|---|---|
From | class UIAccessibilityElement : NSObject, UIAccessibilityIdentification { init(accessibilityContainer container: AnyObject) unowned(unsafe) var accessibilityContainer: AnyObject? var isAccessibilityElement: Bool var accessibilityLabel: String? var accessibilityHint: String? var accessibilityValue: String? var accessibilityFrame: CGRect var accessibilityTraits: UIAccessibilityTraits } | UIAccessibilityIdentification |
To | class UIAccessibilityElement : NSObject, UIAccessibilityIdentification { init(accessibilityContainer container: Any) unowned(unsafe) var accessibilityContainer: AnyObject? var isAccessibilityElement: Bool var accessibilityLabel: String? var accessibilityHint: String? var accessibilityValue: String? var accessibilityFrame: CGRect var accessibilityTraits: UIAccessibilityTraits var accessibilityFrameInContainerSpace: CGRect 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 UIAccessibilityElement : CVarArg { } extension UIAccessibilityElement : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, UIAccessibilityIdentification |
Declaration | |
---|---|
From | init(accessibilityContainer container: AnyObject) |
To | init(accessibilityContainer container: Any) |
Declaration | |
---|---|
From | enum UIAccessibilityNavigationStyle : Int { case Automatic case Separate case Combined } |
To | enum UIAccessibilityNavigationStyle : Int { case automatic case separate case combined } |
Declaration | |
---|---|
From | case Automatic |
To | case automatic |
Declaration | |
---|---|
From | case Combined |
To | case combined |
Declaration | |
---|---|
From | case Separate |
To | case separate |
Modified UIAccessibilityReadingContent
Declaration | |
---|---|
From | protocol UIAccessibilityReadingContent { func accessibilityLineNumberForPoint(_ point: CGPoint) -> Int func accessibilityContentForLineNumber(_ lineNumber: Int) -> String? func accessibilityFrameForLineNumber(_ lineNumber: Int) -> CGRect func accessibilityPageContent() -> String? } |
To | protocol UIAccessibilityReadingContent { func accessibilityLineNumber(for point: CGPoint) -> Int func accessibilityContent(forLineNumber lineNumber: Int) -> String? func accessibilityFrame(forLineNumber lineNumber: Int) -> CGRect func accessibilityPageContent() -> String? } |
Declaration | |
---|---|
From | func accessibilityContentForLineNumber(_ lineNumber: Int) -> String? |
To | func accessibilityContent(forLineNumber lineNumber: Int) -> String? |
Declaration | |
---|---|
From | func accessibilityFrameForLineNumber(_ lineNumber: Int) -> CGRect |
To | func accessibilityFrame(forLineNumber lineNumber: Int) -> CGRect |
Declaration | |
---|---|
From | func accessibilityLineNumberForPoint(_ point: CGPoint) -> Int |
To | func accessibilityLineNumber(for point: CGPoint) -> Int |
Declaration | |
---|---|
From | enum UIAccessibilityScrollDirection : Int { case Right case Left case Up case Down case Next case Previous } |
To | enum UIAccessibilityScrollDirection : Int { case right case left case up case down case next case previous } |
Modified UIAccessibilityScrollDirection.down
Declaration | |
---|---|
From | case Down |
To | case down |
Modified UIAccessibilityScrollDirection.left
Declaration | |
---|---|
From | case Left |
To | case left |
Modified UIAccessibilityScrollDirection.next
Declaration | |
---|---|
From | case Next |
To | case next |
Declaration | |
---|---|
From | case Previous |
To | case previous |
Modified UIAccessibilityScrollDirection.right
Declaration | |
---|---|
From | case Right |
To | case right |
Modified UIAccessibilityScrollDirection.up
Declaration | |
---|---|
From | case Up |
To | case up |
Modified UIAccessibilityZoomType [enum]
Declaration | |
---|---|
From | enum UIAccessibilityZoomType : Int { case InsertionPoint } |
To | enum UIAccessibilityZoomType : Int { case insertionPoint } |
Declaration | |
---|---|
From | case InsertionPoint |
To | case insertionPoint |
Modified UIActionSheet
Declaration | Protocols | |
---|---|---|
From | class UIActionSheet : UIView { init(title title: String?, delegate delegate: UIActionSheetDelegate?, cancelButtonTitle cancelButtonTitle: String?, destructiveButtonTitle destructiveButtonTitle: String?) weak var delegate: UIActionSheetDelegate? var title: String var actionSheetStyle: UIActionSheetStyle func addButtonWithTitle(_ title: String?) -> Int func buttonTitleAtIndex(_ buttonIndex: Int) -> String? var numberOfButtons: Int { get } var cancelButtonIndex: Int var destructiveButtonIndex: Int var firstOtherButtonIndex: Int { get } var visible: Bool { get } func showFromToolbar(_ view: UIToolbar) func showFromTabBar(_ view: UITabBar) func showFromBarButtonItem(_ item: UIBarButtonItem, animated animated: Bool) func showFromRect(_ rect: CGRect, inView view: UIView, animated animated: Bool) func showInView(_ view: UIView) func dismissWithClickedButtonIndex(_ buttonIndex: Int, animated animated: Bool) } extension UIActionSheet { convenience init(title title: String?, delegate delegate: UIActionSheetDelegate?, cancelButtonTitle cancelButtonTitle: String?, destructiveButtonTitle destructiveButtonTitle: String?, otherButtonTitles firstButtonTitle: String, _ moreButtonTitles: String...) } extension UIActionSheet { convenience init(title title: String?, delegate delegate: UIActionSheetDelegate?, cancelButtonTitle cancelButtonTitle: String?, destructiveButtonTitle destructiveButtonTitle: String?, otherButtonTitles firstButtonTitle: String, _ moreButtonTitles: String...) } | -- |
To | class UIActionSheet : UIView { init(title title: String?, delegate delegate: UIActionSheetDelegate?, cancelButtonTitle cancelButtonTitle: String?, destructiveButtonTitle destructiveButtonTitle: String?) weak var delegate: UIActionSheetDelegate? var title: String var actionSheetStyle: UIActionSheetStyle func addButton(withTitle title: String?) -> Int func buttonTitle(at buttonIndex: Int) -> String? var numberOfButtons: Int { get } var cancelButtonIndex: Int var destructiveButtonIndex: Int var firstOtherButtonIndex: Int { get } var isVisible: Bool { get } func show(from view: UIToolbar) func show(from view: UITabBar) func show(from item: UIBarButtonItem, animated animated: Bool) func show(from rect: CGRect, in view: UIView, animated animated: Bool) func show(in view: UIView) func dismiss(withClickedButtonIndex buttonIndex: Int, animated animated: Bool) convenience init(title title: String?, delegate delegate: UIActionSheetDelegate?, cancelButtonTitle cancelButtonTitle: String?, destructiveButtonTitle destructiveButtonTitle: String?, otherButtonTitles firstButtonTitle: String, _ moreButtonTitles: String...) 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 UIActionSheet : UIAccessibilityIdentification { } extension UIActionSheet : CVarArg { } extension UIActionSheet : Equatable, Hashable { var hashValue: Int { get } } extension UIActionSheet { convenience init(title title: String?, delegate delegate: UIActionSheetDelegate?, cancelButtonTitle cancelButtonTitle: String?, destructiveButtonTitle destructiveButtonTitle: String?, otherButtonTitles firstButtonTitle: String, _ moreButtonTitles: String...) } | CVarArg, Equatable, Hashable, UIAccessibilityIdentification |
Declaration | |
---|---|
From | func addButtonWithTitle(_ title: String?) -> Int |
To | func addButton(withTitle title: String?) -> Int |
Declaration | |
---|---|
From | func buttonTitleAtIndex(_ buttonIndex: Int) -> String? |
To | func buttonTitle(at buttonIndex: Int) -> String? |
Declaration | |
---|---|
From | func dismissWithClickedButtonIndex(_ buttonIndex: Int, animated animated: Bool) |
To | func dismiss(withClickedButtonIndex buttonIndex: Int, animated animated: Bool) |
Deprecation | |
---|---|
From | -- |
To | iOS 8.3 |
Modified UIActionSheet.isVisible
Declaration | |
---|---|
From | var visible: Bool { get } |
To | var isVisible: Bool { get } |
Modified UIActionSheet.show(from: UIToolbar)
Declaration | |
---|---|
From | func showFromToolbar(_ view: UIToolbar) |
To | func show(from view: UIToolbar) |
Modified UIActionSheet.show(from: UITabBar)
Declaration | |
---|---|
From | func showFromTabBar(_ view: UITabBar) |
To | func show(from view: UITabBar) |
Declaration | |
---|---|
From | func showFromBarButtonItem(_ item: UIBarButtonItem, animated animated: Bool) |
To | func show(from item: UIBarButtonItem, animated animated: Bool) |
Declaration | |
---|---|
From | func showFromRect(_ rect: CGRect, inView view: UIView, animated animated: Bool) |
To | func show(from rect: CGRect, in view: UIView, animated animated: Bool) |
Modified UIActionSheet.show(in: UIView)
Declaration | |
---|---|
From | func showInView(_ view: UIView) |
To | func show(in view: UIView) |
Modified UIActionSheetDelegate
Declaration | |
---|---|
From | protocol UIActionSheetDelegate : NSObjectProtocol { optional func actionSheet(_ actionSheet: UIActionSheet, clickedButtonAtIndex buttonIndex: Int) optional func actionSheetCancel(_ actionSheet: UIActionSheet) optional func willPresentActionSheet(_ actionSheet: UIActionSheet) optional func didPresentActionSheet(_ actionSheet: UIActionSheet) optional func actionSheet(_ actionSheet: UIActionSheet, willDismissWithButtonIndex buttonIndex: Int) optional func actionSheet(_ actionSheet: UIActionSheet, didDismissWithButtonIndex buttonIndex: Int) } |
To | protocol UIActionSheetDelegate : NSObjectProtocol { optional func actionSheet(_ actionSheet: UIActionSheet, clickedButtonAt buttonIndex: Int) optional func actionSheetCancel(_ actionSheet: UIActionSheet) optional func willPresent(_ actionSheet: UIActionSheet) optional func didPresent(_ actionSheet: UIActionSheet) optional func actionSheet(_ actionSheet: UIActionSheet, willDismissWithButtonIndex buttonIndex: Int) optional func actionSheet(_ actionSheet: UIActionSheet, didDismissWithButtonIndex buttonIndex: Int) } |
Declaration | |
---|---|
From | optional func actionSheet(_ actionSheet: UIActionSheet, clickedButtonAtIndex buttonIndex: Int) |
To | optional func actionSheet(_ actionSheet: UIActionSheet, clickedButtonAt buttonIndex: Int) |
Declaration | |
---|---|
From | optional func didPresentActionSheet(_ actionSheet: UIActionSheet) |
To | optional func didPresent(_ actionSheet: UIActionSheet) |
Declaration | |
---|---|
From | optional func willPresentActionSheet(_ actionSheet: UIActionSheet) |
To | optional func willPresent(_ actionSheet: UIActionSheet) |
Modified UIActionSheetStyle [enum]
Declaration | |
---|---|
From | enum UIActionSheetStyle : Int { case Automatic case Default case BlackTranslucent case BlackOpaque } |
To | enum UIActionSheetStyle : Int { case automatic case `default` case blackTranslucent case blackOpaque } |
Modified UIActionSheetStyle.automatic
Declaration | |
---|---|
From | case Automatic |
To | case automatic |
Modified UIActionSheetStyle.blackOpaque
Declaration | |
---|---|
From | case BlackOpaque |
To | case blackOpaque |
Modified UIActionSheetStyle.blackTranslucent
Declaration | |
---|---|
From | case BlackTranslucent |
To | case blackTranslucent |
Modified UIActionSheetStyle.default
Declaration | |
---|---|
From | case Default |
To | case `default` |
Modified UIActivity
Declaration | Protocols | |
---|---|---|
From | class UIActivity : NSObject { class func activityCategory() -> UIActivityCategory func activityType() -> String? func activityTitle() -> String? func activityImage() -> UIImage? func canPerformWithActivityItems(_ activityItems: [AnyObject]) -> Bool func prepareWithActivityItems(_ activityItems: [AnyObject]) func activityViewController() -> UIViewController? func performActivity() func activityDidFinish(_ completed: Bool) } | -- |
To | class UIActivity : NSObject { class var activityCategory: UIActivityCategory { get } var activityType: UIActivityType? { get } var activityTitle: String? { get } var activityImage: UIImage? { get } func canPerform(withActivityItems activityItems: [Any]) -> Bool func prepare(withActivityItems activityItems: [Any]) var activityViewController: UIViewController? { get } func perform() func activityDidFinish(_ completed: 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 UIActivity : CVarArg { } extension UIActivity : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | func canPerformWithActivityItems(_ activityItems: [AnyObject]) -> Bool |
To | func canPerform(withActivityItems activityItems: [Any]) -> Bool |
Modified UIActivity.perform()
Declaration | |
---|---|
From | func performActivity() |
To | func perform() |
Declaration | |
---|---|
From | func prepareWithActivityItems(_ activityItems: [AnyObject]) |
To | func prepare(withActivityItems activityItems: [Any]) |
Modified UIActivityCategory [enum]
Declaration | |
---|---|
From | enum UIActivityCategory : Int { case Action case Share } |
To | enum UIActivityCategory : Int { case action case share } |
Modified UIActivityCategory.action
Declaration | |
---|---|
From | case Action |
To | case action |
Modified UIActivityCategory.share
Declaration | |
---|---|
From | case Share |
To | case share |
Modified UIActivityIndicatorView
Declaration | Protocols | |
---|---|---|
From | class UIActivityIndicatorView : UIView, NSCoding { init(activityIndicatorStyle style: UIActivityIndicatorViewStyle) init(frame frame: CGRect) init(coder coder: NSCoder) var activityIndicatorViewStyle: UIActivityIndicatorViewStyle var hidesWhenStopped: Bool var color: UIColor? func startAnimating() func stopAnimating() func isAnimating() -> Bool } | NSCoding |
To | class UIActivityIndicatorView : UIView, NSCoding { init(activityIndicatorStyle style: UIActivityIndicatorViewStyle) init(frame frame: CGRect) init(coder coder: NSCoder) var activityIndicatorViewStyle: UIActivityIndicatorViewStyle var hidesWhenStopped: Bool var color: UIColor? func startAnimating() func stopAnimating() var isAnimating: Bool { 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 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() 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?) } extension UIActivityIndicatorView : UIAccessibilityIdentification { } extension UIActivityIndicatorView : CVarArg { } extension UIActivityIndicatorView : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCoding, UIAccessibilityIdentification |
Modified UIActivityIndicatorViewStyle [enum]
Declaration | |
---|---|
From | enum UIActivityIndicatorViewStyle : Int { case WhiteLarge case White case Gray } |
To | enum UIActivityIndicatorViewStyle : Int { case whiteLarge case white case gray } |
Modified UIActivityIndicatorViewStyle.gray
Declaration | |
---|---|
From | case Gray |
To | case gray |
Modified UIActivityIndicatorViewStyle.white
Declaration | |
---|---|
From | case White |
To | case white |
Declaration | |
---|---|
From | case WhiteLarge |
To | case whiteLarge |
Modified UIActivityItemProvider
Declaration | Protocols | |
---|---|---|
From | class UIActivityItemProvider : NSOperation, UIActivityItemSource { convenience init() init(placeholderItem placeholderItem: AnyObject) var placeholderItem: AnyObject? { get } var activityType: String? { get } func item() -> AnyObject } | UIActivityItemSource |
To | class UIActivityItemProvider : Operation, UIActivityItemSource { convenience init() init(placeholderItem placeholderItem: Any) var placeholderItem: Any? { get } var activityType: UIActivityType? { get } var item: Any { get } enum QueuePriority : Int { case veryLow case low case normal case high case veryHigh } 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 UIActivityItemProvider : CVarArg { } extension UIActivityItemProvider : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, UIActivityItemSource |
Modified UIActivityItemProvider.activityType
Declaration | |
---|---|
From | var activityType: String? { get } |
To | var activityType: UIActivityType? { get } |
Declaration | |
---|---|
From | init(placeholderItem placeholderItem: AnyObject) |
To | init(placeholderItem placeholderItem: Any) |
Declaration | |
---|---|
From | var placeholderItem: AnyObject? { get } |
To | var placeholderItem: Any? { get } |
Modified UIActivityItemSource
Declaration | |
---|---|
From | protocol UIActivityItemSource : NSObjectProtocol { func activityViewControllerPlaceholderItem(_ activityViewController: UIActivityViewController) -> AnyObject func activityViewController(_ activityViewController: UIActivityViewController, itemForActivityType activityType: String) -> AnyObject? optional func activityViewController(_ activityViewController: UIActivityViewController, subjectForActivityType activityType: String?) -> String optional func activityViewController(_ activityViewController: UIActivityViewController, dataTypeIdentifierForActivityType activityType: String?) -> String optional func activityViewController(_ activityViewController: UIActivityViewController, thumbnailImageForActivityType activityType: String?, suggestedSize size: CGSize) -> UIImage? } |
To | protocol UIActivityItemSource : NSObjectProtocol { func activityViewControllerPlaceholderItem(_ activityViewController: UIActivityViewController) -> Any func activityViewController(_ activityViewController: UIActivityViewController, itemForActivityType activityType: UIActivityType) -> Any? optional func activityViewController(_ activityViewController: UIActivityViewController, subjectForActivityType activityType: UIActivityType?) -> String optional func activityViewController(_ activityViewController: UIActivityViewController, dataTypeIdentifierForActivityType activityType: UIActivityType?) -> String optional func activityViewController(_ activityViewController: UIActivityViewController, thumbnailImageForActivityType activityType: UIActivityType?, suggestedSize size: CGSize) -> UIImage? } |
Declaration | |
---|---|
From | optional func activityViewController(_ activityViewController: UIActivityViewController, dataTypeIdentifierForActivityType activityType: String?) -> String |
To | optional func activityViewController(_ activityViewController: UIActivityViewController, dataTypeIdentifierForActivityType activityType: UIActivityType?) -> String |
Declaration | |
---|---|
From | func activityViewController(_ activityViewController: UIActivityViewController, itemForActivityType activityType: String) -> AnyObject? |
To | func activityViewController(_ activityViewController: UIActivityViewController, itemForActivityType activityType: UIActivityType) -> Any? |
Declaration | |
---|---|
From | optional func activityViewController(_ activityViewController: UIActivityViewController, subjectForActivityType activityType: String?) -> String |
To | optional func activityViewController(_ activityViewController: UIActivityViewController, subjectForActivityType activityType: UIActivityType?) -> String |
Declaration | |
---|---|
From | optional func activityViewController(_ activityViewController: UIActivityViewController, thumbnailImageForActivityType activityType: String?, suggestedSize size: CGSize) -> UIImage? |
To | optional func activityViewController(_ activityViewController: UIActivityViewController, thumbnailImageForActivityType activityType: UIActivityType?, suggestedSize size: CGSize) -> UIImage? |
Modified UIActivityItemSource.activityViewControllerPlaceholderItem(_: UIActivityViewController) -> Any
Declaration | |
---|---|
From | func activityViewControllerPlaceholderItem(_ activityViewController: UIActivityViewController) -> AnyObject |
To | func activityViewControllerPlaceholderItem(_ activityViewController: UIActivityViewController) -> Any |
Modified UIActivityType.addToReadingList
Name | Declaration | |
---|---|---|
From | UIActivityTypeAddToReadingList | let UIActivityTypeAddToReadingList: String |
To | addToReadingList | static let addToReadingList: UIActivityType |
Modified UIActivityType.airDrop
Name | Declaration | |
---|---|---|
From | UIActivityTypeAirDrop | let UIActivityTypeAirDrop: String |
To | airDrop | static let airDrop: UIActivityType |
Modified UIActivityType.assignToContact
Name | Declaration | |
---|---|---|
From | UIActivityTypeAssignToContact | let UIActivityTypeAssignToContact: String |
To | assignToContact | static let assignToContact: UIActivityType |
Modified UIActivityType.copyToPasteboard
Name | Declaration | |
---|---|---|
From | UIActivityTypeCopyToPasteboard | let UIActivityTypeCopyToPasteboard: String |
To | copyToPasteboard | static let copyToPasteboard: UIActivityType |
Modified UIActivityType.mail
Name | Declaration | |
---|---|---|
From | UIActivityTypeMail | let UIActivityTypeMail: String |
To | static let mail: UIActivityType |
Modified UIActivityType.message
Name | Declaration | |
---|---|---|
From | UIActivityTypeMessage | let UIActivityTypeMessage: String |
To | message | static let message: UIActivityType |
Modified UIActivityType.openInIBooks
Name | Declaration | |
---|---|---|
From | UIActivityTypeOpenInIBooks | let UIActivityTypeOpenInIBooks: String |
To | openInIBooks | static let openInIBooks: UIActivityType |
Modified UIActivityType.postToFacebook
Name | Declaration | |
---|---|---|
From | UIActivityTypePostToFacebook | let UIActivityTypePostToFacebook: String |
To | postToFacebook | static let postToFacebook: UIActivityType |
Modified UIActivityType.postToFlickr
Name | Declaration | |
---|---|---|
From | UIActivityTypePostToFlickr | let UIActivityTypePostToFlickr: String |
To | postToFlickr | static let postToFlickr: UIActivityType |
Modified UIActivityType.postToTencentWeibo
Name | Declaration | |
---|---|---|
From | UIActivityTypePostToTencentWeibo | let UIActivityTypePostToTencentWeibo: String |
To | postToTencentWeibo | static let postToTencentWeibo: UIActivityType |
Modified UIActivityType.postToTwitter
Name | Declaration | |
---|---|---|
From | UIActivityTypePostToTwitter | let UIActivityTypePostToTwitter: String |
To | postToTwitter | static let postToTwitter: UIActivityType |
Modified UIActivityType.postToVimeo
Name | Declaration | |
---|---|---|
From | UIActivityTypePostToVimeo | let UIActivityTypePostToVimeo: String |
To | postToVimeo | static let postToVimeo: UIActivityType |
Modified UIActivityType.postToWeibo
Name | Declaration | |
---|---|---|
From | UIActivityTypePostToWeibo | let UIActivityTypePostToWeibo: String |
To | postToWeibo | static let postToWeibo: UIActivityType |
Modified UIActivityType.print
Name | Declaration | |
---|---|---|
From | UIActivityTypePrint | let UIActivityTypePrint: String |
To | static let print: UIActivityType |
Modified UIActivityType.saveToCameraRoll
Name | Declaration | |
---|---|---|
From | UIActivityTypeSaveToCameraRoll | let UIActivityTypeSaveToCameraRoll: String |
To | saveToCameraRoll | static let saveToCameraRoll: UIActivityType |
Modified UIActivityViewController
Declaration | Protocols | |
---|---|---|
From | class UIActivityViewController : UIViewController { convenience init() convenience init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: NSBundle?) convenience init?(coder aDecoder: NSCoder) init(activityItems activityItems: [AnyObject], applicationActivities applicationActivities: [UIActivity]?) var completionHandler: UIActivityViewControllerCompletionHandler? var completionWithItemsHandler: UIActivityViewControllerCompletionWithItemsHandler? var excludedActivityTypes: [String]? } | -- |
To | class UIActivityViewController : UIViewController { convenience init() convenience init(nibName nibNameOrNil: String?, bundle nibBundleOrNil: Bundle?) convenience init?(coder aDecoder: NSCoder) init(activityItems activityItems: [Any], applicationActivities applicationActivities: [UIActivity]?) var completionHandler: UIKit.UIActivityViewControllerCompletionHandler? var completionWithItemsHandler: UIKit.UIActivityViewControllerCompletionWithItemsHandler? var excludedActivityTypes: [UIActivityType]? var tabBarItem: UITabBarItem! var tabBarController: UITabBarController? { get } var splitViewController: UISplitViewController? { get } func collapseSecondaryViewController(_ secondaryViewController: UIViewController, for splitViewController: UISplitViewController) func separateSecondaryViewController(for splitViewController: UISplitViewController) -> UIViewController? var transitionCoordinator: UIViewControllerTransitionCoordinator? { get } var isModalInPopover: Bool var contentSizeForViewInPopover: CGSize var toolbarItems: [UIBarButtonItem]? func setToolbarItems(_ toolbarItems: [UIBarButtonItem]?, animated animated: Bool) var navigationItem: UINavigationItem { get } var hidesBottomBarWhenPushed: Bool var navigationController: UINavigationController? { get } var previewActionItems: [UIPreviewActionItem] { get } func registerForPreviewing(with delegate: UIViewControllerPreviewingDelegate, sourceView sourceView: UIView) -> UIViewControllerPreviewing func unregisterForPreviewing(withContext previewing: UIViewControllerPreviewing) var presentationController: UIPresentationController? { get } var popoverPresentationController: UIPopoverPresentationController? { get } func addKeyCommand(_ keyCommand: UIKeyCommand) func removeKeyCommand(_ keyCommand: UIKeyCommand) var topLayoutGuide: UILayoutSupport { get } var bottomLayoutGuide: UILayoutSupport { get } weak var transitioningDelegate: UIViewControllerTransitioningDelegate? func updateViewConstraints() func automaticallyForwardAppearanceAndRotationMethodsToChildViewControllers() -> Bool func shouldAutomaticallyForwardRotationMethods() -> Bool var shouldAutomaticallyForwardAppearanceMethods: Bool { get } func willMove(toParentViewController parent: UIViewController?) func didMove(toParentViewController parent: UIViewController?) var childViewControllers: [UIViewController] { get } func addChildViewController(_ childController: UIViewController) func removeFromParentViewController() func transition(from fromViewController: UIViewController, to toViewController: UIViewController, duration duration: TimeInterval, options options: UIViewAnimationOptions = [], animations animations: (@escaping () -> Void)?, completion completion: (@escaping (Bool) -> Void)? = nil) func beginAppearanceTransition(_ isAppearing: Bool, animated animated: Bool) func endAppearanceTransition() var childViewControllerForStatusBarStyle: UIViewController? { get } var childViewControllerForStatusBarHidden: UIViewController? { get } func setOverrideTraitCollection(_ collection: UITraitCollection?, forChildViewController childViewController: UIViewController) func overrideTraitCollection(forChildViewController childViewController: UIViewController) -> UITraitCollection? var searchDisplayController: UISearchDisplayController? { get } var isEditing: Bool func setEditing(_ editing: Bool, animated animated: Bool) var editButtonItem: UIBarButtonItem { get } class func attemptRotationToDeviceOrientation() func shouldAutorotate(to toInterfaceOrientation: UIInterfaceOrientation) -> Bool var shouldAutorotate: Bool { get } var supportedInterfaceOrientations: UIInterfaceOrientationMask { get } var preferredInterfaceOrientationForPresentation: UIInterfaceOrientation { get } func rotatingHeaderView() -> UIView? func rotatingFooterView() -> UIView? var interfaceOrientation: UIInterfaceOrientation { get } func willRotate(to toInterfaceOrientation: UIInterfaceOrientation, duration duration: TimeInterval) func didRotate(from fromInterfaceOrientation: UIInterfaceOrientation) func willAnimateRotation(to toInterfaceOrientation: UIInterfaceOrientation, duration duration: TimeInterval) func willAnimateFirstHalfOfRotation(to toInterfaceOrientation: UIInterfaceOrientation, duration duration: TimeInterval) func didAnimateFirstHalfOfRotation(to toInterfaceOrientation: UIInterfaceOrientation) func willAnimateSecondHalfOfRotation(from fromInterfaceOrientation: UIInterfaceOrientation, duration duration: TimeInterval) var userActivity: NSUserActivity? func updateUserActivityState(_ activity: NSUserActivity) func restoreUserActivityState(_ activity: NSUserActivity) 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() 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?) } extension UIActivityViewController : NSExtensionRequestHandling { var extensionContext: NSExtensionContext? { get } } extension UIActivityViewController : UIStateRestoring { var restorationIdentifier: String? var restorationClass: UIViewControllerRestoration.Type? func encodeRestorableState(with coder: NSCoder) func decodeRestorableState(with coder: NSCoder) func applicationFinishedRestoringState() } extension UIActivityViewController : CVarArg { } extension UIActivityViewController : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSExtensionRequestHandling, UIStateRestoring |
Declaration | |
---|---|
From | var completionHandler: UIActivityViewControllerCompletionHandler? |
To | var completionHandler: UIKit.UIActivityViewControllerCompletionHandler? |
Declaration | |
---|---|
From | var completionWithItemsHandler: UIActivityViewControllerCompletionWithItemsHandler? |
To | var completionWithItemsHandler: UIKit.UIActivityViewControllerCompletionWithItemsHandler? |
Declaration | |
---|---|
From | var excludedActivityTypes: [String]? |
To | var excludedActivityTypes: [UIActivityType]? |
Declaration | |
---|---|
From | init(activityItems activityItems: [AnyObject], applicationActivities applicationActivities: [UIActivity]?) |
To | init(activityItems activityItems: [Any], applicationActivities applicationActivities: [UIActivity]?) |
Declaration | |
---|---|
From | protocol UIAdaptivePresentationControllerDelegate : NSObjectProtocol { optional func adaptivePresentationStyleForPresentationController(_ controller: UIPresentationController) -> UIModalPresentationStyle optional func adaptivePresentationStyleForPresentationController(_ controller: UIPresentationController, traitCollection traitCollection: UITraitCollection) -> UIModalPresentationStyle optional func presentationController(_ controller: UIPresentationController, viewControllerForAdaptivePresentationStyle style: UIModalPresentationStyle) -> UIViewController? optional func presentationController(_ presentationController: UIPresentationController, willPresentWithAdaptiveStyle style: UIModalPresentationStyle, transitionCoordinator transitionCoordinator: UIViewControllerTransitionCoordinator?) } |
To | protocol UIAdaptivePresentationControllerDelegate : NSObjectProtocol { optional func adaptivePresentationStyle(for controller: UIPresentationController) -> UIModalPresentationStyle optional func adaptivePresentationStyle(for controller: UIPresentationController, traitCollection traitCollection: UITraitCollection) -> UIModalPresentationStyle optional func presentationController(_ controller: UIPresentationController, viewControllerForAdaptivePresentationStyle style: UIModalPresentationStyle) -> UIViewController? optional func presentationController(_ presentationController: UIPresentationController, willPresentWithAdaptiveStyle style: UIModalPresentationStyle, transitionCoordinator transitionCoordinator: UIViewControllerTransitionCoordinator?) } |
Declaration | |
---|---|
From | optional func adaptivePresentationStyleForPresentationController(_ controller: UIPresentationController) -> UIModalPresentationStyle |
To | optional func adaptivePresentationStyle(for controller: UIPresentationController) -> UIModalPresentationStyle |
Declaration | |
---|---|
From | optional func adaptivePresentationStyleForPresentationController(_ controller: UIPresentationController, traitCollection traitCollection: UITraitCollection) -> UIModalPresentationStyle |
To | optional func adaptivePresentationStyle(for controller: UIPresentationController, traitCollection traitCollection: UITraitCollection) -> UIModalPresentationStyle |
Modified UIAlertAction
Declaration | Protocols | |
---|---|---|
From | class UIAlertAction : NSObject, NSCopying { convenience init(title title: String?, style style: UIAlertActionStyle, handler handler: ((UIAlertAction) -> Void)?) class func actionWithTitle(_ title: String?, style style: UIAlertActionStyle, handler handler: ((UIAlertAction) -> Void)?) -> Self var title: String? { get } var style: UIAlertActionStyle { get } var enabled: Bool } | NSCopying |
To | class UIAlertAction : NSObject, NSCopying { convenience init(title title: String?, style style: UIAlertActionStyle, handler handler: (@escaping (UIAlertAction) -> Swift.Void)? = nil) class func withTitle(_ title: String?, style style: UIAlertActionStyle, handler handler: (@escaping (UIAlertAction) -> Swift.Void)? = nil) -> Self var title: String? { get } var style: UIAlertActionStyle { get } var isEnabled: 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 UIAlertAction : CVarArg { } extension UIAlertAction : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCopying |
Declaration | |
---|---|
From | convenience init(title title: String?, style style: UIAlertActionStyle, handler handler: ((UIAlertAction) -> Void)?) |
To | convenience init(title title: String?, style style: UIAlertActionStyle, handler handler: (@escaping (UIAlertAction) -> Swift.Void)? = nil) |
Modified UIAlertAction.isEnabled
Declaration | |
---|---|
From | var enabled: Bool |
To | var isEnabled: Bool |
Modified UIAlertActionStyle [enum]
Declaration | |
---|---|
From | enum UIAlertActionStyle : Int { case Default case Cancel case Destructive } |
To | enum UIAlertActionStyle : Int { case `default` case cancel case destructive } |
Modified UIAlertActionStyle.cancel
Declaration | |
---|---|
From | case Cancel |
To | case cancel |
Modified UIAlertActionStyle.default
Declaration | |
---|---|
From | case Default |
To | case `default` |
Modified UIAlertActionStyle.destructive
Declaration | |
---|---|
From | case Destructive |
To | case destructive |
Modified UIAlertController
Declaration | Protocols | |
---|---|---|
From | class UIAlertController : UIViewController { convenience init(title title: String?, message message: String?, preferredStyle preferredStyle: UIAlertControllerStyle) class func alertControllerWithTitle(_ title: String?, message message: String?, preferredStyle preferredStyle: UIAlertControllerStyle) -> Self func addAction(_ action: UIAlertAction) var actions: [UIAlertAction] { get } var preferredAction: UIAlertAction? func addTextFieldWithConfigurationHandler(_ configurationHandler: ((UITextField) -> Void)?) var textFields: [UITextField]? { get } var title: String? var message: String? var preferredStyle: UIAlertControllerStyle { get } } | -- |
To | class UIAlertController : UIViewController { convenience init(title title: String?, message message: String?, preferredStyle preferredStyle: UIAlertControllerStyle) class func withTitle(_ title: String?, message message: String?, preferredStyle preferredStyle: UIAlertControllerStyle) -> Self func addAction(_ action: UIAlertAction) var actions: [UIAlertAction] { get } var preferredAction: UIAlertAction? func addTextField(configurationHandler configurationHandler: (@escaping (UITextField) -> Swift.Void)? = nil) var textFields: [UITextField]? { get } var title: String? var message: String? var preferredStyle: UIAlertControllerStyle { get } var tabBarItem: UITabBarItem! var tabBarController: UITabBarController? { get } var splitViewController: UISplitViewController? { get } func collapseSecondaryViewController(_ secondaryViewController: UIViewController, for splitViewController: UISplitViewController) func separateSecondaryViewController(for splitViewController: UISplitViewController) -> UIViewController? var transitionCoordinator: UIViewControllerTransitionCoordinator? { get } var isModalInPopover: Bool var contentSizeForViewInPopover: CGSize var toolbarItems: [UIBarButtonItem]? func setToolbarItems(_ toolbarItems: [UIBarButtonItem]?, animated animated: Bool) var navigationItem: UINavigationItem { get } var hidesBottomBarWhenPushed: Bool var navigationController: UINavigationController? { get } var previewActionItems: [UIPreviewActionItem] { get } func registerForPreviewing(with delegate: UIViewControllerPreviewingDelegate, sourceView sourceView: UIView) -> UIViewControllerPreviewing func unregisterForPreviewing(withContext previewing: UIViewControllerPreviewing) var presentationController: UIPresentationController? { get } var popoverPresentationController: UIPopoverPresentationController? { get } func addKeyCommand(_ keyCommand: UIKeyCommand) func removeKeyCommand(_ keyCommand: UIKeyCommand) var topLayoutGuide: UILayoutSupport { get } var bottomLayoutGuide: UILayoutSupport { get } weak var transitioningDelegate: UIViewControllerTransitioningDelegate? func updateViewConstraints() func automaticallyForwardAppearanceAndRotationMethodsToChildViewControllers() -> Bool func shouldAutomaticallyForwardRotationMethods() -> Bool var shouldAutomaticallyForwardAppearanceMethods: Bool { get } func willMove(toParentViewController parent: UIViewController?) func didMove(toParentViewController parent: UIViewController?) var childViewControllers: [UIViewController] { get } func addChildViewController(_ childController: UIViewController) func removeFromParentViewController() func transition(from fromViewController: UIViewController, to toViewController: UIViewController, duration duration: TimeInterval, options options: UIViewAnimationOptions = [], animations animations: (@escaping () -> Void)?, completion completion: (@escaping (Bool) -> Void)? = nil) func beginAppearanceTransition(_ isAppearing: Bool, animated animated: Bool) func endAppearanceTransition() var childViewControllerForStatusBarStyle: UIViewController? { get } var childViewControllerForStatusBarHidden: UIViewController? { get } func setOverrideTraitCollection(_ collection: UITraitCollection?, forChildViewController childViewController: UIViewController) func overrideTraitCollection(forChildViewController childViewController: UIViewController) -> UITraitCollection? var searchDisplayController: UISearchDisplayController? { get } var isEditing: Bool func setEditing(_ editing: Bool, animated animated: Bool) var editButtonItem: UIBarButtonItem { get } class func attemptRotationToDeviceOrientation() func shouldAutorotate(to toInterfaceOrientation: UIInterfaceOrientation) -> Bool var shouldAutorotate: Bool { get } var supportedInterfaceOrientations: UIInterfaceOrientationMask { get } var preferredInterfaceOrientationForPresentation: UIInterfaceOrientation { get } func rotatingHeaderView() -> UIView? func rotatingFooterView() -> UIView? var interfaceOrientation: UIInterfaceOrientation { get } func willRotate(to toInterfaceOrientation: UIInterfaceOrientation, duration duration: TimeInterval) func didRotate(from fromInterfaceOrientation: UIInterfaceOrientation) func willAnimateRotation(to toInterfaceOrientation: UIInterfaceOrientation, duration duration: TimeInterval) func willAnimateFirstHalfOfRotation(to toInterfaceOrientation: UIInterfaceOrientation, duration duration: TimeInterval) func didAnimateFirstHalfOfRotation(to toInterfaceOrientation: UIInterfaceOrientation) func willAnimateSecondHalfOfRotation(from fromInterfaceOrientation: UIInterfaceOrientation, duration duration: TimeInterval) var userActivity: NSUserActivity? func updateUserActivityState(_ activity: NSUserActivity) func restoreUserActivityState(_ activity: NSUserActivity) 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() 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?) } extension UIAlertController : NSExtensionRequestHandling { var extensionContext: NSExtensionContext? { get } } extension UIAlertController : UIStateRestoring { var restorationIdentifier: String? var restorationClass: UIViewControllerRestoration.Type? func encodeRestorableState(with coder: NSCoder) func decodeRestorableState(with coder: NSCoder) func applicationFinishedRestoringState() } extension UIAlertController : CVarArg { } extension UIAlertController : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSExtensionRequestHandling, UIStateRestoring |
Declaration | |
---|---|
From | func addTextFieldWithConfigurationHandler(_ configurationHandler: ((UITextField) -> Void)?) |
To | func addTextField(configurationHandler configurationHandler: (@escaping (UITextField) -> Swift.Void)? = nil) |
Modified UIAlertControllerStyle [enum]
Declaration | |
---|---|
From | enum UIAlertControllerStyle : Int { case ActionSheet case Alert } |
To | enum UIAlertControllerStyle : Int { case actionSheet case alert } |
Modified UIAlertControllerStyle.actionSheet
Declaration | |
---|---|
From | case ActionSheet |
To | case actionSheet |
Modified UIAlertControllerStyle.alert
Declaration | |
---|---|
From | case Alert |
To | case alert |
Modified UIAlertView
Declaration | Protocols | |
---|---|---|
From | class UIAlertView : UIView { convenience init(title title: String?, message message: String?, delegate delegate: AnyObject?, cancelButtonTitle cancelButtonTitle: String?) init(frame frame: CGRect) init?(coder aDecoder: NSCoder) weak var delegate: AnyObject? var title: String var message: String? func addButtonWithTitle(_ title: String?) -> Int func buttonTitleAtIndex(_ buttonIndex: Int) -> String? var numberOfButtons: Int { get } var cancelButtonIndex: Int var firstOtherButtonIndex: Int { get } var visible: Bool { get } func show() func dismissWithClickedButtonIndex(_ buttonIndex: Int, animated animated: Bool) var alertViewStyle: UIAlertViewStyle func textFieldAtIndex(_ textFieldIndex: Int) -> UITextField? } extension UIAlertView { convenience init(title title: String, message message: String, delegate delegate: UIAlertViewDelegate?, cancelButtonTitle cancelButtonTitle: String?, otherButtonTitles firstButtonTitle: String, _ moreButtonTitles: String...) } extension UIAlertView { convenience init(title title: String, message message: String, delegate delegate: UIAlertViewDelegate?, cancelButtonTitle cancelButtonTitle: String?, otherButtonTitles firstButtonTitle: String, _ moreButtonTitles: String...) } | -- |
To | class UIAlertView : UIView { convenience init(title title: String?, message message: String?, delegate delegate: Any?, cancelButtonTitle cancelButtonTitle: String?) init(frame frame: CGRect) init?(coder aDecoder: NSCoder) weak var delegate: AnyObject? var title: String var message: String? func addButton(withTitle title: String?) -> Int func buttonTitle(at buttonIndex: Int) -> String? var numberOfButtons: Int { get } var cancelButtonIndex: Int var firstOtherButtonIndex: Int { get } var isVisible: Bool { get } func show() func dismiss(withClickedButtonIndex buttonIndex: Int, animated animated: Bool) var alertViewStyle: UIAlertViewStyle func textField(at textFieldIndex: Int) -> UITextField? convenience init(title title: String, message message: String, delegate delegate: UIAlertViewDelegate?, cancelButtonTitle cancelButtonTitle: String?, otherButtonTitles firstButtonTitle: String, _ moreButtonTitles: String...) 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 UIAlertView : UIAccessibilityIdentification { } extension UIAlertView : CVarArg { } extension UIAlertView : Equatable, Hashable { var hashValue: Int { get } } extension UIAlertView { convenience init(title title: String, message message: String, delegate delegate: UIAlertViewDelegate?, cancelButtonTitle cancelButtonTitle: String?, otherButtonTitles firstButtonTitle: String, _ moreButtonTitles: String...) } | CVarArg, Equatable, Hashable, UIAccessibilityIdentification |
Declaration | |
---|---|
From | func addButtonWithTitle(_ title: String?) -> Int |
To | func addButton(withTitle title: String?) -> Int |
Declaration | |
---|---|
From | func buttonTitleAtIndex(_ buttonIndex: Int) -> String? |
To | func buttonTitle(at buttonIndex: Int) -> String? |
Declaration | |
---|---|
From | func dismissWithClickedButtonIndex(_ buttonIndex: Int, animated animated: Bool) |
To | func dismiss(withClickedButtonIndex buttonIndex: Int, animated animated: Bool) |
Modified UIAlertView.init(title: String?, message: String?, delegate: Any?, cancelButtonTitle: String?)
Declaration | |
---|---|
From | convenience init(title title: String?, message message: String?, delegate delegate: AnyObject?, cancelButtonTitle cancelButtonTitle: String?) |
To | convenience init(title title: String?, message message: String?, delegate delegate: Any?, cancelButtonTitle cancelButtonTitle: String?) |
Deprecation | |
---|---|
From | -- |
To | iOS 9.0 |
Modified UIAlertView.isVisible
Declaration | |
---|---|
From | var visible: Bool { get } |
To | var isVisible: Bool { get } |
Declaration | |
---|---|
From | func textFieldAtIndex(_ textFieldIndex: Int) -> UITextField? |
To | func textField(at textFieldIndex: Int) -> UITextField? |
Modified UIAlertViewDelegate
Declaration | |
---|---|
From | protocol UIAlertViewDelegate : NSObjectProtocol { optional func alertView(_ alertView: UIAlertView, clickedButtonAtIndex buttonIndex: Int) optional func alertViewCancel(_ alertView: UIAlertView) optional func willPresentAlertView(_ alertView: UIAlertView) optional func didPresentAlertView(_ alertView: UIAlertView) optional func alertView(_ alertView: UIAlertView, willDismissWithButtonIndex buttonIndex: Int) optional func alertView(_ alertView: UIAlertView, didDismissWithButtonIndex buttonIndex: Int) optional func alertViewShouldEnableFirstOtherButton(_ alertView: UIAlertView) -> Bool } |
To | protocol UIAlertViewDelegate : NSObjectProtocol { optional func alertView(_ alertView: UIAlertView, clickedButtonAt buttonIndex: Int) optional func alertViewCancel(_ alertView: UIAlertView) optional func willPresent(_ alertView: UIAlertView) optional func didPresent(_ alertView: UIAlertView) optional func alertView(_ alertView: UIAlertView, willDismissWithButtonIndex buttonIndex: Int) optional func alertView(_ alertView: UIAlertView, didDismissWithButtonIndex buttonIndex: Int) optional func alertViewShouldEnableFirstOtherButton(_ alertView: UIAlertView) -> Bool } |
Declaration | |
---|---|
From | optional func alertView(_ alertView: UIAlertView, clickedButtonAtIndex buttonIndex: Int) |
To | optional func alertView(_ alertView: UIAlertView, clickedButtonAt buttonIndex: Int) |
Declaration | |
---|---|
From | optional func didPresentAlertView(_ alertView: UIAlertView) |
To | optional func didPresent(_ alertView: UIAlertView) |
Declaration | |
---|---|
From | optional func willPresentAlertView(_ alertView: UIAlertView) |
To | optional func willPresent(_ alertView: UIAlertView) |
Modified UIAlertViewStyle [enum]
Declaration | |
---|---|
From | enum UIAlertViewStyle : Int { case Default case SecureTextInput case PlainTextInput case LoginAndPasswordInput } |
To | enum UIAlertViewStyle : Int { case `default` case secureTextInput case plainTextInput case loginAndPasswordInput } |
Modified UIAlertViewStyle.default
Declaration | |
---|---|
From | case Default |
To | case `default` |
Declaration | |
---|---|
From | case LoginAndPasswordInput |
To | case loginAndPasswordInput |
Modified UIAlertViewStyle.plainTextInput
Declaration | |
---|---|
From | case PlainTextInput |
To | case plainTextInput |
Modified UIAlertViewStyle.secureTextInput
Declaration | |
---|---|
From | case SecureTextInput |
To | case secureTextInput |
Modified UIAppearance
Declaration | |
---|---|
From | protocol UIAppearance : NSObjectProtocol { static func appearance() -> Self static func appearanceWhenContainedInInstancesOfClasses(_ containerTypes: [AnyObject.Type]) -> Self static func appearanceForTraitCollection(_ trait: UITraitCollection) -> Self static func appearanceForTraitCollection(_ trait: UITraitCollection, whenContainedInInstancesOfClasses containerTypes: [AnyObject.Type]) -> Self } |
To | protocol UIAppearance : NSObjectProtocol { static func appearance() -> Self static func appearance(whenContainedInInstancesOf containerTypes: [UIAppearanceContainer.Type]) -> Self static func appearance(for trait: UITraitCollection) -> Self static func appearance(for trait: UITraitCollection, whenContainedInInstancesOf containerTypes: [UIAppearanceContainer.Type]) -> Self } |
Declaration | |
---|---|
From | static func appearanceForTraitCollection(_ trait: UITraitCollection) -> Self |
To | static func appearance(for trait: UITraitCollection) -> Self |
Declaration | |
---|---|
From | static func appearanceForTraitCollection(_ trait: UITraitCollection, whenContainedInInstancesOfClasses containerTypes: [AnyObject.Type]) -> Self |
To | static func appearance(for trait: UITraitCollection, whenContainedInInstancesOf containerTypes: [UIAppearanceContainer.Type]) -> Self |
Modified UIAppearance.appearance(whenContainedInInstancesOf: [UIAppearanceContainer.Type]) -> Self [class]
Declaration | |
---|---|
From | static func appearanceWhenContainedInInstancesOfClasses(_ containerTypes: [AnyObject.Type]) -> Self |
To | static func appearance(whenContainedInInstancesOf containerTypes: [UIAppearanceContainer.Type]) -> Self |
Modified UIApplication
Declaration | Protocols | |
---|---|---|
From | class UIApplication : UIResponder { class func sharedApplication() -> UIApplication unowned(unsafe) var delegate: UIApplicationDelegate? func beginIgnoringInteractionEvents() func endIgnoringInteractionEvents() func isIgnoringInteractionEvents() -> Bool var idleTimerDisabled: Bool func openURL(_ url: NSURL) -> Bool func canOpenURL(_ url: NSURL) -> Bool func sendEvent(_ event: UIEvent) var keyWindow: UIWindow? { get } var windows: [UIWindow] { get } func sendAction(_ action: Selector, to target: AnyObject?, from sender: AnyObject?, forEvent event: UIEvent?) -> Bool var networkActivityIndicatorVisible: Bool func supportedInterfaceOrientationsForWindow(_ window: UIWindow?) -> UIInterfaceOrientationMask var statusBarOrientationAnimationDuration: NSTimeInterval { get } var statusBarFrame: CGRect { get } var applicationIconBadgeNumber: Int var applicationSupportsShakeToEdit: Bool var applicationState: UIApplicationState { get } var backgroundTimeRemaining: NSTimeInterval { get } func beginBackgroundTaskWithExpirationHandler(_ handler: (() -> Void)?) -> UIBackgroundTaskIdentifier func beginBackgroundTaskWithName(_ taskName: String?, expirationHandler handler: (() -> Void)?) -> UIBackgroundTaskIdentifier func endBackgroundTask(_ identifier: UIBackgroundTaskIdentifier) func setMinimumBackgroundFetchInterval(_ minimumBackgroundFetchInterval: NSTimeInterval) var backgroundRefreshStatus: UIBackgroundRefreshStatus { get } var protectedDataAvailable: Bool { get } var userInterfaceLayoutDirection: UIUserInterfaceLayoutDirection { get } var preferredContentSizeCategory: String { get } } extension UIApplication { func registerForRemoteNotifications() func unregisterForRemoteNotifications() func isRegisteredForRemoteNotifications() -> Bool func registerForRemoteNotificationTypes(_ types: UIRemoteNotificationType) func enabledRemoteNotificationTypes() -> UIRemoteNotificationType } extension UIApplication { func presentLocalNotificationNow(_ notification: UILocalNotification) func scheduleLocalNotification(_ notification: UILocalNotification) func cancelLocalNotification(_ notification: UILocalNotification) func cancelAllLocalNotifications() var scheduledLocalNotifications: [UILocalNotification]? } extension UIApplication { func registerUserNotificationSettings(_ notificationSettings: UIUserNotificationSettings) func currentUserNotificationSettings() -> UIUserNotificationSettings? } extension UIApplication { func beginReceivingRemoteControlEvents() func endReceivingRemoteControlEvents() } extension UIApplication { func setNewsstandIconImage(_ image: UIImage?) } extension UIApplication { var shortcutItems: [UIApplicationShortcutItem]? } extension UIApplication { func extendStateRestoration() func completeStateRestoration() func ignoreSnapshotOnNextApplicationLaunch() class func registerObjectForStateRestoration(_ object: UIStateRestoring, restorationIdentifier restorationIdentifier: String) } extension UIApplication { var proximitySensingEnabled: Bool func setStatusBarHidden(_ hidden: Bool, animated animated: Bool) var statusBarOrientation: UIInterfaceOrientation func setStatusBarOrientation(_ interfaceOrientation: UIInterfaceOrientation, animated animated: Bool) var statusBarStyle: UIStatusBarStyle func setStatusBarStyle(_ statusBarStyle: UIStatusBarStyle, animated animated: Bool) var statusBarHidden: Bool func setStatusBarHidden(_ hidden: Bool, withAnimation animation: UIStatusBarAnimation) func setKeepAliveTimeout(_ timeout: NSTimeInterval, handler keepAliveHandler: (() -> Void)?) -> Bool func clearKeepAliveTimeout() } | -- |
To | class UIApplication : UIResponder { class var shared: UIApplication { get } unowned(unsafe) var delegate: UIApplicationDelegate? func beginIgnoringInteractionEvents() func endIgnoringInteractionEvents() var isIgnoringInteractionEvents: Bool { get } var isIdleTimerDisabled: Bool func openURL(_ url: URL) -> Bool func canOpenURL(_ url: URL) -> Bool func open(_ url: URL, options options: [String : Any] = [:], completionHandler completion: (@escaping (Bool) -> Swift.Void)? = nil) func sendEvent(_ event: UIEvent) var keyWindow: UIWindow? { get } var windows: [UIWindow] { get } func sendAction(_ action: Selector, to target: Any?, from sender: Any?, for event: UIEvent?) -> Bool var isNetworkActivityIndicatorVisible: Bool var statusBarStyle: UIStatusBarStyle var isStatusBarHidden: Bool var statusBarOrientation: UIInterfaceOrientation func supportedInterfaceOrientations(for window: UIWindow?) -> UIInterfaceOrientationMask var statusBarOrientationAnimationDuration: TimeInterval { get } var statusBarFrame: CGRect { get } var applicationIconBadgeNumber: Int var applicationSupportsShakeToEdit: Bool var applicationState: UIApplicationState { get } var backgroundTimeRemaining: TimeInterval { get } func beginBackgroundTask(expirationHandler handler: (@escaping () -> Swift.Void)? = nil) -> UIBackgroundTaskIdentifier func beginBackgroundTask(withName taskName: String?, expirationHandler handler: (@escaping () -> Swift.Void)? = nil) -> UIBackgroundTaskIdentifier func endBackgroundTask(_ identifier: UIBackgroundTaskIdentifier) func setMinimumBackgroundFetchInterval(_ minimumBackgroundFetchInterval: TimeInterval) var backgroundRefreshStatus: UIBackgroundRefreshStatus { get } var isProtectedDataAvailable: Bool { get } var userInterfaceLayoutDirection: UIUserInterfaceLayoutDirection { get } var preferredContentSizeCategory: UIContentSizeCategory { get } func registerForRemoteNotifications() func unregisterForRemoteNotifications() var isRegisteredForRemoteNotifications: Bool { get } func registerForRemoteNotifications(matching types: UIRemoteNotificationType) func enabledRemoteNotificationTypes() -> UIRemoteNotificationType func presentLocalNotificationNow(_ notification: UILocalNotification) func scheduleLocalNotification(_ notification: UILocalNotification) func cancelLocalNotification(_ notification: UILocalNotification) func cancelAllLocalNotifications() var scheduledLocalNotifications: [UILocalNotification]? func registerUserNotificationSettings(_ notificationSettings: UIUserNotificationSettings) var currentUserNotificationSettings: UIUserNotificationSettings? { get } func beginReceivingRemoteControlEvents() func endReceivingRemoteControlEvents() func setNewsstandIconImage(_ image: UIImage?) var shortcutItems: [UIApplicationShortcutItem]? func extendStateRestoration() func completeStateRestoration() func ignoreSnapshotOnNextApplicationLaunch() class func registerObject(forStateRestoration object: UIStateRestoring, restorationIdentifier restorationIdentifier: String) var isProximitySensingEnabled: Bool func setStatusBarHidden(_ hidden: Bool, animated animated: Bool) func setStatusBarOrientation(_ interfaceOrientation: UIInterfaceOrientation, animated animated: Bool) func setStatusBarStyle(_ statusBarStyle: UIStatusBarStyle, animated animated: Bool) func setStatusBarHidden(_ hidden: Bool, with animation: UIStatusBarAnimation) func setKeepAliveTimeout(_ timeout: TimeInterval, handler keepAliveHandler: (@escaping () -> Swift.Void)? = nil) -> Bool func clearKeepAliveTimeout() 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) var userActivity: NSUserActivity? func updateUserActivityState(_ activity: NSUserActivity) func restoreUserActivityState(_ activity: NSUserActivity) 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 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]? func accessibilityElementCount() -> Int func accessibilityElement(at index: Int) -> Any? func index(ofAccessibilityElement element: Any) -> Int var accessibilityElements: [Any]? func accessibilityElementDidBecomeFocused() func accessibilityElementDidLoseFocus() func accessibilityElementIsFocused() -> Bool func accessibilityAssistiveTechnologyFocusedIdentifiers() -> Set<String>? func accessibilityActivate() -> Bool func accessibilityIncrement() func accessibilityDecrement() func accessibilityScroll(_ direction: UIAccessibilityScrollDirection) -> Bool func accessibilityPerformEscape() -> Bool func accessibilityPerformMagicTap() -> Bool var accessibilityCustomActions: [UIAccessibilityCustomAction]? func awakeFromNib() func prepareForInterfaceBuilder() var keyCommands: [UIKeyCommand]? { get } 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() func observeValue(forKeyPath keyPath: String?, of object: Any?, change change: [NSKeyValueChangeKey : Any]?, context context: UnsafeMutableRawPointer?) } extension UIApplication : CVarArg { } extension UIApplication : Equatable, Hashable { var hashValue: Int { get } } extension UIApplication { func registerForRemoteNotifications() func unregisterForRemoteNotifications() var isRegisteredForRemoteNotifications: Bool { get } func registerForRemoteNotifications(matching types: UIRemoteNotificationType) func enabledRemoteNotificationTypes() -> UIRemoteNotificationType } extension UIApplication { func presentLocalNotificationNow(_ notification: UILocalNotification) func scheduleLocalNotification(_ notification: UILocalNotification) func cancelLocalNotification(_ notification: UILocalNotification) func cancelAllLocalNotifications() var scheduledLocalNotifications: [UILocalNotification]? } extension UIApplication { func registerUserNotificationSettings(_ notificationSettings: UIUserNotificationSettings) var currentUserNotificationSettings: UIUserNotificationSettings? { get } } extension UIApplication { func beginReceivingRemoteControlEvents() func endReceivingRemoteControlEvents() } extension UIApplication { func setNewsstandIconImage(_ image: UIImage?) } extension UIApplication { var shortcutItems: [UIApplicationShortcutItem]? } extension UIApplication { func extendStateRestoration() func completeStateRestoration() func ignoreSnapshotOnNextApplicationLaunch() class func registerObject(forStateRestoration object: UIStateRestoring, restorationIdentifier restorationIdentifier: String) } extension UIApplication { var isProximitySensingEnabled: Bool func setStatusBarHidden(_ hidden: Bool, animated animated: Bool) func setStatusBarOrientation(_ interfaceOrientation: UIInterfaceOrientation, animated animated: Bool) func setStatusBarStyle(_ statusBarStyle: UIStatusBarStyle, animated animated: Bool) func setStatusBarHidden(_ hidden: Bool, with animation: UIStatusBarAnimation) func setKeepAliveTimeout(_ timeout: TimeInterval, handler keepAliveHandler: (@escaping () -> Swift.Void)? = nil) -> Bool func clearKeepAliveTimeout() } | CVarArg, Equatable, Hashable |
Declaration | |
---|---|
From | var backgroundTimeRemaining: NSTimeInterval { get } |
To | var backgroundTimeRemaining: TimeInterval { get } |
Declaration | |
---|---|
From | func beginBackgroundTaskWithExpirationHandler(_ handler: (() -> Void)?) -> UIBackgroundTaskIdentifier |
To | func beginBackgroundTask(expirationHandler handler: (@escaping () -> Swift.Void)? = nil) -> UIBackgroundTaskIdentifier |
Declaration | |
---|---|
From | func beginBackgroundTaskWithName(_ taskName: String?, expirationHandler handler: (() -> Void)?) -> UIBackgroundTaskIdentifier |
To | func beginBackgroundTask(withName taskName: String?, expirationHandler handler: (@escaping () -> Swift.Void)? = nil) -> UIBackgroundTaskIdentifier |
Deprecation | |
---|---|
From | -- |
To | iOS 10.0 |
Deprecation | |
---|---|
From | -- |
To | iOS 10.0 |
Declaration | |
---|---|
From | func canOpenURL(_ url: NSURL) -> Bool |
To | func canOpenURL(_ url: URL) -> Bool |
Modified UIApplication.isIdleTimerDisabled
Declaration | |
---|---|
From | var idleTimerDisabled: Bool |
To | var isIdleTimerDisabled: Bool |
Declaration | |
---|---|
From | var networkActivityIndicatorVisible: Bool |
To | var isNetworkActivityIndicatorVisible: Bool |
Declaration | |
---|---|
From | var protectedDataAvailable: Bool { get } |
To | var isProtectedDataAvailable: Bool { get } |
Modified UIApplication.isStatusBarHidden
Declaration | Deprecation | |
---|---|---|
From | var statusBarHidden: Bool | iOS 9.0 |
To | var isStatusBarHidden: Bool | -- |
Declaration | Introduction | Deprecation | |
---|---|---|---|
From | func openURL(_ url: NSURL) -> Bool | iOS 8.0 | -- |
To | func openURL(_ url: URL) -> Bool | iOS 2.0 | iOS 10.0 |
Declaration | |
---|---|
From | var preferredContentSizeCategory: String { get } |
To | var preferredContentSizeCategory: UIContentSizeCategory { get } |
Deprecation | |
---|---|
From | -- |
To | iOS 10.0 |
Declaration | |
---|---|
From | func registerForRemoteNotificationTypes(_ types: UIRemoteNotificationType) |
To | func registerForRemoteNotifications(matching types: UIRemoteNotificationType) |
Declaration | |
---|---|
From | class func registerObjectForStateRestoration(_ object: UIStateRestoring, restorationIdentifier restorationIdentifier: String) |
To | class func registerObject(forStateRestoration object: UIStateRestoring, restorationIdentifier restorationIdentifier: String) |
Deprecation | |
---|---|
From | -- |
To | iOS 10.0 |
Deprecation | |
---|---|
From | -- |
To | iOS 10.0 |
Declaration | |
---|---|
From | func sendAction(_ action: Selector, to target: AnyObject?, from sender: AnyObject?, forEvent event: UIEvent?) -> Bool |
To | func sendAction(_ action: Selector, to target: Any?, from sender: Any?, for event: UIEvent?) -> Bool |
Declaration | |
---|---|
From | func setKeepAliveTimeout(_ timeout: NSTimeInterval, handler keepAliveHandler: (() -> Void)?) -> Bool |
To | func setKeepAliveTimeout(_ timeout: TimeInterval, handler keepAliveHandler: (@escaping () -> Swift.Void)? = nil) -> Bool |
Declaration | |
---|---|
From | func setMinimumBackgroundFetchInterval(_ minimumBackgroundFetchInterval: NSTimeInterval) |
To | func setMinimumBackgroundFetchInterval(_ minimumBackgroundFetchInterval: TimeInterval) |
Introduction | |
---|---|
From | iOS 9.0 |
To | iOS 5.0 |
Declaration | |
---|---|
From | func setStatusBarHidden(_ hidden: Bool, withAnimation animation: UIStatusBarAnimation) |
To | func setStatusBarHidden(_ hidden: Bool, with animation: UIStatusBarAnimation) |
Modified UIApplication.statusBarOrientation
Deprecation | |
---|---|
From | iOS 9.0 |
To | -- |
Declaration | |
---|---|
From | var statusBarOrientationAnimationDuration: NSTimeInterval { get } |
To | var statusBarOrientationAnimationDuration: TimeInterval { get } |
Modified UIApplication.statusBarStyle
Deprecation | |
---|---|
From | iOS 9.0 |
To | -- |
Declaration | |
---|---|
From | func supportedInterfaceOrientationsForWindow(_ window: UIWindow?) -> UIInterfaceOrientationMask |
To | func supportedInterfaceOrientations(for window: UIWindow?) -> UIInterfaceOrientationMask |
Modified UIApplicationDelegate
Declaration | |
---|---|
From | protocol UIApplicationDelegate : NSObjectProtocol { optional func applicationDidFinishLaunching(_ application: UIApplication) optional func application(_ application: UIApplication, willFinishLaunchingWithOptions launchOptions: [NSObject : AnyObject]?) -> Bool optional func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject : AnyObject]?) -> Bool optional func applicationDidBecomeActive(_ application: UIApplication) optional func applicationWillResignActive(_ application: UIApplication) optional func application(_ application: UIApplication, handleOpenURL url: NSURL) -> Bool optional func application(_ application: UIApplication, openURL url: NSURL, sourceApplication sourceApplication: String?, annotation annotation: AnyObject) -> Bool optional func application(_ app: UIApplication, openURL url: NSURL, options options: [String : AnyObject]) -> Bool optional func applicationDidReceiveMemoryWarning(_ application: UIApplication) optional func applicationWillTerminate(_ application: UIApplication) optional func applicationSignificantTimeChange(_ application: UIApplication) optional func application(_ application: UIApplication, willChangeStatusBarOrientation newStatusBarOrientation: UIInterfaceOrientation, duration duration: NSTimeInterval) optional func application(_ application: UIApplication, didChangeStatusBarOrientation oldStatusBarOrientation: UIInterfaceOrientation) optional func application(_ application: UIApplication, willChangeStatusBarFrame newStatusBarFrame: CGRect) optional func application(_ application: UIApplication, didChangeStatusBarFrame oldStatusBarFrame: CGRect) optional func application(_ application: UIApplication, didRegisterUserNotificationSettings notificationSettings: UIUserNotificationSettings) optional func application(_ application: UIApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: NSData) optional func application(_ application: UIApplication, didFailToRegisterForRemoteNotificationsWithError error: NSError) optional func application(_ application: UIApplication, didReceiveRemoteNotification userInfo: [NSObject : AnyObject]) optional func application(_ application: UIApplication, didReceiveLocalNotification notification: UILocalNotification) optional func application(_ application: UIApplication, handleActionWithIdentifier identifier: String?, forLocalNotification notification: UILocalNotification, completionHandler completionHandler: () -> Void) optional func application(_ application: UIApplication, handleActionWithIdentifier identifier: String?, forRemoteNotification userInfo: [NSObject : AnyObject], withResponseInfo responseInfo: [NSObject : AnyObject], completionHandler completionHandler: () -> Void) optional func application(_ application: UIApplication, handleActionWithIdentifier identifier: String?, forRemoteNotification userInfo: [NSObject : AnyObject], completionHandler completionHandler: () -> Void) optional func application(_ application: UIApplication, handleActionWithIdentifier identifier: String?, forLocalNotification notification: UILocalNotification, withResponseInfo responseInfo: [NSObject : AnyObject], completionHandler completionHandler: () -> Void) optional func application(_ application: UIApplication, didReceiveRemoteNotification userInfo: [NSObject : AnyObject], fetchCompletionHandler completionHandler: (UIBackgroundFetchResult) -> Void) optional func application(_ application: UIApplication, performFetchWithCompletionHandler completionHandler: (UIBackgroundFetchResult) -> Void) optional func application(_ application: UIApplication, performActionForShortcutItem shortcutItem: UIApplicationShortcutItem, completionHandler completionHandler: (Bool) -> Void) optional func application(_ application: UIApplication, handleEventsForBackgroundURLSession identifier: String, completionHandler completionHandler: () -> Void) optional func application(_ application: UIApplication, handleWatchKitExtensionRequest userInfo: [NSObject : AnyObject]?, reply reply: ([NSObject : AnyObject]?) -> Void) optional func applicationShouldRequestHealthAuthorization(_ application: UIApplication) optional func applicationDidEnterBackground(_ application: UIApplication) optional func applicationWillEnterForeground(_ application: UIApplication) optional func applicationProtectedDataWillBecomeUnavailable(_ application: UIApplication) optional func applicationProtectedDataDidBecomeAvailable(_ application: UIApplication) optional var window: UIWindow? { get set } optional func application(_ application: UIApplication, supportedInterfaceOrientationsForWindow window: UIWindow?) -> UIInterfaceOrientationMask optional func application(_ application: UIApplication, shouldAllowExtensionPointIdentifier extensionPointIdentifier: String) -> Bool optional func application(_ application: UIApplication, viewControllerWithRestorationIdentifierPath identifierComponents: [AnyObject], coder coder: NSCoder) -> UIViewController? optional func application(_ application: UIApplication, shouldSaveApplicationState coder: NSCoder) -> Bool optional func application(_ application: UIApplication, shouldRestoreApplicationState coder: NSCoder) -> Bool optional func application(_ application: UIApplication, willEncodeRestorableStateWithCoder coder: NSCoder) optional func application(_ application: UIApplication, didDecodeRestorableStateWithCoder coder: NSCoder) optional func application(_ application: UIApplication, willContinueUserActivityWithType userActivityType: String) -> Bool optional func application(_ application: UIApplication, continueUserActivity userActivity: NSUserActivity, restorationHandler restorationHandler: ([AnyObject]?) -> Void) -> Bool optional func application(_ application: UIApplication, didFailToContinueUserActivityWithType userActivityType: String, error error: NSError) optional func application(_ application: UIApplication, didUpdateUserActivity userActivity: NSUserActivity) } |
To | protocol UIApplicationDelegate : NSObjectProtocol { optional func applicationDidFinishLaunching(_ application: UIApplication) optional func application(_ application: UIApplication, willFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey : Any]? = nil) -> Bool optional func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey : Any]? = nil) -> Bool optional func applicationDidBecomeActive(_ application: UIApplication) optional func applicationWillResignActive(_ application: UIApplication) optional func application(_ application: UIApplication, handleOpen url: URL) -> Bool optional func application(_ application: UIApplication, open url: URL, sourceApplication sourceApplication: String?, annotation annotation: Any) -> Bool optional func application(_ app: UIApplication, open url: URL, options options: [UIApplicationOpenURLOptionsKey : Any] = [:]) -> Bool optional func applicationDidReceiveMemoryWarning(_ application: UIApplication) optional func applicationWillTerminate(_ application: UIApplication) optional func applicationSignificantTimeChange(_ application: UIApplication) optional func application(_ application: UIApplication, willChangeStatusBarOrientation newStatusBarOrientation: UIInterfaceOrientation, duration duration: TimeInterval) optional func application(_ application: UIApplication, didChangeStatusBarOrientation oldStatusBarOrientation: UIInterfaceOrientation) optional func application(_ application: UIApplication, willChangeStatusBarFrame newStatusBarFrame: CGRect) optional func application(_ application: UIApplication, didChangeStatusBarFrame oldStatusBarFrame: CGRect) optional func application(_ application: UIApplication, didRegister notificationSettings: UIUserNotificationSettings) optional func application(_ application: UIApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: Data) optional func application(_ application: UIApplication, didFailToRegisterForRemoteNotificationsWithError error: Error) optional func application(_ application: UIApplication, didReceiveRemoteNotification userInfo: [AnyHashable : Any]) optional func application(_ application: UIApplication, didReceive notification: UILocalNotification) optional func application(_ application: UIApplication, handleActionWithIdentifier identifier: String?, for notification: UILocalNotification, completionHandler completionHandler: @escaping () -> Swift.Void) optional func application(_ application: UIApplication, handleActionWithIdentifier identifier: String?, forRemoteNotification userInfo: [AnyHashable : Any], withResponseInfo responseInfo: [AnyHashable : Any], completionHandler completionHandler: @escaping () -> Swift.Void) optional func application(_ application: UIApplication, handleActionWithIdentifier identifier: String?, forRemoteNotification userInfo: [AnyHashable : Any], completionHandler completionHandler: @escaping () -> Swift.Void) optional func application(_ application: UIApplication, handleActionWithIdentifier identifier: String?, for notification: UILocalNotification, withResponseInfo responseInfo: [AnyHashable : Any], completionHandler completionHandler: @escaping () -> Swift.Void) optional func application(_ application: UIApplication, didReceiveRemoteNotification userInfo: [AnyHashable : Any], fetchCompletionHandler completionHandler: @escaping (UIBackgroundFetchResult) -> Swift.Void) optional func application(_ application: UIApplication, performFetchWithCompletionHandler completionHandler: @escaping (UIBackgroundFetchResult) -> Swift.Void) optional func application(_ application: UIApplication, performActionFor shortcutItem: UIApplicationShortcutItem, completionHandler completionHandler: @escaping (Bool) -> Swift.Void) optional func application(_ application: UIApplication, handleEventsForBackgroundURLSession identifier: String, completionHandler completionHandler: @escaping () -> Swift.Void) optional func application(_ application: UIApplication, handleWatchKitExtensionRequest userInfo: [AnyHashable : Any]?, reply reply: @escaping ([AnyHashable : Any]?) -> Swift.Void) optional func applicationShouldRequestHealthAuthorization(_ application: UIApplication) optional func applicationDidEnterBackground(_ application: UIApplication) optional func applicationWillEnterForeground(_ application: UIApplication) optional func applicationProtectedDataWillBecomeUnavailable(_ application: UIApplication) optional func applicationProtectedDataDidBecomeAvailable(_ application: UIApplication) optional var window: UIWindow? { get set } optional func application(_ application: UIApplication, supportedInterfaceOrientationsFor window: UIWindow?) -> UIInterfaceOrientationMask optional func application(_ application: UIApplication, shouldAllowExtensionPointIdentifier extensionPointIdentifier: UIApplicationExtensionPointIdentifier) -> Bool optional func application(_ application: UIApplication, viewControllerWithRestorationIdentifierPath identifierComponents: [Any], coder coder: NSCoder) -> UIViewController? optional func application(_ application: UIApplication, shouldSaveApplicationState coder: NSCoder) -> Bool optional func application(_ application: UIApplication, shouldRestoreApplicationState coder: NSCoder) -> Bool optional func application(_ application: UIApplication, willEncodeRestorableStateWith coder: NSCoder) optional func application(_ application: UIApplication, didDecodeRestorableStateWith coder: NSCoder) optional func application(_ application: UIApplication, willContinueUserActivityWithType userActivityType: String) -> Bool optional func application(_ application: UIApplication, continue userActivity: NSUserActivity, restorationHandler restorationHandler: @escaping ([Any]?) -> Swift.Void) -> Bool optional func application(_ application: UIApplication, didFailToContinueUserActivityWithType userActivityType: String, error error: Error) optional func application(_ application: UIApplication, didUpdate userActivity: NSUserActivity) optional func application(_ application: UIApplication, userDidAcceptCloudKitShareWith cloudKitShareMetadata: CKShareMetadata) } |
Declaration | |
---|---|
From | optional func application(_ application: UIApplication, continueUserActivity userActivity: NSUserActivity, restorationHandler restorationHandler: ([AnyObject]?) -> Void) -> Bool |
To | optional func application(_ application: UIApplication, continue userActivity: NSUserActivity, restorationHandler restorationHandler: @escaping ([Any]?) -> Swift.Void) -> Bool |
Declaration | |
---|---|
From | optional func application(_ application: UIApplication, didDecodeRestorableStateWithCoder coder: NSCoder) |
To | optional func application(_ application: UIApplication, didDecodeRestorableStateWith coder: NSCoder) |
Declaration | |
---|---|
From | optional func application(_ application: UIApplication, didFailToContinueUserActivityWithType userActivityType: String, error error: NSError) |
To | optional func application(_ application: UIApplication, didFailToContinueUserActivityWithType userActivityType: String, error error: Error) |
Declaration | |
---|---|
From | optional func application(_ application: UIApplication, didFailToRegisterForRemoteNotificationsWithError error: NSError) |
To | optional func application(_ application: UIApplication, didFailToRegisterForRemoteNotificationsWithError error: Error) |
Declaration | |
---|---|
From | optional func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject : AnyObject]?) -> Bool |
To | optional func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey : Any]? = nil) -> Bool |
Declaration | Deprecation | |
---|---|---|
From | optional func application(_ application: UIApplication, didReceiveLocalNotification notification: UILocalNotification) | -- |
To | optional func application(_ application: UIApplication, didReceive notification: UILocalNotification) | iOS 10.0 |
Declaration | Deprecation | |
---|---|---|
From | optional func application(_ application: UIApplication, didReceiveRemoteNotification userInfo: [NSObject : AnyObject]) | -- |
To | optional func application(_ application: UIApplication, didReceiveRemoteNotification userInfo: [AnyHashable : Any]) | iOS 10.0 |
Declaration | |
---|---|
From | optional func application(_ application: UIApplication, didReceiveRemoteNotification userInfo: [NSObject : AnyObject], fetchCompletionHandler completionHandler: (UIBackgroundFetchResult) -> Void) |
To | optional func application(_ application: UIApplication, didReceiveRemoteNotification userInfo: [AnyHashable : Any], fetchCompletionHandler completionHandler: @escaping (UIBackgroundFetchResult) -> Swift.Void) |
Modified UIApplicationDelegate.application(_: UIApplication, didRegister: UIUserNotificationSettings)
Declaration | |
---|---|
From | optional func application(_ application: UIApplication, didRegisterUserNotificationSettings notificationSettings: UIUserNotificationSettings) |
To | optional func application(_ application: UIApplication, didRegister notificationSettings: UIUserNotificationSettings) |
Declaration | |
---|---|
From | optional func application(_ application: UIApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: NSData) |
To | optional func application(_ application: UIApplication, didRegisterForRemoteNotificationsWithDeviceToken deviceToken: Data) |
Declaration | |
---|---|
From | optional func application(_ application: UIApplication, didUpdateUserActivity userActivity: NSUserActivity) |
To | optional func application(_ application: UIApplication, didUpdate userActivity: NSUserActivity) |
Declaration | Deprecation | |
---|---|---|
From | optional func application(_ application: UIApplication, handleActionWithIdentifier identifier: String?, forLocalNotification notification: UILocalNotification, completionHandler completionHandler: () -> Void) | -- |
To | optional func application(_ application: UIApplication, handleActionWithIdentifier identifier: String?, for notification: UILocalNotification, completionHandler completionHandler: @escaping () -> Swift.Void) | iOS 10.0 |
Declaration | Deprecation | |
---|---|---|
From | optional func application(_ application: UIApplication, handleActionWithIdentifier identifier: String?, forLocalNotification notification: UILocalNotification, withResponseInfo responseInfo: [NSObject : AnyObject], completionHandler completionHandler: () -> Void) | -- |
To | optional func application(_ application: UIApplication, handleActionWithIdentifier identifier: String?, for notification: UILocalNotification, withResponseInfo responseInfo: [AnyHashable : Any], completionHandler completionHandler: @escaping () -> Swift.Void) | iOS 10.0 |
Declaration | Deprecation | |
---|---|---|
From | optional func application(_ application: UIApplication, handleActionWithIdentifier identifier: String?, forRemoteNotification userInfo: [NSObject : AnyObject], completionHandler completionHandler: () -> Void) | -- |
To | optional func application(_ application: UIApplication, handleActionWithIdentifier identifier: String?, forRemoteNotification userInfo: [AnyHashable : Any], completionHandler completionHandler: @escaping () -> Swift.Void) | iOS 10.0 |
Declaration | Deprecation | |
---|---|---|
From | optional func application(_ application: UIApplication, handleActionWithIdentifier identifier: String?, forRemoteNotification userInfo: [NSObject : AnyObject], withResponseInfo responseInfo: [NSObject : AnyObject], completionHandler completionHandler: () -> Void) | -- |
To | optional func application(_ application: UIApplication, handleActionWithIdentifier identifier: String?, forRemoteNotification userInfo: [AnyHashable : Any], withResponseInfo responseInfo: [AnyHashable : Any], completionHandler completionHandler: @escaping () -> Swift.Void) | iOS 10.0 |
Declaration | |
---|---|
From | optional func application(_ application: UIApplication, handleEventsForBackgroundURLSession identifier: String, completionHandler completionHandler: () -> Void) |
To | optional func application(_ application: UIApplication, handleEventsForBackgroundURLSession identifier: String, completionHandler completionHandler: @escaping () -> Swift.Void) |
Declaration | |
---|---|
From | optional func application(_ application: UIApplication, handleOpenURL url: NSURL) -> Bool |
To | optional func application(_ application: UIApplication, handleOpen url: URL) -> Bool |
Declaration | |
---|---|
From | optional func application(_ application: UIApplication, handleWatchKitExtensionRequest userInfo: [NSObject : AnyObject]?, reply reply: ([NSObject : AnyObject]?) -> Void) |
To | optional func application(_ application: UIApplication, handleWatchKitExtensionRequest userInfo: [AnyHashable : Any]?, reply reply: @escaping ([AnyHashable : Any]?) -> Swift.Void) |
Declaration | |
---|---|
From | optional func application(_ app: UIApplication, openURL url: NSURL, options options: [String : AnyObject]) -> Bool |
To | optional func application(_ app: UIApplication, open url: URL, options options: [UIApplicationOpenURLOptionsKey : Any] = [:]) -> Bool |
Declaration | |
---|---|
From | optional func application(_ application: UIApplication, openURL url: NSURL, sourceApplication sourceApplication: String?, annotation annotation: AnyObject) -> Bool |
To | optional func application(_ application: UIApplication, open url: URL, sourceApplication sourceApplication: String?, annotation annotation: Any) -> Bool |
Declaration | |
---|---|
From | optional func application(_ application: UIApplication, performActionForShortcutItem shortcutItem: UIApplicationShortcutItem, completionHandler completionHandler: (Bool) -> Void) |
To | optional func application(_ application: UIApplication, performActionFor shortcutItem: UIApplicationShortcutItem, completionHandler completionHandler: @escaping (Bool) -> Swift.Void) |
Declaration | |
---|---|
From | optional func application(_ application: UIApplication, performFetchWithCompletionHandler completionHandler: (UIBackgroundFetchResult) -> Void) |
To | optional func application(_ application: UIApplication, performFetchWithCompletionHandler completionHandler: @escaping (UIBackgroundFetchResult) -> Swift.Void) |
Declaration | |
---|---|
From | optional func application(_ application: UIApplication, shouldAllowExtensionPointIdentifier extensionPointIdentifier: String) -> Bool |
To | optional func application(_ application: UIApplication, shouldAllowExtensionPointIdentifier extensionPointIdentifier: UIApplicationExtensionPointIdentifier) -> Bool |
Declaration | |
---|---|
From | optional func application(_ application: UIApplication, supportedInterfaceOrientationsForWindow window: UIWindow?) -> UIInterfaceOrientationMask |
To | optional func application(_ application: UIApplication, supportedInterfaceOrientationsFor window: UIWindow?) -> UIInterfaceOrientationMask |
Declaration | |
---|---|
From | optional func application(_ application: UIApplication, viewControllerWithRestorationIdentifierPath identifierComponents: [AnyObject], coder coder: NSCoder) -> UIViewController? |
To | optional func application(_ application: UIApplication, viewControllerWithRestorationIdentifierPath identifierComponents: [Any], coder coder: NSCoder) -> UIViewController? |
Declaration | |
---|---|
From | optional func application(_ application: UIApplication, willChangeStatusBarOrientation newStatusBarOrientation: UIInterfaceOrientation, duration duration: NSTimeInterval) |
To | optional func application(_ application: UIApplication, willChangeStatusBarOrientation newStatusBarOrientation: UIInterfaceOrientation, duration duration: TimeInterval) |
Modified UIApplicationDelegate.application(_: UIApplication, willEncodeRestorableStateWith: NSCoder)
Declaration | |
---|---|
From | optional func application(_ application: UIApplication, willEncodeRestorableStateWithCoder coder: NSCoder) |
To | optional func application(_ application: UIApplication, willEncodeRestorableStateWith coder: NSCoder) |
Declaration | |
---|---|
From | optional func application(_ application: UIApplication, willFinishLaunchingWithOptions launchOptions: [NSObject : AnyObject]?) -> Bool |
To | optional func application(_ application: UIApplication, willFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey : Any]? = nil) -> Bool |
Name | Declaration | |
---|---|---|
From | UIApplicationKeyboardExtensionPointIdentifier | let UIApplicationKeyboardExtensionPointIdentifier: String |
To | keyboard | static let keyboard: UIApplicationExtensionPointIdentifier |
Name | Declaration | |
---|---|---|
From | UIApplicationLaunchOptionsAnnotationKey | let UIApplicationLaunchOptionsAnnotationKey: String |
To | annotation | static let annotation: UIApplicationLaunchOptionsKey |
Name | Declaration | |
---|---|---|
From | UIApplicationLaunchOptionsBluetoothCentralsKey | let UIApplicationLaunchOptionsBluetoothCentralsKey: String |
To | bluetoothCentrals | static let bluetoothCentrals: UIApplicationLaunchOptionsKey |
Name | Declaration | |
---|---|---|
From | UIApplicationLaunchOptionsBluetoothPeripheralsKey | let UIApplicationLaunchOptionsBluetoothPeripheralsKey: String |
To | bluetoothPeripherals | static let bluetoothPeripherals: UIApplicationLaunchOptionsKey |
Name | Declaration | Deprecation | |
---|---|---|---|
From | UIApplicationLaunchOptionsLocalNotificationKey | let UIApplicationLaunchOptionsLocalNotificationKey: String | -- |
To | localNotification | static let localNotification: UIApplicationLaunchOptionsKey | iOS 10.0 |
Name | Declaration | |
---|---|---|
From | UIApplicationLaunchOptionsLocationKey | let UIApplicationLaunchOptionsLocationKey: String |
To | location | static let location: UIApplicationLaunchOptionsKey |
Name | Declaration | |
---|---|---|
From | UIApplicationLaunchOptionsNewsstandDownloadsKey | let UIApplicationLaunchOptionsNewsstandDownloadsKey: String |
To | newsstandDownloads | static let newsstandDownloads: UIApplicationLaunchOptionsKey |
Name | Declaration | |
---|---|---|
From | UIApplicationLaunchOptionsRemoteNotificationKey | let UIApplicationLaunchOptionsRemoteNotificationKey: String |
To | remoteNotification | static let remoteNotification: UIApplicationLaunchOptionsKey |
Name | Declaration | |
---|---|---|
From | UIApplicationLaunchOptionsShortcutItemKey | let UIApplicationLaunchOptionsShortcutItemKey: String |
To | shortcutItem | static let shortcutItem: UIApplicationLaunchOptionsKey |
Name | Declaration | |
---|---|---|
From | UIApplicationLaunchOptionsSourceApplicationKey | let UIApplicationLaunchOptionsSourceApplicationKey: String |
To | sourceApplication | static let sourceApplication: UIApplicationLaunchOptionsKey |
Modified UIApplicationLaunchOptionsKey.url
Name | Declaration | |
---|---|---|
From | UIApplicationLaunchOptionsURLKey | let UIApplicationLaunchOptionsURLKey: String |
To | url | static let url: UIApplicationLaunchOptionsKey |
Name | Declaration | |
---|---|---|
From | UIApplicationLaunchOptionsUserActivityDictionaryKey | let UIApplicationLaunchOptionsUserActivityDictionaryKey: String |
To | userActivityDictionary | static let userActivityDictionary: UIApplicationLaunchOptionsKey |
Name | Declaration | |
---|---|---|
From | UIApplicationLaunchOptionsUserActivityTypeKey | let UIApplicationLaunchOptionsUserActivityTypeKey: String |
To | userActivityType | static let userActivityType: UIApplicationLaunchOptionsKey |
Name | Declaration | |
---|---|---|
From | UIApplicationOpenURLOptionsAnnotationKey | let UIApplicationOpenURLOptionsAnnotationKey: String |
To | annotation | static let annotation: UIApplicationOpenURLOptionsKey |
Name | Declaration | |
---|---|---|
From | UIApplicationOpenURLOptionsOpenInPlaceKey | let UIApplicationOpenURLOptionsOpenInPlaceKey: String |
To | openInPlace | static let openInPlace: UIApplicationOpenURLOptionsKey |
Name | Declaration | |
---|---|---|
From | UIApplicationOpenURLOptionsSourceApplicationKey | let UIApplicationOpenURLOptionsSourceApplicationKey: String |
To | sourceApplication | static let sourceApplication: UIApplicationOpenURLOptionsKey |
Modified UIApplicationShortcutIcon
Declaration | Protocols | |
---|---|---|
From | class UIApplicationShortcutIcon : NSObject, NSCopying { convenience init(type type: UIApplicationShortcutIconType) class func iconWithType(_ type: UIApplicationShortcutIconType) -> Self convenience init(templateImageName templateImageName: String) class func iconWithTemplateImageName(_ templateImageName: String) -> Self } extension UIApplicationShortcutIcon { convenience init(contact contact: CNContact) class func iconWithContact(_ contact: CNContact) -> Self } | NSCopying |
To | class UIApplicationShortcutIcon : NSObject, NSCopying { convenience init(type type: UIApplicationShortcutIconType) class func withType(_ type: UIApplicationShortcutIconType) -> Self convenience init(templateImageName templateImageName: String) class func withTemplateImageName(_ templateImageName: String) -> Self 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 UIApplicationShortcutIcon { convenience init(contact contact: CNContact) class func withContact(_ contact: CNContact) -> Self } extension UIApplicationShortcutIcon : CVarArg { } extension UIApplicationShortcutIcon : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCopying |
Modified UIApplicationShortcutIconType [enum]
Declaration | |
---|---|
From | enum UIApplicationShortcutIconType : Int { case Compose case Play case Pause case Add case Location case Search case Share case Prohibit case Contact case Home case MarkLocation case Favorite case Love case Cloud case Invitation case Confirmation case Mail case Message case Date case Time case CapturePhoto case CaptureVideo case Task case TaskCompleted case Alarm case Bookmark case Shuffle case Audio case Update } |
To | enum UIApplicationShortcutIconType : Int { case compose case play case pause case add case location case search case share case prohibit case contact case home case markLocation case favorite case love case cloud case invitation case confirmation case mail case message case date case time case capturePhoto case captureVideo case task case taskCompleted case alarm case bookmark case shuffle case audio case update } |
Modified UIApplicationShortcutIconType.add
Declaration | |
---|---|
From | case Add |
To | case add |
Modified UIApplicationShortcutIconType.alarm
Declaration | |
---|---|
From | case Alarm |
To | case alarm |
Modified UIApplicationShortcutIconType.audio
Declaration | |
---|---|
From | case Audio |
To | case audio |
Declaration | |
---|---|
From | case Bookmark |
To | case bookmark |
Declaration | |
---|---|
From | case CapturePhoto |
To | case capturePhoto |
Declaration | |
---|---|
From | case CaptureVideo |
To | case captureVideo |
Modified UIApplicationShortcutIconType.cloud
Declaration | |
---|---|
From | case Cloud |
To | case cloud |
Declaration | |
---|---|
From | case Compose |
To | case compose |
Declaration | |
---|---|
From | case Confirmation |
To | case confirmation |
Declaration | |
---|---|
From | case Contact |
To | case contact |
Modified UIApplicationShortcutIconType.date
Declaration | |
---|---|
From | case Date |
To | case date |
Declaration | |
---|---|
From | case Favorite |
To | case favorite |
Modified UIApplicationShortcutIconType.home
Declaration | |
---|---|
From | case Home |
To | case home |
Declaration | |
---|---|
From | case Invitation |
To | case invitation |
Declaration | |
---|---|
From | case Location |
To | case location |
Modified UIApplicationShortcutIconType.love
Declaration | |
---|---|
From | case Love |
To | case love |
Modified UIApplicationShortcutIconType.mail
Declaration | |
---|---|
From | case Mail |
To | case mail |
Declaration | |
---|---|
From | case MarkLocation |
To | case markLocation |
Declaration | |
---|---|
From | case Message |
To | case message |
Modified UIApplicationShortcutIconType.pause
Declaration | |
---|---|
From | case Pause |
To | case pause |
Modified UIApplicationShortcutIconType.play
Declaration | |
---|---|
From | case Play |
To | case play |
Declaration | |
---|---|
From | case Prohibit |
To | case prohibit |
Modified UIApplicationShortcutIconType.search
Declaration | |
---|---|
From | case Search |
To | case search |
Modified UIApplicationShortcutIconType.share
Declaration | |
---|---|
From | case Share |
To | case share |
Declaration | |
---|---|
From | case Shuffle |
To | case shuffle |
Modified UIApplicationShortcutIconType.task
Declaration | |
---|---|
From | case Task |
To | case task |
Declaration | |
---|---|
From | case TaskCompleted |
To | case taskCompleted |
Modified UIApplicationShortcutIconType.time
Declaration | |
---|---|
From | case Time |
To | case time |
Modified UIApplicationShortcutIconType.update
Declaration | |
---|---|
From | case Update |
To | case update |
Modified UIApplicationShortcutItem
Declaration | Protocols | |
---|---|---|
From | class UIApplicationShortcutItem : NSObject, NSCopying, NSMutableCopying { convenience init() init(type type: String, localizedTitle localizedTitle: String, localizedSubtitle localizedSubtitle: String?, icon icon: UIApplicationShortcutIcon?, userInfo userInfo: [NSObject : AnyObject]?) convenience init(type type: String, localizedTitle localizedTitle: String) var type: String { get } var localizedTitle: String { get } var localizedSubtitle: String? { get } @NSCopying var icon: UIApplicationShortcutIcon? { get } var userInfo: [String : NSSecureCoding]? { get } } | NSCopying, NSMutableCopying |
To | class UIApplicationShortcutItem : NSObject, NSCopying, NSMutableCopying { convenience init() init(type type: String, localizedTitle localizedTitle: String, localizedSubtitle localizedSubtitle: String?, icon icon: UIApplicationShortcutIcon?, userInfo userInfo: [AnyHashable : Any]? = nil) convenience init(type type: String, localizedTitle localizedTitle: String) var type: String { get } var localizedTitle: String { get } var localizedSubtitle: String? { get } @NSCopying var icon: UIApplicationShortcutIcon? { get } var userInfo: [String : NSSecureCoding]? { 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 UIApplicationShortcutItem : CVarArg { } extension UIApplicationShortcutItem : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCopying, NSMutableCopying |
Declaration | |
---|---|
From | init(type type: String, localizedTitle localizedTitle: String, localizedSubtitle localizedSubtitle: String?, icon icon: UIApplicationShortcutIcon?, userInfo userInfo: [NSObject : AnyObject]?) |
To | init(type type: String, localizedTitle localizedTitle: String, localizedSubtitle localizedSubtitle: String?, icon icon: UIApplicationShortcutIcon?, userInfo userInfo: [AnyHashable : Any]? = nil) |
Modified UIApplicationState [enum]
Declaration | |
---|---|
From | enum UIApplicationState : Int { case Active case Inactive case Background } |
To | enum UIApplicationState : Int { case active case inactive case background } |
Modified UIApplicationState.active
Declaration | |
---|---|
From | case Active |
To | case active |
Modified UIApplicationState.background
Declaration | |
---|---|
From | case Background |
To | case background |
Modified UIApplicationState.inactive
Declaration | |
---|---|
From | case Inactive |
To | case inactive |
Modified UIAttachmentBehavior
Declaration | |
---|---|
From | class UIAttachmentBehavior : UIDynamicBehavior { convenience init(item item: UIDynamicItem, attachedToAnchor point: CGPoint) init(item item: UIDynamicItem, offsetFromCenter offset: UIOffset, attachedToAnchor point: CGPoint) convenience init(item item1: UIDynamicItem, attachedToItem item2: UIDynamicItem) init(item item1: UIDynamicItem, offsetFromCenter offset1: UIOffset, attachedToItem item2: UIDynamicItem, offsetFromCenter offset2: UIOffset) class func slidingAttachmentWithItem(_ item1: UIDynamicItem, attachedToItem item2: UIDynamicItem, attachmentAnchor point: CGPoint, axisOfTranslation axis: CGVector) -> Self class func slidingAttachmentWithItem(_ item: UIDynamicItem, attachmentAnchor point: CGPoint, axisOfTranslation axis: CGVector) -> Self class func limitAttachmentWithItem(_ item1: UIDynamicItem, offsetFromCenter offset1: UIOffset, attachedToItem item2: UIDynamicItem, offsetFromCenter offset2: UIOffset) -> Self class func fixedAttachmentWithItem(_ item1: UIDynamicItem, attachedToItem item2: UIDynamicItem, attachmentAnchor point: CGPoint) -> Self class func pinAttachmentWithItem(_ item1: UIDynamicItem, attachedToItem item2: UIDynamicItem, attachmentAnchor point: CGPoint) -> Self var items: [UIDynamicItem] { get } var attachedBehaviorType: UIAttachmentBehaviorType { get } var anchorPoint: CGPoint var length: CGFloat var damping: CGFloat var frequency: CGFloat var frictionTorque: CGFloat var attachmentRange: UIFloatRange } |
To | class UIAttachmentBehavior : UIDynamicBehavior { convenience init(item item: UIDynamicItem, attachedToAnchor point: CGPoint) init(item item: UIDynamicItem, offsetFromCenter offset: UIOffset, attachedToAnchor point: CGPoint) convenience init(item item1: UIDynamicItem, attachedTo item2: UIDynamicItem) init(item item1: UIDynamicItem, offsetFromCenter offset1: UIOffset, attachedTo item2: UIDynamicItem, offsetFromCenter offset2: UIOffset) class func slidingAttachment(with item1: UIDynamicItem, attachedTo item2: UIDynamicItem, attachmentAnchor point: CGPoint, axisOfTranslation axis: CGVector) -> Self class func slidingAttachment(with item: UIDynamicItem, attachmentAnchor point: CGPoint, axisOfTranslation axis: CGVector) -> Self class func limitAttachment(with item1: UIDynamicItem, offsetFromCenter offset1: UIOffset, attachedTo item2: UIDynamicItem, offsetFromCenter offset2: UIOffset) -> Self class func fixedAttachment(with item1: UIDynamicItem, attachedTo item2: UIDynamicItem, attachmentAnchor point: CGPoint) -> Self class func pinAttachment(with item1: UIDynamicItem, attachedTo item2: UIDynamicItem, attachmentAnchor point: CGPoint) -> Self var items: [UIDynamicItem] { get } var attachedBehaviorType: UIAttachmentBehaviorType { get } var anchorPoint: CGPoint var length: CGFloat var damping: CGFloat var frequency: CGFloat var frictionTorque: CGFloat var attachmentRange: UIFloatRange } |
Declaration | |
---|---|
From | class func fixedAttachmentWithItem(_ item1: UIDynamicItem, attachedToItem item2: UIDynamicItem, attachmentAnchor point: CGPoint) -> Self |
To | class func fixedAttachment(with item1: UIDynamicItem, attachedTo item2: UIDynamicItem, attachmentAnchor point: CGPoint) -> Self |
Declaration | |
---|---|
From | convenience init(item item1: UIDynamicItem, attachedToItem item2: UIDynamicItem) |
To | convenience init(item item1: UIDynamicItem, attachedTo item2: UIDynamicItem) |
Declaration | |
---|---|
From | init(item item1: UIDynamicItem, offsetFromCenter offset1: UIOffset, attachedToItem item2: UIDynamicItem, offsetFromCenter offset2: UIOffset) |
To | init(item item1: UIDynamicItem, offsetFromCenter offset1: UIOffset, attachedTo item2: UIDynamicItem, offsetFromCenter offset2: UIOffset) |
Declaration | |
---|---|
From | class func limitAttachmentWithItem(_ item1: UIDynamicItem, offsetFromCenter offset1: UIOffset, attachedToItem item2: UIDynamicItem, offsetFromCenter offset2: UIOffset) -> Self |
To | class func limitAttachment(with item1: UIDynamicItem, offsetFromCenter offset1: UIOffset, attachedTo item2: UIDynamicItem, offsetFromCenter offset2: UIOffset) -> Self |
Declaration | |
---|---|
From | class func pinAttachmentWithItem(_ item1: UIDynamicItem, attachedToItem item2: UIDynamicItem, attachmentAnchor point: CGPoint) -> Self |
To | class func pinAttachment(with item1: UIDynamicItem, attachedTo item2: UIDynamicItem, attachmentAnchor point: CGPoint) -> Self |
Declaration | |
---|---|
From | class func slidingAttachmentWithItem(_ item1: UIDynamicItem, attachedToItem item2: UIDynamicItem, attachmentAnchor point: CGPoint, axisOfTranslation axis: CGVector) -> Self |
To | class func slidingAttachment(with item1: UIDynamicItem, attachedTo item2: UIDynamicItem, attachmentAnchor point: CGPoint, axisOfTranslation axis: CGVector) -> Self |
Declaration | |
---|---|
From | class func slidingAttachmentWithItem(_ item: UIDynamicItem, attachmentAnchor point: CGPoint, axisOfTranslation axis: CGVector) -> Self |
To | class func slidingAttachment(with item: UIDynamicItem, attachmentAnchor point: CGPoint, axisOfTranslation axis: CGVector) -> Self |
Modified UIAttachmentBehaviorType [enum]
Declaration | |
---|---|
From | enum UIAttachmentBehaviorType : Int { case Items case Anchor } |
To | enum UIAttachmentBehaviorType : Int { case items case anchor } |
Modified UIAttachmentBehaviorType.anchor
Declaration | |
---|---|
From | case Anchor |
To | case anchor |
Modified UIAttachmentBehaviorType.items
Declaration | |
---|---|
From | case Items |
To | case items |
Modified UIBackgroundFetchResult [enum]
Declaration | |
---|---|
From | enum UIBackgroundFetchResult : UInt { case NewData case NoData case Failed } |
To | enum UIBackgroundFetchResult : UInt { case newData case noData case failed } |
Modified UIBackgroundFetchResult.failed
Declaration | |
---|---|
From | case Failed |
To | case failed |
Modified UIBackgroundFetchResult.newData
Declaration | |
---|---|
From | case NewData |
To | case newData |
Modified UIBackgroundFetchResult.noData
Declaration | |
---|---|
From | case NoData |
To | case noData |
Modified UIBackgroundRefreshStatus [enum]
Declaration | |
---|---|
From | enum UIBackgroundRefreshStatus : Int { case Restricted case Denied case Available } |
To | enum UIBackgroundRefreshStatus : Int { case restricted case denied case available } |
Modified UIBackgroundRefreshStatus.available
Declaration | |
---|---|
From | case Available |
To | case available |
Modified UIBackgroundRefreshStatus.denied
Declaration | |
---|---|
From | case Denied |
To | case denied |
Modified UIBackgroundRefreshStatus.restricted
Declaration | |
---|---|
From | case Restricted |
To | case restricted |
Modified UIBarButtonItem
Declaration | Protocols | |
---|---|---|
From | class UIBarButtonItem : UIBarItem, NSCoding { init() init?(coder aDecoder: NSCoder) convenience init(image image: UIImage?, style style: UIBarButtonItemStyle, target target: AnyObject?, action action: Selector) convenience init(image image: UIImage?, landscapeImagePhone landscapeImagePhone: UIImage?, style style: UIBarButtonItemStyle, target target: AnyObject?, action action: Selector) convenience init(title title: String?, style style: UIBarButtonItemStyle, target target: AnyObject?, action action: Selector) convenience init(barButtonSystemItem systemItem: UIBarButtonSystemItem, target target: AnyObject?, action action: Selector) convenience init(customView customView: UIView) var style: UIBarButtonItemStyle var width: CGFloat var possibleTitles: Set<String>? var customView: UIView? var action: Selector weak var target: AnyObject? func setBackgroundImage(_ backgroundImage: UIImage?, forState state: UIControlState, barMetrics barMetrics: UIBarMetrics) func backgroundImageForState(_ state: UIControlState, barMetrics barMetrics: UIBarMetrics) -> UIImage? func setBackgroundImage(_ backgroundImage: UIImage?, forState state: UIControlState, style style: UIBarButtonItemStyle, barMetrics barMetrics: UIBarMetrics) func backgroundImageForState(_ state: UIControlState, style style: UIBarButtonItemStyle, barMetrics barMetrics: UIBarMetrics) -> UIImage? var tintColor: UIColor? func setBackgroundVerticalPositionAdjustment(_ adjustment: CGFloat, forBarMetrics barMetrics: UIBarMetrics) func backgroundVerticalPositionAdjustmentForBarMetrics(_ barMetrics: UIBarMetrics) -> CGFloat func setTitlePositionAdjustment(_ adjustment: UIOffset, forBarMetrics barMetrics: UIBarMetrics) func titlePositionAdjustmentForBarMetrics(_ barMetrics: UIBarMetrics) -> UIOffset func setBackButtonBackgroundImage(_ backgroundImage: UIImage?, forState state: UIControlState, barMetrics barMetrics: UIBarMetrics) func backButtonBackgroundImageForState(_ state: UIControlState, barMetrics barMetrics: UIBarMetrics) -> UIImage? func setBackButtonTitlePositionAdjustment(_ adjustment: UIOffset, forBarMetrics barMetrics: UIBarMetrics) func backButtonTitlePositionAdjustmentForBarMetrics(_ barMetrics: UIBarMetrics) -> UIOffset func setBackButtonBackgroundVerticalPositionAdjustment(_ adjustment: CGFloat, forBarMetrics barMetrics: UIBarMetrics) func backButtonBackgroundVerticalPositionAdjustmentForBarMetrics(_ barMetrics: UIBarMetrics) -> CGFloat } extension UIBarButtonItem { weak var buttonGroup: UIBarButtonItemGroup? { get } } | NSCoding |
To | class UIBarButtonItem : UIBarItem, NSCoding { init() init?(coder aDecoder: NSCoder) convenience init(image image: UIImage?, style style: UIBarButtonItemStyle, target target: Any?, action action: Selector?) convenience init(image image: UIImage?, landscapeImagePhone landscapeImagePhone: UIImage?, style style: UIBarButtonItemStyle, target target: Any?, action action: Selector?) convenience init(title title: String?, style style: UIBarButtonItemStyle, target target: Any?, action action: Selector?) convenience init(barButtonSystemItem systemItem: UIBarButtonSystemItem, target target: Any?, action action: Selector?) convenience init(customView customView: UIView) var style: UIBarButtonItemStyle var width: CGFloat var possibleTitles: Set<String>? var customView: UIView? var action: Selector? weak var target: AnyObject? func setBackgroundImage(_ backgroundImage: UIImage?, for state: UIControlState, barMetrics barMetrics: UIBarMetrics) func backgroundImage(for state: UIControlState, barMetrics barMetrics: UIBarMetrics) -> UIImage? func setBackgroundImage(_ backgroundImage: UIImage?, for state: UIControlState, style style: UIBarButtonItemStyle, barMetrics barMetrics: UIBarMetrics) func backgroundImage(for state: UIControlState, style style: UIBarButtonItemStyle, barMetrics barMetrics: UIBarMetrics) -> UIImage? var tintColor: UIColor? func setBackgroundVerticalPositionAdjustment(_ adjustment: CGFloat, for barMetrics: UIBarMetrics) func backgroundVerticalPositionAdjustment(for barMetrics: UIBarMetrics) -> CGFloat func setTitlePositionAdjustment(_ adjustment: UIOffset, for barMetrics: UIBarMetrics) func titlePositionAdjustment(for barMetrics: UIBarMetrics) -> UIOffset func setBackButtonBackgroundImage(_ backgroundImage: UIImage?, for state: UIControlState, barMetrics barMetrics: UIBarMetrics) func backButtonBackgroundImage(for state: UIControlState, barMetrics barMetrics: UIBarMetrics) -> UIImage? func setBackButtonTitlePositionAdjustment(_ adjustment: UIOffset, for barMetrics: UIBarMetrics) func backButtonTitlePositionAdjustment(for barMetrics: UIBarMetrics) -> UIOffset func setBackButtonBackgroundVerticalPositionAdjustment(_ adjustment: CGFloat, for barMetrics: UIBarMetrics) func backButtonBackgroundVerticalPositionAdjustment(for barMetrics: UIBarMetrics) -> CGFloat weak var buttonGroup: UIBarButtonItemGroup? { 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 UIBarButtonItem : UIAccessibilityIdentification { } extension UIBarButtonItem : CVarArg { } extension UIBarButtonItem : Equatable, Hashable { var hashValue: Int { get } } extension UIBarButtonItem { weak var buttonGroup: UIBarButtonItemGroup? { get } } | CVarArg, Equatable, Hashable, NSCoding, UIAccessibilityIdentification |
Modified UIBarButtonItem.action
Declaration | |
---|---|
From | var action: Selector |
To | var action: Selector? |
Modified UIBarButtonItem.backButtonBackgroundImage(for: UIControlState, barMetrics: UIBarMetrics) -> UIImage?
Declaration | |
---|---|
From | func backButtonBackgroundImageForState(_ state: UIControlState, barMetrics barMetrics: UIBarMetrics) -> UIImage? |
To | func backButtonBackgroundImage(for state: UIControlState, barMetrics barMetrics: UIBarMetrics) -> UIImage? |
Modified UIBarButtonItem.backButtonBackgroundVerticalPositionAdjustment(for: UIBarMetrics) -> CGFloat
Declaration | |
---|---|
From | func backButtonBackgroundVerticalPositionAdjustmentForBarMetrics(_ barMetrics: UIBarMetrics) -> CGFloat |
To | func backButtonBackgroundVerticalPositionAdjustment(for barMetrics: UIBarMetrics) -> CGFloat |
Declaration | |
---|---|
From | func backButtonTitlePositionAdjustmentForBarMetrics(_ barMetrics: UIBarMetrics) -> UIOffset |
To | func backButtonTitlePositionAdjustment(for barMetrics: UIBarMetrics) -> UIOffset |
Declaration | |
---|---|
From | func backgroundImageForState(_ state: UIControlState, barMetrics barMetrics: UIBarMetrics) -> UIImage? |
To | func backgroundImage(for state: UIControlState, barMetrics barMetrics: UIBarMetrics) -> UIImage? |
Declaration | |
---|---|
From | func backgroundImageForState(_ state: UIControlState, style style: UIBarButtonItemStyle, barMetrics barMetrics: UIBarMetrics) -> UIImage? |
To | func backgroundImage(for state: UIControlState, style style: UIBarButtonItemStyle, barMetrics barMetrics: UIBarMetrics) -> UIImage? |
Declaration | |
---|---|
From | func backgroundVerticalPositionAdjustmentForBarMetrics(_ barMetrics: UIBarMetrics) -> CGFloat |
To | func backgroundVerticalPositionAdjustment(for barMetrics: UIBarMetrics) -> CGFloat |
Modified UIBarButtonItem.init(barButtonSystemItem: UIBarButtonSystemItem, target: Any?, action: Selector?)
Declaration | |
---|---|
From | convenience init(barButtonSystemItem systemItem: UIBarButtonSystemItem, target target: AnyObject?, action action: Selector) |
To | convenience init(barButtonSystemItem systemItem: UIBarButtonSystemItem, target target: Any?, action action: Selector?) |
Declaration | |
---|---|
From | convenience init(image image: UIImage?, landscapeImagePhone landscapeImagePhone: UIImage?, style style: UIBarButtonItemStyle, target target: AnyObject?, action action: Selector) |
To | convenience init(image image: UIImage?, landscapeImagePhone landscapeImagePhone: UIImage?, style style: UIBarButtonItemStyle, target target: Any?, action action: Selector?) |
Modified UIBarButtonItem.init(image: UIImage?, style: UIBarButtonItemStyle, target: Any?, action: Selector?)
Declaration | |
---|---|
From | convenience init(image image: UIImage?, style style: UIBarButtonItemStyle, target target: AnyObject?, action action: Selector) |
To | convenience init(image image: UIImage?, style style: UIBarButtonItemStyle, target target: Any?, action action: Selector?) |
Modified UIBarButtonItem.init(title: String?, style: UIBarButtonItemStyle, target: Any?, action: Selector?)
Declaration | |
---|---|
From | convenience init(title title: String?, style style: UIBarButtonItemStyle, target target: AnyObject?, action action: Selector) |
To | convenience init(title title: String?, style style: UIBarButtonItemStyle, target target: Any?, action action: Selector?) |
Declaration | |
---|---|
From | func setBackButtonBackgroundImage(_ backgroundImage: UIImage?, forState state: UIControlState, barMetrics barMetrics: UIBarMetrics) |
To | func setBackButtonBackgroundImage(_ backgroundImage: UIImage?, for state: UIControlState, barMetrics barMetrics: UIBarMetrics) |
Modified UIBarButtonItem.setBackButtonBackgroundVerticalPositionAdjustment(_: CGFloat, for: UIBarMetrics)
Declaration | |
---|---|
From | func setBackButtonBackgroundVerticalPositionAdjustment(_ adjustment: CGFloat, forBarMetrics barMetrics: UIBarMetrics) |
To | func setBackButtonBackgroundVerticalPositionAdjustment(_ adjustment: CGFloat, for barMetrics: UIBarMetrics) |
Declaration | |
---|---|
From | func setBackButtonTitlePositionAdjustment(_ adjustment: UIOffset, forBarMetrics barMetrics: UIBarMetrics) |
To | func setBackButtonTitlePositionAdjustment(_ adjustment: UIOffset, for barMetrics: UIBarMetrics) |
Modified UIBarButtonItem.setBackgroundImage(_: UIImage?, for: UIControlState, barMetrics: UIBarMetrics)
Declaration | |
---|---|
From | func setBackgroundImage(_ backgroundImage: UIImage?, forState state: UIControlState, barMetrics barMetrics: UIBarMetrics) |
To | func setBackgroundImage(_ backgroundImage: UIImage?, for state: UIControlState, barMetrics barMetrics: UIBarMetrics) |
Declaration | |
---|---|
From | func setBackgroundImage(_ backgroundImage: UIImage?, forState state: UIControlState, style style: UIBarButtonItemStyle, barMetrics barMetrics: UIBarMetrics) |
To | func setBackgroundImage(_ backgroundImage: UIImage?, for state: UIControlState, style style: UIBarButtonItemStyle, barMetrics barMetrics: UIBarMetrics) |
Declaration | |
---|---|
From | func setBackgroundVerticalPositionAdjustment(_ adjustment: CGFloat, forBarMetrics barMetrics: UIBarMetrics) |
To | func setBackgroundVerticalPositionAdjustment(_ adjustment: CGFloat, for barMetrics: UIBarMetrics) |
Declaration | |
---|---|
From | func setTitlePositionAdjustment(_ adjustment: UIOffset, forBarMetrics barMetrics: UIBarMetrics) |
To | func setTitlePositionAdjustment(_ adjustment: UIOffset, for barMetrics: UIBarMetrics) |
Declaration | |
---|---|
From | func titlePositionAdjustmentForBarMetrics(_ barMetrics: UIBarMetrics) -> UIOffset |
To | func titlePositionAdjustment(for barMetrics: UIBarMetrics) -> UIOffset |
Modified UIBarButtonItemGroup
Declaration | Protocols | |
---|---|---|
From | class UIBarButtonItemGroup : NSObject, NSCoding { init(barButtonItems barButtonItems: [UIBarButtonItem], representativeItem representativeItem: UIBarButtonItem?) init?(coder aDecoder: NSCoder) var barButtonItems: [UIBarButtonItem] var representativeItem: UIBarButtonItem? var displayingRepresentativeItem: Bool { get } } | NSCoding |
To | class UIBarButtonItemGroup : NSObject, NSCoding { init(barButtonItems barButtonItems: [UIBarButtonItem], representativeItem representativeItem: UIBarButtonItem?) init?(coder aDecoder: NSCoder) var barButtonItems: [UIBarButtonItem] var representativeItem: UIBarButtonItem? var isDisplayingRepresentativeItem: 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 UIBarButtonItemGroup : CVarArg { } extension UIBarButtonItemGroup : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCoding |
Declaration | |
---|---|
From | var displayingRepresentativeItem: Bool { get } |
To | var isDisplayingRepresentativeItem: Bool { get } |
Modified UIBarButtonItemStyle [enum]
Declaration | |
---|---|
From | enum UIBarButtonItemStyle : Int { case Plain case Bordered case Done } |
To | enum UIBarButtonItemStyle : Int { case plain case bordered case done } |
Modified UIBarButtonItemStyle.bordered
Declaration | |
---|---|
From | case Bordered |
To | case bordered |
Modified UIBarButtonItemStyle.done
Declaration | |
---|---|
From | case Done |
To | case done |
Modified UIBarButtonItemStyle.plain
Declaration | |
---|---|
From | case Plain |
To | case plain |
Modified UIBarButtonSystemItem [enum]
Declaration | |
---|---|
From | enum UIBarButtonSystemItem : Int { case Done case Cancel case Edit case Save case Add case FlexibleSpace case FixedSpace case Compose case Reply case Action case Organize case Bookmarks case Search case Refresh case Stop case Camera case Trash case Play case Pause case Rewind case FastForward case Undo case Redo case PageCurl } |
To | enum UIBarButtonSystemItem : Int { case done case cancel case edit case save case add case flexibleSpace case fixedSpace case compose case reply case action case organize case bookmarks case search case refresh case stop case camera case trash case play case pause case rewind case fastForward case undo case redo case pageCurl } |
Modified UIBarButtonSystemItem.action
Declaration | |
---|---|
From | case Action |
To | case action |
Modified UIBarButtonSystemItem.add
Declaration | |
---|---|
From | case Add |
To | case add |
Modified UIBarButtonSystemItem.bookmarks
Declaration | |
---|---|
From | case Bookmarks |
To | case bookmarks |
Modified UIBarButtonSystemItem.camera
Declaration | |
---|---|
From | case Camera |
To | case camera |
Modified UIBarButtonSystemItem.cancel
Declaration | |
---|---|
From | case Cancel |
To | case cancel |
Modified UIBarButtonSystemItem.compose
Declaration | |
---|---|
From | case Compose |
To | case compose |
Modified UIBarButtonSystemItem.done
Declaration | |
---|---|
From | case Done |
To | case done |
Modified UIBarButtonSystemItem.edit
Declaration | |
---|---|
From | case Edit |
To | case edit |
Modified UIBarButtonSystemItem.fastForward
Declaration | |
---|---|
From | case FastForward |
To | case fastForward |
Modified UIBarButtonSystemItem.fixedSpace
Declaration | |
---|---|
From | case FixedSpace |
To | case fixedSpace |
Modified UIBarButtonSystemItem.flexibleSpace
Declaration | |
---|---|
From | case FlexibleSpace |
To | case flexibleSpace |
Modified UIBarButtonSystemItem.organize
Declaration | |
---|---|
From | case Organize |
To | case organize |
Modified UIBarButtonSystemItem.pageCurl
Declaration | |
---|---|
From | case PageCurl |
To | case pageCurl |
Modified UIBarButtonSystemItem.pause
Declaration | |
---|---|
From | case Pause |
To | case pause |
Modified UIBarButtonSystemItem.play
Declaration | |
---|---|
From | case Play |
To | case play |
Modified UIBarButtonSystemItem.redo
Declaration | |
---|---|
From | case Redo |
To | case redo |
Modified UIBarButtonSystemItem.refresh
Declaration | |
---|---|
From | case Refresh |
To | case refresh |
Modified UIBarButtonSystemItem.reply
Declaration | |
---|---|
From | case Reply |
To | case reply |
Modified UIBarButtonSystemItem.rewind
Declaration | |
---|---|
From | case Rewind |
To | case rewind |
Modified UIBarButtonSystemItem.save
Declaration | |
---|---|
From | case Save |
To | case save |
Modified UIBarButtonSystemItem.search
Declaration | |
---|---|
From | case Search |
To | case search |
Modified UIBarButtonSystemItem.stop
Declaration | |
---|---|
From | case Stop |
To | case stop |
Modified UIBarButtonSystemItem.trash
Declaration | |
---|---|
From | case Trash |
To | case trash |
Modified UIBarButtonSystemItem.undo
Declaration | |
---|---|
From | case Undo |
To | case undo |
Modified UIBarItem
Declaration | Protocols | |
---|---|---|
From | class UIBarItem : NSObject, NSCoding, UIAppearance { init() init?(coder aDecoder: NSCoder) var enabled: Bool var title: String? var image: UIImage? var landscapeImagePhone: UIImage? var imageInsets: UIEdgeInsets var landscapeImagePhoneInsets: UIEdgeInsets var tag: Int func setTitleTextAttributes(_ attributes: [String : AnyObject]?, forState state: UIControlState) func titleTextAttributesForState(_ state: UIControlState) -> [String : AnyObject]? } extension UIBarItem : UIAccessibilityIdentification { } | NSCoding, UIAccessibilityIdentification, UIAppearance |
To | class UIBarItem : NSObject, NSCoding, UIAppearance { init() init?(coder aDecoder: NSCoder) var isEnabled: Bool var title: String? var image: UIImage? var landscapeImagePhone: UIImage? var imageInsets: UIEdgeInsets var landscapeImagePhoneInsets: UIEdgeInsets var tag: Int func setTitleTextAttributes(_ attributes: [String : Any]?, for state: UIControlState) func titleTextAttributes(for state: UIControlState) -> [String : Any]? 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 UIBarItem : UIAccessibilityIdentification { } extension UIBarItem : CVarArg { } extension UIBarItem : UIAccessibilityIdentification { } extension UIBarItem : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCoding, UIAccessibilityIdentification, UIAppearance |
Modified UIBarItem.isEnabled
Declaration | |
---|---|
From | var enabled: Bool |
To | var isEnabled: Bool |
Declaration | |
---|---|
From | func setTitleTextAttributes(_ attributes: [String : AnyObject]?, forState state: UIControlState) |
To | func setTitleTextAttributes(_ attributes: [String : Any]?, for state: UIControlState) |
Declaration | |
---|---|
From | func titleTextAttributesForState(_ state: UIControlState) -> [String : AnyObject]? |
To | func titleTextAttributes(for state: UIControlState) -> [String : Any]? |
Modified UIBarMetrics [enum]
Declaration | |
---|---|
From | enum UIBarMetrics : Int { case Default case Compact case DefaultPrompt case CompactPrompt static var LandscapePhone: UIBarMetrics { get } static var LandscapePhonePrompt: UIBarMetrics { get } } |
To | enum UIBarMetrics : Int { case `default` case compact case defaultPrompt case compactPrompt static var landscapePhone: UIBarMetrics { get } static var landscapePhonePrompt: UIBarMetrics { get } } |
Modified UIBarMetrics.compact
Declaration | |
---|---|
From | case Compact |
To | case compact |
Modified UIBarMetrics.compactPrompt
Declaration | |
---|---|
From | case CompactPrompt |
To | case compactPrompt |
Modified UIBarMetrics.default
Declaration | |
---|---|
From | case Default |
To | case `default` |
Modified UIBarMetrics.defaultPrompt
Declaration | |
---|---|
From | case DefaultPrompt |
To | case defaultPrompt |
Modified UIBarMetrics.landscapePhone
Declaration | |
---|---|
From | static var LandscapePhone: UIBarMetrics { get } |
To | static var landscapePhone: UIBarMetrics { get } |
Modified UIBarMetrics.landscapePhonePrompt
Declaration | |
---|---|
From | static var LandscapePhonePrompt: UIBarMetrics { get } |
To | static var landscapePhonePrompt: UIBarMetrics { get } |
Modified UIBarPosition [enum]
Declaration | |
---|---|
From | enum UIBarPosition : Int { case Any case Bottom case Top case TopAttached } |
To | enum UIBarPosition : Int { case any case bottom case top case topAttached } |
Modified UIBarPosition.any
Declaration | |
---|---|
From | case Any |
To | case any |
Modified UIBarPosition.bottom
Declaration | |
---|---|
From | case Bottom |
To | case bottom |
Modified UIBarPosition.top
Declaration | |
---|---|
From | case Top |
To | case top |
Modified UIBarPosition.topAttached
Declaration | |
---|---|
From | case TopAttached |
To | case topAttached |
Modified UIBarPositioningDelegate
Declaration | |
---|---|
From | protocol UIBarPositioningDelegate : NSObjectProtocol { optional func positionForBar(_ bar: UIBarPositioning) -> UIBarPosition } |
To | protocol UIBarPositioningDelegate : NSObjectProtocol { optional func position(for bar: UIBarPositioning) -> UIBarPosition } |
Declaration | |
---|---|
From | optional func positionForBar(_ bar: UIBarPositioning) -> UIBarPosition |
To | optional func position(for bar: UIBarPositioning) -> UIBarPosition |
Modified UIBarStyle [enum]
Declaration | |
---|---|
From | enum UIBarStyle : Int { case Default case Black static var BlackOpaque: UIBarStyle { get } case BlackTranslucent } |
To | enum UIBarStyle : Int { case `default` case black static var blackOpaque: UIBarStyle { get } case blackTranslucent } |
Modified UIBarStyle.black
Declaration | |
---|---|
From | case Black |
To | case black |
Modified UIBarStyle.blackOpaque
Declaration | |
---|---|
From | static var BlackOpaque: UIBarStyle { get } |
To | static var blackOpaque: UIBarStyle { get } |
Modified UIBarStyle.blackTranslucent
Declaration | |
---|---|
From | case BlackTranslucent |
To | case blackTranslucent |
Modified UIBarStyle.default
Declaration | |
---|---|
From | case Default |
To | case `default` |
Modified UIBaselineAdjustment [enum]
Declaration | |
---|---|
From | enum UIBaselineAdjustment : Int { case AlignBaselines case AlignCenters case None } |
To | enum UIBaselineAdjustment : Int { case alignBaselines case alignCenters case none } |
Modified UIBaselineAdjustment.alignBaselines
Declaration | |
---|---|
From | case AlignBaselines |
To | case alignBaselines |
Modified UIBaselineAdjustment.alignCenters
Declaration | |
---|---|
From | case AlignCenters |
To | case alignCenters |
Modified UIBaselineAdjustment.none
Declaration | |
---|---|
From | case None |
To | case none |
Modified UIBezierPath
Declaration | Protocols | |
---|---|---|
From | class UIBezierPath : NSObject, NSCopying, NSCoding { convenience init() class func bezierPath() -> Self convenience init(rect rect: CGRect) class func bezierPathWithRect(_ rect: CGRect) -> Self convenience init(ovalInRect rect: CGRect) class func bezierPathWithOvalInRect(_ rect: CGRect) -> Self convenience init(roundedRect rect: CGRect, cornerRadius cornerRadius: CGFloat) class func bezierPathWithRoundedRect(_ rect: CGRect, cornerRadius cornerRadius: CGFloat) -> Self convenience init(roundedRect rect: CGRect, byRoundingCorners corners: UIRectCorner, cornerRadii cornerRadii: CGSize) class func bezierPathWithRoundedRect(_ rect: CGRect, byRoundingCorners corners: UIRectCorner, cornerRadii cornerRadii: CGSize) -> Self convenience init(arcCenter center: CGPoint, radius radius: CGFloat, startAngle startAngle: CGFloat, endAngle endAngle: CGFloat, clockwise clockwise: Bool) class func bezierPathWithArcCenter(_ center: CGPoint, radius radius: CGFloat, startAngle startAngle: CGFloat, endAngle endAngle: CGFloat, clockwise clockwise: Bool) -> Self convenience init(CGPath CGPath: CGPath) class func bezierPathWithCGPath(_ CGPath: CGPath) -> Self init() init?(coder aDecoder: NSCoder) var CGPath: CGPath func moveToPoint(_ point: CGPoint) func addLineToPoint(_ point: CGPoint) func addCurveToPoint(_ endPoint: CGPoint, controlPoint1 controlPoint1: CGPoint, controlPoint2 controlPoint2: CGPoint) func addQuadCurveToPoint(_ endPoint: CGPoint, controlPoint controlPoint: CGPoint) func addArcWithCenter(_ center: CGPoint, radius radius: CGFloat, startAngle startAngle: CGFloat, endAngle endAngle: CGFloat, clockwise clockwise: Bool) func closePath() func removeAllPoints() func appendPath(_ bezierPath: UIBezierPath) func bezierPathByReversingPath() -> UIBezierPath func applyTransform(_ transform: CGAffineTransform) var empty: Bool { get } var bounds: CGRect { get } var currentPoint: CGPoint { get } func containsPoint(_ point: CGPoint) -> Bool var lineWidth: CGFloat var lineCapStyle: CGLineCap var lineJoinStyle: CGLineJoin var miterLimit: CGFloat var flatness: CGFloat var usesEvenOddFillRule: Bool func setLineDash(_ pattern: UnsafePointer<CGFloat>, count count: Int, phase phase: CGFloat) func getLineDash(_ pattern: UnsafeMutablePointer<CGFloat>, count count: UnsafeMutablePointer<Int>, phase phase: UnsafeMutablePointer<CGFloat>) func fill() func stroke() func fillWithBlendMode(_ blendMode: CGBlendMode, alpha alpha: CGFloat) func strokeWithBlendMode(_ blendMode: CGBlendMode, alpha alpha: CGFloat) func addClip() } | NSCoding, NSCopying |
To | class UIBezierPath : NSObject, NSCopying, NSCoding { convenience init() class func bezierPath() -> Self convenience init(rect rect: CGRect) class func withRect(_ rect: CGRect) -> Self convenience init(ovalIn rect: CGRect) class func withOvalIn(_ rect: CGRect) -> Self convenience init(roundedRect rect: CGRect, cornerRadius cornerRadius: CGFloat) class func withRoundedRect(_ rect: CGRect, cornerRadius cornerRadius: CGFloat) -> Self convenience init(roundedRect rect: CGRect, byRoundingCorners corners: UIRectCorner, cornerRadii cornerRadii: CGSize) class func withRoundedRect(_ rect: CGRect, byRoundingCorners corners: UIRectCorner, cornerRadii cornerRadii: CGSize) -> Self convenience init(arcCenter center: CGPoint, radius radius: CGFloat, startAngle startAngle: CGFloat, endAngle endAngle: CGFloat, clockwise clockwise: Bool) class func withArcCenter(_ center: CGPoint, radius radius: CGFloat, startAngle startAngle: CGFloat, endAngle endAngle: CGFloat, clockwise clockwise: Bool) -> Self convenience init(cgPath CGPath: CGPath) class func withCGPath(_ CGPath: CGPath) -> Self init() init?(coder aDecoder: NSCoder) var cgPath: CGPath func move(to point: CGPoint) func addLine(to point: CGPoint) func addCurve(to endPoint: CGPoint, controlPoint1 controlPoint1: CGPoint, controlPoint2 controlPoint2: CGPoint) func addQuadCurve(to endPoint: CGPoint, controlPoint controlPoint: CGPoint) func addArc(withCenter center: CGPoint, radius radius: CGFloat, startAngle startAngle: CGFloat, endAngle endAngle: CGFloat, clockwise clockwise: Bool) func close() func removeAllPoints() func append(_ bezierPath: UIBezierPath) func reversing() -> UIBezierPath func apply(_ transform: CGAffineTransform) var isEmpty: Bool { get } var bounds: CGRect { get } var currentPoint: CGPoint { get } func contains(_ point: CGPoint) -> Bool var lineWidth: CGFloat var lineCapStyle: CGLineCap var lineJoinStyle: CGLineJoin var miterLimit: CGFloat var flatness: CGFloat var usesEvenOddFillRule: Bool func setLineDash(_ pattern: UnsafePointer<CGFloat>?, count count: Int, phase phase: CGFloat) func getLineDash(_ pattern: UnsafeMutablePointer<CGFloat>?, count count: UnsafeMutablePointer<Int>?, phase phase: UnsafeMutablePointer<CGFloat>?) func fill() func stroke() func fill(with blendMode: CGBlendMode, alpha alpha: CGFloat) func stroke(with blendMode: CGBlendMode, alpha alpha: CGFloat) func addClip() 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 UIBezierPath : CVarArg { } extension UIBezierPath : Equatable, Hashable { var hashValue: Int { get } } | CVarArg, Equatable, Hashable, NSCoding, NSCopying |
Declaration | |
---|---|
From | func addArcWithCenter(_ center: CGPoint, radius radius: CGFloat, startAngle startAngle: CGFloat, endAngle endAngle: CGFloat, clockwise clockwise: Bool) |
To | func addArc(withCenter center: CGPoint, radius radius: CGFloat, startAngle startAngle: CGFloat, endAngle endAngle: CGFloat, clockwise clockwise: Bool) |
Declaration | |
---|---|
From | func addCurveToPoint(_ endPoint: CGPoint, controlPoint1 controlPoint1: CGPoint, controlPoint2 controlPoint2: CGPoint) |
To | func addCurve(to endPoint: CGPoint, controlPoint1 controlPoint1: CGPoint, controlPoint2 controlPoint2: CGPoint) |
Modified UIBezierPath.addLine(to: CGPoint)
Declaration | |
---|---|
From | func addLineToPoint(_ point: CGPoint) |
To | func addLine(to point: CGPoint) |
Declaration | |
---|---|
From | func addQuadCurveToPoint(_ endPoint: CGPoint, controlPoint controlPoint: CGPoint) |
To | func addQuadCurve(to endPoint: CGPoint, controlPoint controlPoint: CGPoint) |
Modified UIBezierPath.append(_: UIBezierPath)
Declaration | |
---|---|
From | func appendPath(_ bezierPath: UIBezierPath) |
To | func append(_ bezierPath: UIBezierPath) |
Declaration | |
---|---|
From | func applyTransform(_ transform: CGAffineTransform) |
To | func apply(_ transform: CGAffineTransform) |
Modified UIBezierPath.cgPath
Declaration | |
---|---|
From | var CGPath: CGPath |
To | var cgPath: CGPath |
Modified UIBezierPath.close()
Declaration | |
---|---|
From | func closePath() |
To | func close() |
Declaration | |
---|---|
From | func containsPoint(_ point: CGPoint) -> Bool |
To | func contains(_ point: CGPoint) -> Bool |
Declaration | |
---|---|
From | func fillWithBlendMode(_ blendMode: CGBlendMode, alpha alpha: CGFloat) |
To | func fill(with blendMode: CGBlendMode, alpha alpha: CGFloat) |
Declaration | |
---|---|
From | func getLineDash(_ pattern: UnsafeMutablePointer<CGFloat>, count count: UnsafeMutablePointer<Int>, phase phase: UnsafeMutablePointer<CGFloat>) |
To | func getLineDash(_ pattern: UnsafeMutablePointer<CGFloat>?, count count: UnsafeMutablePointer<Int>?, phase phase: UnsafeMutablePointer<CGFloat>?) |
Modified UIBezierPath.init(cgPath: CGPath)
Declaration | |
---|---|
From | convenience init(CGPath CGPath: CGPath) |
To | convenience init(cgPath CGPath: CGPath) |
Modified UIBezierPath.init(ovalIn: CGRect)
Declaration | |
---|---|
From | convenience init(ovalInRect rect: CGRect) |
To | convenience init(ovalIn rect: CGRect) |
Modified UIBezierPath.isEmpty
Declaration | |
---|---|
From | var empty: Bool { get } |
To | var isEmpty: Bool { get } |
Modified UIBezierPath.move(to: CGPoint)
Declaration |
---|