UIKit Changes for Objective-C
UIKit
NSFileProviderExtension.h
| Declaration | Readonly | |
|---|---|---|
| From | - (NSURL *)documentStorageURL | -- |
| To | @property(nonatomic, readonly) NSURL *documentStorageURL | yes |
| Declaration | Readonly | |
|---|---|---|
| From | - (NSString *)providerIdentifier | -- |
| To | @property(nonatomic, readonly) NSString *providerIdentifier | yes |
NSLayoutConstraint.h
NSLayoutManager.h
Modified -[NSLayoutManager CGGlyphAtIndex:]
| Introduction | |
|---|---|
| From | iOS 9.0 |
| To | iOS 7.0 |
| Introduction | |
|---|---|
| From | iOS 9.0 |
| To | iOS 7.0 |
| Declaration | Readonly | |
|---|---|---|
| From | - (NSUInteger)firstUnlaidCharacterIndex | -- |
| To | @property(nonatomic, readonly) NSUInteger firstUnlaidCharacterIndex | yes |
| Declaration | Readonly | |
|---|---|---|
| From | - (NSUInteger)firstUnlaidGlyphIndex | -- |
| To | @property(nonatomic, readonly) NSUInteger firstUnlaidGlyphIndex | yes |
NSParagraphStyle.h
UIAccessibility.h
UIAccessibilityConstants.h
UIAccessibilityCustomRotor.h (Added)
Added NSObject(UIAccessibilityCustomRotor)
UIAccessibilityElement.h
UIActivity.h
Added UIActivityType
Modified UIActivity.activityImage
| Declaration | Readonly | |
|---|---|---|
| From | - (UIImage *)activityImage | -- |
| To | @property(nonatomic, readonly) UIImage *activityImage | yes |
Modified UIActivity.activityTitle
| Declaration | Readonly | |
|---|---|---|
| From | - (NSString *)activityTitle | -- |
| To | @property(nonatomic, readonly) NSString *activityTitle | yes |
Modified UIActivity.activityType
| Declaration | Readonly | |
|---|---|---|
| From | - (NSString *)activityType | -- |
| To | @property(nonatomic, readonly) UIActivityType activityType | yes |
Modified UIActivity.activityViewController
| Declaration | Readonly | |
|---|---|---|
| From | - (UIViewController *)activityViewController | -- |
| To | @property(nonatomic, readonly) UIViewController *activityViewController | yes |
UIActivityIndicatorView.h
Removed -[UIActivityIndicatorView isAnimating]
UIActivityItemProvider.h
Modified UIActivityItemProvider.activityType
| Declaration | |
|---|---|
| From | @property(nonatomic, copy, readonly) NSString *activityType |
| To | @property(nonatomic, copy, readonly) UIActivityType activityType |
Modified UIActivityItemProvider.item
| Declaration | Readonly | |
|---|---|---|
| From | - (id)item | -- |
| To | @property(nonatomic, readonly) id item | yes |
| Declaration | |
|---|---|
| From | - (NSString *)activityViewController:(UIActivityViewController *)activityViewController dataTypeIdentifierForActivityType:(NSString *)activityType |
| To | - (NSString *)activityViewController:(UIActivityViewController *)activityViewController dataTypeIdentifierForActivityType:(UIActivityType)activityType |
| Declaration | |
|---|---|
| From | - (id)activityViewController:(UIActivityViewController *)activityViewController itemForActivityType:(NSString *)activityType |
| To | - (id)activityViewController:(UIActivityViewController *)activityViewController itemForActivityType:(UIActivityType)activityType |
| Declaration | |
|---|---|
| From | - (NSString *)activityViewController:(UIActivityViewController *)activityViewController subjectForActivityType:(NSString *)activityType |
| To | - (NSString *)activityViewController:(UIActivityViewController *)activityViewController subjectForActivityType:(UIActivityType)activityType |
Modified -[UIActivityItemSource activityViewController:thumbnailImageForActivityType:suggestedSize:]
| Declaration | |
|---|---|
| From | - (UIImage *)activityViewController:(UIActivityViewController *)activityViewController thumbnailImageForActivityType:(NSString *)activityType suggestedSize:(CGSize)size |
| To | - (UIImage *)activityViewController:(UIActivityViewController *)activityViewController thumbnailImageForActivityType:(UIActivityType)activityType suggestedSize:(CGSize)size |
UIActivityViewController.h
| Declaration | |
|---|---|
| From | @property(nonatomic, copy) NSArray<NSString *> *excludedActivityTypes |
| To | @property(nonatomic, copy) NSArray<UIActivityType> *excludedActivityTypes |
UIApplication.h
Removed -[UIApplication isIgnoringInteractionEvents]
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
| Declaration | Readonly | |
|---|---|---|
| From | - (UIUserNotificationSettings *)currentUserNotificationSettings | -- |
| To | @property(nonatomic, readonly) UIUserNotificationSettings *currentUserNotificationSettings | yes |
Modified -[UIApplication openURL:]
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly) NSString *preferredContentSizeCategory |
| To | @property(nonatomic, readonly) UIContentSizeCategory preferredContentSizeCategory |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
| Introduction | |
|---|---|
| From | iOS 9.0 |
| To | iOS 5.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
| Declaration | |
|---|---|
| From | - (BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary<NSString *,id> *)options |
| To | - (BOOL)application:(UIApplication *)app openURL:(NSURL *)url options:(NSDictionary<UIApplicationOpenURLOptionsKey,id> *)options |
| Declaration | |
|---|---|
| From | - (BOOL)application:(UIApplication *)application shouldAllowExtensionPointIdentifier:(NSString *)extensionPointIdentifier |
| To | - (BOOL)application:(UIApplication *)application shouldAllowExtensionPointIdentifier:(UIApplicationExtensionPointIdentifier)extensionPointIdentifier |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
| Header | |
|---|---|
| From | UIKit/UIApplication.h |
| To | UIKit/UIContentSizeCategory.h |
| Header | |
|---|---|
| From | UIKit/UIApplication.h |
| To | UIKit/UIContentSizeCategory.h |
| Header | |
|---|---|
| From | UIKit/UIApplication.h |
| To | UIKit/UIContentSizeCategory.h |
| Header | |
|---|---|
| From | UIKit/UIApplication.h |
| To | UIKit/UIContentSizeCategory.h |
| Header | |
|---|---|
| From | UIKit/UIApplication.h |
| To | UIKit/UIContentSizeCategory.h |
| Header | |
|---|---|
| From | UIKit/UIApplication.h |
| To | UIKit/UIContentSizeCategory.h |
| Header | |
|---|---|
| From | UIKit/UIApplication.h |
| To | UIKit/UIContentSizeCategory.h |
Modified UIContentSizeCategoryExtraExtraLarge
| Header | |
|---|---|
| From | UIKit/UIApplication.h |
| To | UIKit/UIContentSizeCategory.h |
Modified UIContentSizeCategoryExtraLarge
| Header | |
|---|---|
| From | UIKit/UIApplication.h |
| To | UIKit/UIContentSizeCategory.h |
Modified UIContentSizeCategoryExtraSmall
| Header | |
|---|---|
| From | UIKit/UIApplication.h |
| To | UIKit/UIContentSizeCategory.h |
Modified UIContentSizeCategoryLarge
| Header | |
|---|---|
| From | UIKit/UIApplication.h |
| To | UIKit/UIContentSizeCategory.h |
Modified UIContentSizeCategoryMedium
| Header | |
|---|---|
| From | UIKit/UIApplication.h |
| To | UIKit/UIContentSizeCategory.h |
Modified UIContentSizeCategoryNewValueKey
| Header | |
|---|---|
| From | UIKit/UIApplication.h |
| To | UIKit/UIContentSizeCategory.h |
Modified UIContentSizeCategorySmall
| Header | |
|---|---|
| From | UIKit/UIApplication.h |
| To | UIKit/UIContentSizeCategory.h |
UICloudSharingController.h (Added)
Added UICloudSharingController
UICollectionView.h
| Declaration | Readonly | |
|---|---|---|
| From | - (NSArray<NSIndexPath *> *)indexPathsForSelectedItems | -- |
| To | @property(nonatomic, readonly) NSArray<NSIndexPath *> *indexPathsForSelectedItems | yes |
| Declaration | Readonly | |
|---|---|---|
| From | - (NSArray<NSIndexPath *> *)indexPathsForVisibleItems | -- |
| To | @property(nonatomic, readonly) NSArray<NSIndexPath *> *indexPathsForVisibleItems | yes |
Modified UICollectionView.numberOfSections
| Declaration | Readonly | |
|---|---|---|
| From | - (NSInteger)numberOfSections | -- |
| To | @property(nonatomic, readonly) NSInteger numberOfSections | yes |
Modified UICollectionView.visibleCells
| Declaration | Readonly | |
|---|---|---|
| From | - (NSArray<__kindof UICollectionViewCell *> *)visibleCells | -- |
| To | @property(nonatomic, readonly) NSArray<__kindof UICollectionViewCell *> *visibleCells | yes |
| Declaration | |
|---|---|
| From | - (UICollectionViewCell *)collectionView:(UICollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPath |
| To | - (__kindof UICollectionViewCell *)collectionView:(UICollectionView *)collectionView cellForItemAtIndexPath:(NSIndexPath *)indexPath |
UICollectionViewFlowLayout.h
UICollectionViewLayout.h
| Declaration | Readonly | |
|---|---|---|
| From | - (CGSize)collectionViewContentSize | -- |
| To | @property(nonatomic, readonly) CGSize collectionViewContentSize | yes |
UIColor.h
Added UIColor.blackColor
Added UIColor.blueColor
Added UIColor.brownColor
Added UIColor.clearColor
Added UIColor.cyanColor
Added UIColor.darkGrayColor
Added UIColor.grayColor
Added UIColor.greenColor
Added UIColor.lightGrayColor
Added UIColor.magentaColor
Added UIColor.orangeColor
Added UIColor.purpleColor
Added UIColor.redColor
Added UIColor.whiteColor
Added UIColor.yellowColor
UIContentSizeCategory.h (Added)
| Header | |
|---|---|
| From | UIKit/UIApplication.h |
| To | UIKit/UIContentSizeCategory.h |
| Header | |
|---|---|
| From | UIKit/UIApplication.h |
| To | UIKit/UIContentSizeCategory.h |
| Header | |
|---|---|
| From | UIKit/UIApplication.h |
| To | UIKit/UIContentSizeCategory.h |
| Header | |
|---|---|
| From | UIKit/UIApplication.h |
| To | UIKit/UIContentSizeCategory.h |
| Header | |
|---|---|
| From | UIKit/UIApplication.h |
| To | UIKit/UIContentSizeCategory.h |
| Header | |
|---|---|
| From | UIKit/UIApplication.h |
| To | UIKit/UIContentSizeCategory.h |
| Header | |
|---|---|
| From | UIKit/UIApplication.h |
| To | UIKit/UIContentSizeCategory.h |
Modified UIContentSizeCategoryExtraExtraLarge
| Header | |
|---|---|
| From | UIKit/UIApplication.h |
| To | UIKit/UIContentSizeCategory.h |
Modified UIContentSizeCategoryExtraLarge
| Header | |
|---|---|
| From | UIKit/UIApplication.h |
| To | UIKit/UIContentSizeCategory.h |
Modified UIContentSizeCategoryExtraSmall
| Header | |
|---|---|
| From | UIKit/UIApplication.h |
| To | UIKit/UIContentSizeCategory.h |
Modified UIContentSizeCategoryLarge
| Header | |
|---|---|
| From | UIKit/UIApplication.h |
| To | UIKit/UIContentSizeCategory.h |
Modified UIContentSizeCategoryMedium
| Header | |
|---|---|
| From | UIKit/UIApplication.h |
| To | UIKit/UIContentSizeCategory.h |
Modified UIContentSizeCategoryNewValueKey
| Header | |
|---|---|
| From | UIKit/UIApplication.h |
| To | UIKit/UIContentSizeCategory.h |
Modified UIContentSizeCategorySmall
| Header | |
|---|---|
| From | UIKit/UIApplication.h |
| To | UIKit/UIContentSizeCategory.h |
UIContentSizeCategoryAdjusting.h (Added)
UIControl.h
Modified UIControl.allControlEvents
| Declaration | Readonly | |
|---|---|---|
| From | - (UIControlEvents)allControlEvents | -- |
| To | @property(nonatomic, readonly) UIControlEvents allControlEvents | yes |
Modified UIControl.allTargets
| Declaration | Readonly | |
|---|---|---|
| From | - (NSSet *)allTargets | -- |
| To | @property(nonatomic, readonly) NSSet *allTargets | yes |
UIDataDetectors.h
UIDevice.h
Added UIDevice.currentDevice
UIDocument.h
Added UIDocument.progress
Modified UIDocument.hasUnsavedChanges
| Declaration | Readonly | |
|---|---|---|
| From | - (BOOL)hasUnsavedChanges | -- |
| To | @property(nonatomic, readonly) BOOL hasUnsavedChanges | yes |
Modified UIDocument.savingFileType
| Declaration | Readonly | |
|---|---|---|
| From | - (NSString *)savingFileType | -- |
| To | @property(nonatomic, readonly) NSString *savingFileType | yes |
UIDynamicAnimator.h
Modified UIDynamicAnimator.elapsedTime
| Declaration | Readonly | |
|---|---|---|
| From | - (NSTimeInterval)elapsedTime | -- |
| To | @property(nonatomic, readonly) NSTimeInterval elapsedTime | yes |
UIEvent.h
Modified UIEvent.allTouches
| Declaration | Readonly | |
|---|---|---|
| From | - (NSSet<UITouch *> *)allTouches | -- |
| To | @property(nonatomic, readonly) NSSet<UITouch *> *allTouches | yes |
UIFeedbackGenerator.h (Added)
Added UIFeedbackGenerator
UIFocus.h
Added UIFocusItem
Added UIFocusHeadingNone
| Introduction | Deprecation | Optional | |
|---|---|---|---|
| From | iOS 9.1 | -- | -- |
| To | iOS 9.0 | iOS 10.0 | yes |
Modified UIFocusGuide
| Header | |
|---|---|
| From | UIKit/UIFocus.h |
| To | UIKit/UIFocusGuide.h |
Modified UIFocusGuide.enabled
| Header | |
|---|---|
| From | UIKit/UIFocus.h |
| To | UIKit/UIFocusGuide.h |
Modified UIFocusGuide.preferredFocusedView
| Introduction | Deprecation | Header | |
|---|---|---|---|
| From | iOS 9.1 | -- | UIKit/UIFocus.h |
| To | iOS 9.0 | iOS 10.0 | UIKit/UIFocusGuide.h |
UIFocusGuide.h (Added)
Modified UIFocusGuide
| Header | |
|---|---|
| From | UIKit/UIFocus.h |
| To | UIKit/UIFocusGuide.h |
Modified UIFocusGuide.enabled
| Header | |
|---|---|
| From | UIKit/UIFocus.h |
| To | UIKit/UIFocusGuide.h |
Modified UIFocusGuide.preferredFocusedView
| Introduction | Deprecation | Header | |
|---|---|---|---|
| From | iOS 9.1 | -- | UIKit/UIFocus.h |
| To | iOS 9.0 | iOS 10.0 | UIKit/UIFocusGuide.h |
UIFont.h
Modified UIFont.fontDescriptor
| Declaration | Readonly | |
|---|---|---|
| From | - (UIFontDescriptor *)fontDescriptor | -- |
| To | @property(nonatomic, readonly) UIFontDescriptor *fontDescriptor | yes |
Modified +[UIFont preferredFontForTextStyle:]
| Declaration | |
|---|---|
| From | + (UIFont *)preferredFontForTextStyle:(NSString *)style |
| To | + (UIFont *)preferredFontForTextStyle:(UIFontTextStyle)style |
UIFontDescriptor.h
Added UIFontTextStyle
Modified UIFontDescriptor.fontAttributes
| Declaration | Readonly | |
|---|---|---|
| From | - (NSDictionary<NSString *,id> *)fontAttributes | -- |
| To | @property(nonatomic, readonly) NSDictionary<NSString *,id> *fontAttributes | yes |
| Declaration | |
|---|---|
| From | + (UIFontDescriptor *)preferredFontDescriptorWithTextStyle:(NSString *)style |
| To | + (UIFontDescriptor *)preferredFontDescriptorWithTextStyle:(UIFontTextStyle)style |
UIGeometry.h
Modified NSValue.CGAffineTransformValue
| Declaration | Readonly | |
|---|---|---|
| From | - (CGAffineTransform)CGAffineTransformValue | -- |
| To | @property(nonatomic, readonly) CGAffineTransform CGAffineTransformValue | yes |
Modified NSValue.CGPointValue
| Declaration | Readonly | |
|---|---|---|
| From | - (CGPoint)CGPointValue | -- |
| To | @property(nonatomic, readonly) CGPoint CGPointValue | yes |
Modified NSValue.CGRectValue
| Declaration | Readonly | |
|---|---|---|
| From | - (CGRect)CGRectValue | -- |
| To | @property(nonatomic, readonly) CGRect CGRectValue | yes |
Modified NSValue.CGSizeValue
| Declaration | Readonly | |
|---|---|---|
| From | - (CGSize)CGSizeValue | -- |
| To | @property(nonatomic, readonly) CGSize CGSizeValue | yes |
Modified NSValue.CGVectorValue
| Declaration | Readonly | |
|---|---|---|
| From | - (CGVector)CGVectorValue | -- |
| To | @property(nonatomic, readonly) CGVector CGVectorValue | yes |
Modified NSValue.UIEdgeInsetsValue
| Declaration | Readonly | |
|---|---|---|
| From | - (UIEdgeInsets)UIEdgeInsetsValue | -- |
| To | @property(nonatomic, readonly) UIEdgeInsets UIEdgeInsetsValue | yes |
Modified NSValue.UIOffsetValue
| Declaration | Readonly | |
|---|---|---|
| From | - (UIOffset)UIOffsetValue | -- |
| To | @property(nonatomic, readonly) UIOffset UIOffsetValue | yes |
UIGestureRecognizer.h
Modified UIGestureRecognizer.numberOfTouches
| Declaration | Readonly | |
|---|---|---|
| From | - (NSUInteger)numberOfTouches | -- |
| To | @property(nonatomic, readonly) NSUInteger numberOfTouches | yes |
UIGestureRecognizerSubclass.h
| Declaration | |
|---|---|
| From | - (void)touchesEstimatedPropertiesUpdated:(NSSet *)touches |
| To | - (void)touchesEstimatedPropertiesUpdated:(NSSet<UITouch *> *)touches |
UIGraphicsImageRenderer.h (Added)
Added UIGraphicsImageRenderer
UIGraphicsPDFRenderer.h (Added)
Added UIGraphicsPDFRenderer
UIGraphicsRenderer.h (Added)
Added UIGraphicsRenderer
Added UIGraphicsRendererFormat
UIGraphicsRendererSubclass.h (Added)
Added UIGraphicsDrawingActions
Added UIGraphicsRenderer(UIGraphicsRendererProtected)
UIGuidedAccessRestrictions.h
| Declaration | Readonly | |
|---|---|---|
| From | - (NSArray<NSString *> *)guidedAccessRestrictionIdentifiers | -- |
| To | @property(nonatomic, readonly) NSArray<NSString *> *guidedAccessRestrictionIdentifiers | yes |
UIImage.h
UIImageView.h
Removed -[UIImageView isAnimating]
Added UIImageView.animating
UIImpactFeedbackGenerator.h (Added)
UIInputViewController.h
UIInterface.h
Added UIColor.darkTextColor
Added UIColor.lightTextColor
Added UIFont.buttonFontSize
Added UIFont.labelFontSize
Added UIFont.systemFontSize
Added UIDisplayGamut
Added UIDisplayGamutP3
Added UIDisplayGamutSRGB
Added UIUserInterfaceStyle
Modified UIUserInterfaceLayoutDirection
| Header | |
|---|---|
| From | UIKit/UIView.h |
| To | UIKit/UIInterface.h |
| Header | |
|---|---|
| From | UIKit/UIView.h |
| To | UIKit/UIInterface.h |
| Header | |
|---|---|
| From | UIKit/UIView.h |
| To | UIKit/UIInterface.h |
UIKitDefines.h
Added #def UIKIT_CLASS_AVAILABLE_IOS_ONLY
Added #def UIKIT_CLASS_AVAILABLE_WATCHOS_ONLY
Added #def UIKIT_STRING_ENUMS
UILabel.h
UILocalNotification.h
Modified UILocalNotification
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
Modified UILocalNotification.alertAction
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
Modified UILocalNotification.alertBody
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
Modified UILocalNotification.alertLaunchImage
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
Modified UILocalNotification.alertTitle
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
Modified UILocalNotification.category
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
Modified UILocalNotification.fireDate
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
Modified UILocalNotification.hasAction
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
Modified -[UILocalNotification init]
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
Modified UILocalNotification.region
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
Modified UILocalNotification.repeatCalendar
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
Modified UILocalNotification.repeatInterval
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
Modified UILocalNotification.soundName
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
Modified UILocalNotification.timeZone
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
Modified UILocalNotification.userInfo
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
Modified UILocalNotificationDefaultSoundName
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
UIManagedDocument.h
UIMenuController.h
UINavigationBar.h
UINibLoading.h
UINotificationFeedbackGenerator.h (Added)
UIPasteboard.h
Removed UIPasteboard(UIPasteboardDataExtensions)
Added UIPasteboard.hasColors
Added UIPasteboard.hasImages
Added UIPasteboard.hasStrings
Added UIPasteboard.hasURLs
Added UIPasteboardName
Added UIPasteboardOption
Modified UIPasteboard.items
| Declaration | |
|---|---|
| From | @property(nonatomic, copy) NSArray *items |
| To | @property(nonatomic, copy) NSArray<NSDictionary<NSString *,id> *> *items |
| Declaration | |
|---|---|
| From | - (NSIndexSet *)itemSetWithPasteboardTypes:(NSArray *)pasteboardTypes |
| To | - (NSIndexSet *)itemSetWithPasteboardTypes:(NSArray<NSString *> *)pasteboardTypes |
Modified UIPasteboard.name
| Declaration | |
|---|---|
| From | @property(readonly, nonatomic) NSString *name |
| To | @property(readonly, nonatomic) UIPasteboardName name |
Modified UIPasteboard.pasteboardTypes
| Declaration | Readonly | |
|---|---|---|
| From | - (NSArray<NSString *> *)pasteboardTypes | -- |
| To | @property(nonatomic, readonly) NSArray<NSString *> *pasteboardTypes | yes |
| Declaration | |
|---|---|
| From | - (NSArray *)pasteboardTypesForItemSet:(NSIndexSet *)itemSet |
| To | - (NSArray<NSArray<NSString *> *> *)pasteboardTypesForItemSet:(NSIndexSet *)itemSet |
| Declaration | |
|---|---|
| From | + (UIPasteboard *)pasteboardWithName:(NSString *)pasteboardName create:(BOOL)create |
| To | + (UIPasteboard *)pasteboardWithName:(UIPasteboardName)pasteboardName create:(BOOL)create |
Modified UIPasteboard.persistent
| Declaration | Readonly | |
|---|---|---|
| From | @property(getter=isPersistent, nonatomic) BOOL persistent | -- |
| To | @property(readonly, getter=isPersistent, nonatomic) BOOL persistent | yes |
| Declaration | |
|---|---|
| From | + (void)removePasteboardWithName:(NSString *)pasteboardName |
| To | + (void)removePasteboardWithName:(UIPasteboardName)pasteboardName |
Modified UIPasteboardNameFind
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
UIPickerView.h
UIPopoverBackgroundView.h
UIPresentationController.h
| Declaration | Readonly | |
|---|---|---|
| From | - (UIModalPresentationStyle)adaptivePresentationStyle | -- |
| To | @property(nonatomic, readonly) UIModalPresentationStyle adaptivePresentationStyle | yes |
| Declaration | Readonly | |
|---|---|---|
| From | - (CGRect)frameOfPresentedViewInContainerView | -- |
| To | @property(nonatomic, readonly) CGRect frameOfPresentedViewInContainerView | yes |
| Designated Initializer | |
|---|---|
| From | -- |
| To | yes |
| Declaration | Readonly | |
|---|---|---|
| From | - (UIView *)presentedView | -- |
| To | @property(nonatomic, readonly) UIView *presentedView | yes |
| Declaration | Readonly | |
|---|---|---|
| From | - (BOOL)shouldPresentInFullscreen | -- |
| To | @property(nonatomic, readonly) BOOL shouldPresentInFullscreen | yes |
| Declaration | Readonly | |
|---|---|---|
| From | - (BOOL)shouldRemovePresentersView | -- |
| To | @property(nonatomic, readonly) BOOL shouldRemovePresentersView | yes |
UIPressesEvent.h
Modified UIPressesEvent.allPresses
| Declaration | Readonly | |
|---|---|---|
| From | - (NSSet<UIPress *> *)allPresses | -- |
| To | @property(nonatomic, readonly) NSSet<UIPress *> *allPresses | yes |
UIPreviewInteraction.h (Added)
Added UIPreviewInteraction
UIPrintFormatter.h
UIPrintInfo.h
Modified UIPrintInfo.dictionaryRepresentation
| Declaration | Readonly | |
|---|---|---|
| From | - (NSDictionary *)dictionaryRepresentation | -- |
| To | @property(nonatomic, readonly) NSDictionary *dictionaryRepresentation | yes |
UIPrintInteractionController.h
UIPrintPageRenderer.h
Modified UIPrintPageRenderer.numberOfPages
| Declaration | Readonly | |
|---|---|---|
| From | - (NSInteger)numberOfPages | -- |
| To | @property(nonatomic, readonly) NSInteger numberOfPages | yes |
UIRegion.h
Added UIRegion.infiniteRegion
Modified +[UIRegion infiniteRegion]
| Declaration | |
|---|---|
| From | + (instancetype)infiniteRegion |
| To | + (UIRegion *)infiniteRegion |
UIResponder.h
Removed NSObject(UIResponderStandardEditActions)
Modified UIResponder
| Protocols | |
|---|---|
| From | -- |
| To | UIResponderStandardEditActions |
Modified UIResponder.canBecomeFirstResponder
| Declaration | Readonly | |
|---|---|---|
| From | - (BOOL)canBecomeFirstResponder | -- |
| To | @property(nonatomic, readonly) BOOL canBecomeFirstResponder | yes |
Modified UIResponder.canResignFirstResponder
| Declaration | Readonly | |
|---|---|---|
| From | - (BOOL)canResignFirstResponder | -- |
| To | @property(nonatomic, readonly) BOOL canResignFirstResponder | yes |
Modified UIResponder.isFirstResponder
| Declaration | Readonly | |
|---|---|---|
| From | - (BOOL)isFirstResponder | -- |
| To | @property(nonatomic, readonly) BOOL isFirstResponder | yes |
Modified UIResponder.nextResponder
| Declaration | Readonly | |
|---|---|---|
| From | - (UIResponder *)nextResponder | -- |
| To | @property(nonatomic, readonly) UIResponder *nextResponder | yes |
| Declaration | |
|---|---|
| From | - (void)touchesEstimatedPropertiesUpdated:(NSSet *)touches |
| To | - (void)touchesEstimatedPropertiesUpdated:(NSSet<UITouch *> *)touches |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
| Optional | |
|---|---|
| From | -- |
| To | yes |
UIScreen.h
UIScrollView.h
UISelectionFeedbackGenerator.h (Added)
UISplitViewController.h
| Declaration | Readonly | |
|---|---|---|
| From | - (UIBarButtonItem *)displayModeButtonItem | -- |
| To | @property(nonatomic, readonly) UIBarButtonItem *displayModeButtonItem | yes |
UIStackView.h
UITabBar.h
Removed -[UITabBar isCustomizing]
Added UITabBar.customizing
Modified UITabBar.delegate
| Declaration | |
|---|---|
| From | @property(nonatomic, assign) id<UITabBarDelegate> delegate |
| To | @property(nonatomic, weak) id<UITabBarDelegate> delegate |
Modified UITabBar.selectedItem
| Declaration | |
|---|---|
| From | @property(nonatomic, assign) UITabBarItem *selectedItem |
| To | @property(nonatomic, weak) UITabBarItem *selectedItem |
UITabBarItem.h
UITableView.h
UITextChecker.h
Removed -[UITextChecker setIgnoredWords:]
Modified +[UITextChecker availableLanguages]
| Declaration | |
|---|---|
| From | + (NSArray *)availableLanguages |
| To | + (NSArray<NSString *> *)availableLanguages |
| Declaration | |
|---|---|
| From | - (NSArray *)completionsForPartialWordRange:(NSRange)range inString:(NSString *)string language:(NSString *)language |
| To | - (NSArray<NSString *> *)completionsForPartialWordRange:(NSRange)range inString:(NSString *)string language:(NSString *)language |
| Declaration | |
|---|---|
| From | - (NSArray *)guessesForWordRange:(NSRange)range inString:(NSString *)string language:(NSString *)language |
| To | - (NSArray<NSString *> *)guessesForWordRange:(NSRange)range inString:(NSString *)string language:(NSString *)language |
Modified UITextChecker.ignoredWords
| Declaration | |
|---|---|
| From | - (NSArray *)ignoredWords |
| To | @property(nonatomic, strong) NSArray<NSString *> *ignoredWords |
UITextField.h
Modified UITextField
| Protocols | |
|---|---|
| From | NSCoding, UITextInput |
| To | NSCoding, UIContentSizeCategoryAdjusting, UITextInput |
UITextInput.h
Modified UIKeyInput.hasText
| Declaration | Readonly | |
|---|---|---|
| From | - (BOOL)hasText | -- |
| To | @property(nonatomic, readonly) BOOL hasText | yes |
| Declaration | Readonly | |
|---|---|---|
| From | - (id)insertDictationResultPlaceholder | -- |
| To | @property(nonatomic, readonly) id insertDictationResultPlaceholder | yes |
Modified +[UITextInputMode activeInputModes]
| Declaration | |
|---|---|
| From | + (NSArray<NSString *> *)activeInputModes |
| To | + (NSArray<UITextInputMode *> *)activeInputModes |
UITextInputTraits.h
UITextInteraction.h (Added)
UITextView.h
Modified UITextView
| Protocols | |
|---|---|
| From | UITextInput |
| To | UIContentSizeCategoryAdjusting, UITextInput |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
UITimingCurveProvider.h (Added)
Added UITimingCurveProvider
Added UITimingCurveType
Added UITimingCurveTypeBuiltin
Added UITimingCurveTypeCubic
Added UITimingCurveTypeSpring
UITimingParameters.h (Added)
Added UICubicTimingParameters
Added UISpringTimingParameters
UIToolbar.h
Modified UIToolbar.barStyle
| Ui Appearance Selector | |
|---|---|
| From | -- |
| To | yes |
Modified UIToolbar.delegate
| Declaration | |
|---|---|
| From | @property(nonatomic, assign) id<UIToolbarDelegate> delegate |
| To | @property(nonatomic, weak) id<UIToolbarDelegate> delegate |
UITraitCollection.h
UIUserNotificationSettings.h
Modified UIMutableUserNotificationAction
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
Modified UIMutableUserNotificationCategory
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
Modified UIUserNotificationAction
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
Modified UIUserNotificationAction.behavior
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
Modified UIUserNotificationAction.destructive
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
Modified UIUserNotificationAction.identifier
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
Modified -[UIUserNotificationAction init]
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
Modified UIUserNotificationAction.parameters
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
Modified UIUserNotificationAction.title
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
Modified UIUserNotificationCategory
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
Modified -[UIUserNotificationCategory init]
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
Modified UIUserNotificationSettings
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
Modified UIUserNotificationSettings.types
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
Modified UIUserNotificationTypeAlert
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
Modified UIUserNotificationTypeBadge
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
Modified UIUserNotificationTypeNone
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
Modified UIUserNotificationTypeSound
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
UIView.h
Added UIView.layerClass
Added UILayoutGuide(UIConstraintBasedLayoutDebugging)
Modified UIView
| Protocols | |
|---|---|
| From | NSCoding, UIAppearance, UIAppearanceContainer, UICoordinateSpace, UIDynamicItem, UIFocusEnvironment, UITraitEnvironment |
| To | CALayerDelegate, NSCoding, UIAppearance, UIAppearanceContainer, UICoordinateSpace, UIDynamicItem, UIFocusItem, UITraitEnvironment |
Modified UIView.alignmentRectInsets
| Declaration | Readonly | |
|---|---|---|
| From | - (UIEdgeInsets)alignmentRectInsets | -- |
| To | @property(nonatomic, readonly) UIEdgeInsets alignmentRectInsets | yes |
Modified UIView.canBecomeFocused
| Declaration | Readonly | |
|---|---|---|
| From | - (BOOL)canBecomeFocused | -- |
| To | @property(nonatomic, readonly) BOOL canBecomeFocused | yes |
Modified UIView.hasAmbiguousLayout
| Declaration | Readonly | |
|---|---|---|
| From | - (BOOL)hasAmbiguousLayout | -- |
| To | @property(nonatomic, readonly) BOOL hasAmbiguousLayout | yes |
Modified UIView.intrinsicContentSize
| Declaration | Readonly | |
|---|---|---|
| From | - (CGSize)intrinsicContentSize | -- |
| To | @property(nonatomic, readonly) CGSize intrinsicContentSize | yes |
Modified -[UIView updateConstraints]
| Override Requires Super | |
|---|---|
| From | -- |
| To | yes |
Modified UIUserInterfaceLayoutDirection
| Header | |
|---|---|
| From | UIKit/UIView.h |
| To | UIKit/UIInterface.h |
| Header | |
|---|---|
| From | UIKit/UIView.h |
| To | UIKit/UIInterface.h |
| Header | |
|---|---|
| From | UIKit/UIView.h |
| To | UIKit/UIInterface.h |
UIViewAnimating.h (Added)
Added UIViewAnimating
Added UIViewAnimating.reversed
Added UIViewAnimating.running
Added UIViewAnimating.state
Added UIViewAnimatingPosition
Added UIViewAnimatingState
UIViewController.h
Removed -[UIViewController isBeingDismissed]
Removed -[UIViewController isBeingPresented]
Removed -[UIViewController isMovingFromParentViewController]
Removed -[UIViewController isMovingToParentViewController]
Removed -[UIViewController isViewLoaded]
| Declaration | Readonly | |
|---|---|---|
| From | - (UIViewController *)childViewControllerForStatusBarHidden | -- |
| To | @property(nonatomic, readonly) UIViewController *childViewControllerForStatusBarHidden | yes |
| Declaration | Readonly | |
|---|---|---|
| From | - (UIViewController *)childViewControllerForStatusBarStyle | -- |
| To | @property(nonatomic, readonly) UIViewController *childViewControllerForStatusBarStyle | yes |
| Declaration | |
|---|---|
| From | - (BOOL)disablesAutomaticKeyboardDismissal |
| To | @property(nonatomic, assign) BOOL disablesAutomaticKeyboardDismissal |
Modified UIViewController.editButtonItem
| Declaration | Readonly | |
|---|---|---|
| From | - (UIBarButtonItem *)editButtonItem | -- |
| To | @property(nonatomic, readonly) UIBarButtonItem *editButtonItem | yes |
| Declaration | Readonly | |
|---|---|---|
| From | - (UIInterfaceOrientation)preferredInterfaceOrientationForPresentation | -- |
| To | @property(nonatomic, readonly) UIInterfaceOrientation preferredInterfaceOrientationForPresentation | yes |
| Declaration | Readonly | |
|---|---|---|
| From | - (UIStatusBarStyle)preferredStatusBarStyle | -- |
| To | @property(nonatomic, readonly) UIStatusBarStyle preferredStatusBarStyle | yes |
| Declaration | Readonly | |
|---|---|---|
| From | - (UIStatusBarAnimation)preferredStatusBarUpdateAnimation | -- |
| To | @property(nonatomic, readonly) UIStatusBarAnimation preferredStatusBarUpdateAnimation | yes |
| Declaration | Readonly | |
|---|---|---|
| From | - (BOOL)prefersStatusBarHidden | -- |
| To | @property(nonatomic, readonly) BOOL prefersStatusBarHidden | yes |
Modified UIViewController.previewActionItems
| Declaration | Readonly | |
|---|---|---|
| From | - (NSArray<id<UIPreviewActionItem>> *)previewActionItems | -- |
| To | @property(nonatomic, readonly) NSArray<id<UIPreviewActionItem>> *previewActionItems | yes |
| Declaration | Readonly | |
|---|---|---|
| From | - (BOOL)shouldAutomaticallyForwardAppearanceMethods | -- |
| To | @property(nonatomic, readonly) BOOL shouldAutomaticallyForwardAppearanceMethods | yes |
Modified UIViewController.shouldAutorotate
| Declaration | Readonly | |
|---|---|---|
| From | - (BOOL)shouldAutorotate | -- |
| To | @property(nonatomic, readonly) BOOL shouldAutorotate | yes |
| Declaration | Readonly | |
|---|---|---|
| From | - (UIInterfaceOrientationMask)supportedInterfaceOrientations | -- |
| To | @property(nonatomic, readonly) UIInterfaceOrientationMask supportedInterfaceOrientations | yes |
UIViewControllerTransitionCoordinator.h
Removed -[UIViewControllerTransitionCoordinatorContext isAnimated]
Removed -[UIViewControllerTransitionCoordinatorContext isCancelled]
Removed -[UIViewControllerTransitionCoordinatorContext isInteractive]
| Declaration | Readonly | |
|---|---|---|
| From | - (id<UIViewControllerTransitionCoordinator>)transitionCoordinator | -- |
| To | @property(nonatomic, readonly) id<UIViewControllerTransitionCoordinator> transitionCoordinator | yes |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 10.0 |
| Declaration | Readonly | |
|---|---|---|
| From | - (UIViewAnimationCurve)completionCurve | -- |
| To | @property(nonatomic, readonly) UIViewAnimationCurve completionCurve | yes |
| Declaration | Readonly | |
|---|---|---|
| From | - (CGFloat)completionVelocity | -- |
| To | @property(nonatomic, readonly) CGFloat completionVelocity | yes |
| Declaration | Readonly | |
|---|---|---|
| From | - (UIView *)containerView | -- |
| To | @property(nonatomic, readonly) UIView *containerView | yes |
| Declaration | Readonly | |
|---|---|---|
| From | - (BOOL)initiallyInteractive | -- |
| To | @property(nonatomic, readonly) BOOL initiallyInteractive | yes |
| Declaration | Readonly | |
|---|---|---|
| From | - (CGFloat)percentComplete | -- |
| To | @property(nonatomic, readonly) CGFloat percentComplete | yes |
| Declaration | Readonly | |
|---|---|---|
| From | - (UIModalPresentationStyle)presentationStyle | -- |
| To | @property(nonatomic, readonly) UIModalPresentationStyle presentationStyle | yes |
| Declaration | Readonly | |
|---|---|---|
| From | - (CGAffineTransform)targetTransform | -- |
| To | @property(nonatomic, readonly) CGAffineTransform targetTransform | yes |
| Declaration | Readonly | |
|---|---|---|
| From | - (NSTimeInterval)transitionDuration | -- |
| To | @property(nonatomic, readonly) NSTimeInterval transitionDuration | yes |
| Declaration | |
|---|---|
| From | - (__kindof UIViewController *)viewControllerForKey:(NSString *)key |
| To | - (__kindof UIViewController *)viewControllerForKey:(UITransitionContextViewControllerKey)key |
| Declaration | |
|---|---|
| From | - (__kindof UIView *)viewForKey:(NSString *)key |
| To | - (__kindof UIView *)viewForKey:(UITransitionContextViewKey)key |
UIViewControllerTransitioning.h
Removed -[UIViewControllerContextTransitioning isAnimated]
Removed -[UIViewControllerContextTransitioning isInteractive]
| Declaration | Readonly | |
|---|---|---|
| From | - (UIView *)containerView | -- |
| To | @property(nonatomic, readonly) UIView *containerView | yes |
| Declaration | Readonly | |
|---|---|---|
| From | - (UIModalPresentationStyle)presentationStyle | -- |
| To | @property(nonatomic, readonly) UIModalPresentationStyle presentationStyle | yes |
| Declaration | Readonly | |
|---|---|---|
| From | - (CGAffineTransform)targetTransform | -- |
| To | @property(nonatomic, readonly) CGAffineTransform targetTransform | yes |
| Declaration | Readonly | |
|---|---|---|
| From | - (BOOL)transitionWasCancelled | -- |
| To | @property(nonatomic, readonly) BOOL transitionWasCancelled | yes |
| Declaration | |
|---|---|
| From | - (__kindof UIViewController *)viewControllerForKey:(NSString *)key |
| To | - (__kindof UIViewController *)viewControllerForKey:(UITransitionContextViewControllerKey)key |
| Declaration | |
|---|---|
| From | - (__kindof UIView *)viewForKey:(NSString *)key |
| To | - (__kindof UIView *)viewForKey:(UITransitionContextViewKey)key |
| Declaration | Readonly | |
|---|---|---|
| From | - (UIViewAnimationCurve)completionCurve | -- |
| To | @property(nonatomic, readonly) UIViewAnimationCurve completionCurve | yes |
| Declaration | Readonly | |
|---|---|---|
| From | - (CGFloat)completionSpeed | -- |
| To | @property(nonatomic, readonly) CGFloat completionSpeed | yes |
UIViewPropertyAnimator.h (Added)
UIVisualEffectView.h
Added UIBlurEffectStyleRegular