Documentation Archive Developer
Search

UIKit Changes for Objective-C

UIKit

NSFileProviderExtension.h

DeclarationReadonly
From
- (NSURL *)documentStorageURL
--
To
@property(nonatomic, readonly) NSURL *documentStorageURL
yes

DeclarationReadonly
From
- (NSString *)providerIdentifier
--
To
@property(nonatomic, readonly) NSString *providerIdentifier
yes

NSLayoutConstraint.h

NSLayoutManager.h

Introduction
FromiOS 9.0
ToiOS 7.0

Introduction
FromiOS 9.0
ToiOS 7.0

DeclarationReadonly
From
- (NSUInteger)firstUnlaidCharacterIndex
--
To
@property(nonatomic, readonly) NSUInteger firstUnlaidCharacterIndex
yes

DeclarationReadonly
From
- (NSUInteger)firstUnlaidGlyphIndex
--
To
@property(nonatomic, readonly) NSUInteger firstUnlaidGlyphIndex
yes

NSParagraphStyle.h

Modified NSTextTab
Protocols
FromNSCoding, NSCopying
ToNSCoding, NSCopying, NSSecureCoding

UIAccessibility.h

UIAccessibilityConstants.h

UIAccessibilityCustomRotor.h (Added)

UIAccessibilityElement.h

UIActivity.h

DeclarationReadonly
From
- (UIImage *)activityImage
--
To
@property(nonatomic, readonly) UIImage *activityImage
yes

DeclarationReadonly
From
- (NSString *)activityTitle
--
To
@property(nonatomic, readonly) NSString *activityTitle
yes

DeclarationReadonly
From
- (NSString *)activityType
--
To
@property(nonatomic, readonly) UIActivityType activityType
yes

DeclarationReadonly
From
- (UIViewController *)activityViewController
--
To
@property(nonatomic, readonly) UIViewController *activityViewController
yes

UIActivityIndicatorView.h

Removed -[UIActivityIndicatorView isAnimating]

UIActivityItemProvider.h

Declaration
From
@property(nonatomic, copy, readonly) NSString *activityType
To
@property(nonatomic, copy, readonly) UIActivityType activityType

DeclarationReadonly
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

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--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

DeclarationReadonly
From
- (UIUserNotificationSettings *)currentUserNotificationSettings
--
To
@property(nonatomic, readonly) UIUserNotificationSettings *currentUserNotificationSettings
yes

Deprecation
From--
ToiOS 10.0

Declaration
From
@property(nonatomic, readonly) NSString *preferredContentSizeCategory
To
@property(nonatomic, readonly) UIContentSizeCategory preferredContentSizeCategory

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Introduction
FromiOS 9.0
ToiOS 5.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 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--
ToiOS 10.0

Header
FromUIKit/UIApplication.h
ToUIKit/UIContentSizeCategory.h

Header
FromUIKit/UIApplication.h
ToUIKit/UIContentSizeCategory.h

Header
FromUIKit/UIApplication.h
ToUIKit/UIContentSizeCategory.h

Header
FromUIKit/UIApplication.h
ToUIKit/UIContentSizeCategory.h

Header
FromUIKit/UIApplication.h
ToUIKit/UIContentSizeCategory.h

Header
FromUIKit/UIApplication.h
ToUIKit/UIContentSizeCategory.h

Header
FromUIKit/UIApplication.h
ToUIKit/UIContentSizeCategory.h

Header
FromUIKit/UIApplication.h
ToUIKit/UIContentSizeCategory.h

Header
FromUIKit/UIApplication.h
ToUIKit/UIContentSizeCategory.h

Header
FromUIKit/UIApplication.h
ToUIKit/UIContentSizeCategory.h

Header
FromUIKit/UIApplication.h
ToUIKit/UIContentSizeCategory.h

Header
FromUIKit/UIApplication.h
ToUIKit/UIContentSizeCategory.h

Header
FromUIKit/UIApplication.h
ToUIKit/UIContentSizeCategory.h

Header
FromUIKit/UIApplication.h
ToUIKit/UIContentSizeCategory.h

UICloudSharingController.h (Added)

UICollectionView.h

DeclarationReadonly
From
- (NSArray<NSIndexPath *> *)indexPathsForSelectedItems
--
To
@property(nonatomic, readonly) NSArray<NSIndexPath *> *indexPathsForSelectedItems
yes

DeclarationReadonly
From
- (NSArray<NSIndexPath *> *)indexPathsForVisibleItems
--
To
@property(nonatomic, readonly) NSArray<NSIndexPath *> *indexPathsForVisibleItems
yes

DeclarationReadonly
From
- (NSInteger)numberOfSections
--
To
@property(nonatomic, readonly) NSInteger numberOfSections
yes

DeclarationReadonly
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

DeclarationReadonly
From
- (CGSize)collectionViewContentSize
--
To
@property(nonatomic, readonly) CGSize collectionViewContentSize
yes

UIColor.h

UIContentSizeCategory.h (Added)

Header
FromUIKit/UIApplication.h
ToUIKit/UIContentSizeCategory.h

Header
FromUIKit/UIApplication.h
ToUIKit/UIContentSizeCategory.h

Header
FromUIKit/UIApplication.h
ToUIKit/UIContentSizeCategory.h

Header
FromUIKit/UIApplication.h
ToUIKit/UIContentSizeCategory.h

Header
FromUIKit/UIApplication.h
ToUIKit/UIContentSizeCategory.h

Header
FromUIKit/UIApplication.h
ToUIKit/UIContentSizeCategory.h

Header
FromUIKit/UIApplication.h
ToUIKit/UIContentSizeCategory.h

Header
FromUIKit/UIApplication.h
ToUIKit/UIContentSizeCategory.h

Header
FromUIKit/UIApplication.h
ToUIKit/UIContentSizeCategory.h

Header
FromUIKit/UIApplication.h
ToUIKit/UIContentSizeCategory.h

Header
FromUIKit/UIApplication.h
ToUIKit/UIContentSizeCategory.h

Header
FromUIKit/UIApplication.h
ToUIKit/UIContentSizeCategory.h

Header
FromUIKit/UIApplication.h
ToUIKit/UIContentSizeCategory.h

Header
FromUIKit/UIApplication.h
ToUIKit/UIContentSizeCategory.h

UIContentSizeCategoryAdjusting.h (Added)

UIControl.h

DeclarationReadonly
From
- (UIControlEvents)allControlEvents
--
To
@property(nonatomic, readonly) UIControlEvents allControlEvents
yes

DeclarationReadonly
From
- (NSSet *)allTargets
--
To
@property(nonatomic, readonly) NSSet *allTargets
yes

UIDataDetectors.h

UIDevice.h

UIDocument.h

DeclarationReadonly
From
- (BOOL)hasUnsavedChanges
--
To
@property(nonatomic, readonly) BOOL hasUnsavedChanges
yes

DeclarationReadonly
From
- (NSString *)savingFileType
--
To
@property(nonatomic, readonly) NSString *savingFileType
yes

UIDynamicAnimator.h

DeclarationReadonly
From
- (NSTimeInterval)elapsedTime
--
To
@property(nonatomic, readonly) NSTimeInterval elapsedTime
yes

UIEvent.h

DeclarationReadonly
From
- (NSSet<UITouch *> *)allTouches
--
To
@property(nonatomic, readonly) NSSet<UITouch *> *allTouches
yes

UIFeedbackGenerator.h (Added)

UIFocus.h

IntroductionDeprecationOptional
FromiOS 9.1----
ToiOS 9.0iOS 10.0yes

Modified UIFocusGuide
Header
FromUIKit/UIFocus.h
ToUIKit/UIFocusGuide.h

Header
FromUIKit/UIFocus.h
ToUIKit/UIFocusGuide.h

IntroductionDeprecationHeader
FromiOS 9.1--UIKit/UIFocus.h
ToiOS 9.0iOS 10.0UIKit/UIFocusGuide.h

UIFocusGuide.h (Added)

Modified UIFocusGuide
Header
FromUIKit/UIFocus.h
ToUIKit/UIFocusGuide.h

Header
FromUIKit/UIFocus.h
ToUIKit/UIFocusGuide.h

IntroductionDeprecationHeader
FromiOS 9.1--UIKit/UIFocus.h
ToiOS 9.0iOS 10.0UIKit/UIFocusGuide.h

UIFont.h

DeclarationReadonly
From
- (UIFontDescriptor *)fontDescriptor
--
To
@property(nonatomic, readonly) UIFontDescriptor *fontDescriptor
yes

Declaration
From
+ (UIFont *)preferredFontForTextStyle:(NSString *)style
To
+ (UIFont *)preferredFontForTextStyle:(UIFontTextStyle)style

UIFontDescriptor.h

DeclarationReadonly
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

DeclarationReadonly
From
- (CGAffineTransform)CGAffineTransformValue
--
To
@property(nonatomic, readonly) CGAffineTransform CGAffineTransformValue
yes

DeclarationReadonly
From
- (CGPoint)CGPointValue
--
To
@property(nonatomic, readonly) CGPoint CGPointValue
yes

DeclarationReadonly
From
- (CGRect)CGRectValue
--
To
@property(nonatomic, readonly) CGRect CGRectValue
yes

DeclarationReadonly
From
- (CGSize)CGSizeValue
--
To
@property(nonatomic, readonly) CGSize CGSizeValue
yes

DeclarationReadonly
From
- (CGVector)CGVectorValue
--
To
@property(nonatomic, readonly) CGVector CGVectorValue
yes

DeclarationReadonly
From
- (UIEdgeInsets)UIEdgeInsetsValue
--
To
@property(nonatomic, readonly) UIEdgeInsets UIEdgeInsetsValue
yes

DeclarationReadonly
From
- (UIOffset)UIOffsetValue
--
To
@property(nonatomic, readonly) UIOffset UIOffsetValue
yes

UIGestureRecognizer.h

DeclarationReadonly
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)

UIGraphicsPDFRenderer.h (Added)

UIGraphicsRenderer.h (Added)

UIGraphicsRendererSubclass.h (Added)

UIGuidedAccessRestrictions.h

DeclarationReadonly
From
- (NSArray<NSString *> *)guidedAccessRestrictionIdentifiers
--
To
@property(nonatomic, readonly) NSArray<NSString *> *guidedAccessRestrictionIdentifiers
yes

UIImage.h

UIImageView.h

Removed -[UIImageView isAnimating]

UIImpactFeedbackGenerator.h (Added)

UIInputViewController.h

UIInterface.h

UIKitDefines.h

Added #def UIKIT_CLASS_AVAILABLE_IOS_ONLY
Added #def UIKIT_CLASS_AVAILABLE_WATCHOS_ONLY

UILabel.h

Modified UILabel
Protocols
FromNSCoding
ToNSCoding, UIContentSizeCategoryAdjusting

UILocalNotification.h

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

UIManagedDocument.h

UIMenuController.h

UINavigationBar.h

Ui Appearance Selector
From--
Toyes

UINibLoading.h

Override Requires Super
From--
Toyes

UINotificationFeedbackGenerator.h (Added)

UIPasteboard.h

Removed UIPasteboard(UIPasteboardDataExtensions)
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

Declaration
From
@property(readonly, nonatomic) NSString *name
To
@property(readonly, nonatomic) UIPasteboardName name

DeclarationReadonly
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

DeclarationReadonly
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

Deprecation
From--
ToiOS 10.0

UIPickerView.h

Modified UIPickerView
Protocols
FromNSCoding, UITableViewDataSource
ToNSCoding

UIPopoverBackgroundView.h

UIPresentationController.h

DeclarationReadonly
From
- (UIModalPresentationStyle)adaptivePresentationStyle
--
To
@property(nonatomic, readonly) UIModalPresentationStyle adaptivePresentationStyle
yes

DeclarationReadonly
From
- (CGRect)frameOfPresentedViewInContainerView
--
To
@property(nonatomic, readonly) CGRect frameOfPresentedViewInContainerView
yes

Designated Initializer
From--
Toyes

DeclarationReadonly
From
- (UIView *)presentedView
--
To
@property(nonatomic, readonly) UIView *presentedView
yes

DeclarationReadonly
From
- (BOOL)shouldPresentInFullscreen
--
To
@property(nonatomic, readonly) BOOL shouldPresentInFullscreen
yes

DeclarationReadonly
From
- (BOOL)shouldRemovePresentersView
--
To
@property(nonatomic, readonly) BOOL shouldRemovePresentersView
yes

UIPressesEvent.h

DeclarationReadonly
From
- (NSSet<UIPress *> *)allPresses
--
To
@property(nonatomic, readonly) NSSet<UIPress *> *allPresses
yes

UIPreviewInteraction.h (Added)

UIPrintFormatter.h

Deprecation
From--
ToiOS 10.0

UIPrintInfo.h

DeclarationReadonly
From
- (NSDictionary *)dictionaryRepresentation
--
To
@property(nonatomic, readonly) NSDictionary *dictionaryRepresentation
yes

UIPrintInteractionController.h

UIPrintPageRenderer.h

DeclarationReadonly
From
- (NSInteger)numberOfPages
--
To
@property(nonatomic, readonly) NSInteger numberOfPages
yes

UIRegion.h

Declaration
From
+ (instancetype)infiniteRegion
To
+ (UIRegion *)infiniteRegion

UIResponder.h

Removed NSObject(UIResponderStandardEditActions)
Modified UIResponder
Protocols
From--
ToUIResponderStandardEditActions

DeclarationReadonly
From
- (BOOL)canBecomeFirstResponder
--
To
@property(nonatomic, readonly) BOOL canBecomeFirstResponder
yes

DeclarationReadonly
From
- (BOOL)canResignFirstResponder
--
To
@property(nonatomic, readonly) BOOL canResignFirstResponder
yes

DeclarationReadonly
From
- (BOOL)isFirstResponder
--
To
@property(nonatomic, readonly) BOOL isFirstResponder
yes

DeclarationReadonly
From
- (UIResponder *)nextResponder
--
To
@property(nonatomic, readonly) UIResponder *nextResponder
yes

Declaration
From
- (void)touchesEstimatedPropertiesUpdated:(NSSet *)touches
To
- (void)touchesEstimatedPropertiesUpdated:(NSSet<UITouch *> *)touches

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

UIScreen.h

UIScrollView.h

UISelectionFeedbackGenerator.h (Added)

UISplitViewController.h

DeclarationReadonly
From
- (UIBarButtonItem *)displayModeButtonItem
--
To
@property(nonatomic, readonly) UIBarButtonItem *displayModeButtonItem
yes

UIStackView.h

UITabBar.h

Removed -[UITabBar isCustomizing]
Declaration
From
@property(nonatomic, assign) id<UITabBarDelegate> delegate
To
@property(nonatomic, weak) id<UITabBarDelegate> delegate

Declaration
From
@property(nonatomic, assign) UITabBarItem *selectedItem
To
@property(nonatomic, weak) UITabBarItem *selectedItem

UITabBarItem.h

UITableView.h

UITextChecker.h

Removed -[UITextChecker setIgnoredWords:]
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

Declaration
From
- (NSArray *)ignoredWords
To
@property(nonatomic, strong) NSArray<NSString *> *ignoredWords

UITextField.h

Modified UITextField
Protocols
FromNSCoding, UITextInput
ToNSCoding, UIContentSizeCategoryAdjusting, UITextInput

UITextInput.h

DeclarationReadonly
From
- (BOOL)hasText
--
To
@property(nonatomic, readonly) BOOL hasText
yes

DeclarationReadonly
From
- (id)insertDictationResultPlaceholder
--
To
@property(nonatomic, readonly) id insertDictationResultPlaceholder
yes

Declaration
From
+ (NSArray<NSString *> *)activeInputModes
To
+ (NSArray<UITextInputMode *> *)activeInputModes

UITextInputTraits.h

UITextInteraction.h (Added)

UITextView.h

UITimingCurveProvider.h (Added)

UITimingParameters.h (Added)

UIToolbar.h

Ui Appearance Selector
From--
Toyes

Declaration
From
@property(nonatomic, assign) id<UIToolbarDelegate> delegate
To
@property(nonatomic, weak) id<UIToolbarDelegate> delegate

UITraitCollection.h

UIUserNotificationSettings.h

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

Deprecation
From--
ToiOS 10.0

UIView.h

Modified UIView
Protocols
FromNSCoding, UIAppearance, UIAppearanceContainer, UICoordinateSpace, UIDynamicItem, UIFocusEnvironment, UITraitEnvironment
ToCALayerDelegate, NSCoding, UIAppearance, UIAppearanceContainer, UICoordinateSpace, UIDynamicItem, UIFocusItem, UITraitEnvironment

DeclarationReadonly
From
- (UIEdgeInsets)alignmentRectInsets
--
To
@property(nonatomic, readonly) UIEdgeInsets alignmentRectInsets
yes

DeclarationReadonly
From
- (BOOL)canBecomeFocused
--
To
@property(nonatomic, readonly) BOOL canBecomeFocused
yes

DeclarationReadonly
From
- (BOOL)hasAmbiguousLayout
--
To
@property(nonatomic, readonly) BOOL hasAmbiguousLayout
yes

DeclarationReadonly
From
- (CGSize)intrinsicContentSize
--
To
@property(nonatomic, readonly) CGSize intrinsicContentSize
yes

Override Requires Super
From--
Toyes

Header
FromUIKit/UIView.h
ToUIKit/UIInterface.h

Header
FromUIKit/UIView.h
ToUIKit/UIInterface.h

Header
FromUIKit/UIView.h
ToUIKit/UIInterface.h

UIViewAnimating.h (Added)

UIViewController.h

Removed -[UIViewController isBeingDismissed]
Removed -[UIViewController isBeingPresented]
Removed -[UIViewController isMovingFromParentViewController]
Removed -[UIViewController isMovingToParentViewController]
Removed -[UIViewController isViewLoaded]
DeclarationReadonly
From
- (UIViewController *)childViewControllerForStatusBarHidden
--
To
@property(nonatomic, readonly) UIViewController *childViewControllerForStatusBarHidden
yes

DeclarationReadonly
From
- (UIViewController *)childViewControllerForStatusBarStyle
--
To
@property(nonatomic, readonly) UIViewController *childViewControllerForStatusBarStyle
yes

Declaration
From
- (BOOL)disablesAutomaticKeyboardDismissal
To
@property(nonatomic, assign) BOOL disablesAutomaticKeyboardDismissal

DeclarationReadonly
From
- (UIBarButtonItem *)editButtonItem
--
To
@property(nonatomic, readonly) UIBarButtonItem *editButtonItem
yes

DeclarationReadonly
From
- (UIInterfaceOrientation)preferredInterfaceOrientationForPresentation
--
To
@property(nonatomic, readonly) UIInterfaceOrientation preferredInterfaceOrientationForPresentation
yes

DeclarationReadonly
From
- (UIStatusBarStyle)preferredStatusBarStyle
--
To
@property(nonatomic, readonly) UIStatusBarStyle preferredStatusBarStyle
yes

DeclarationReadonly
From
- (UIStatusBarAnimation)preferredStatusBarUpdateAnimation
--
To
@property(nonatomic, readonly) UIStatusBarAnimation preferredStatusBarUpdateAnimation
yes

DeclarationReadonly
From
- (BOOL)prefersStatusBarHidden
--
To
@property(nonatomic, readonly) BOOL prefersStatusBarHidden
yes

DeclarationReadonly
From
- (NSArray<id<UIPreviewActionItem>> *)previewActionItems
--
To
@property(nonatomic, readonly) NSArray<id<UIPreviewActionItem>> *previewActionItems
yes

DeclarationReadonly
From
- (BOOL)shouldAutomaticallyForwardAppearanceMethods
--
To
@property(nonatomic, readonly) BOOL shouldAutomaticallyForwardAppearanceMethods
yes

DeclarationReadonly
From
- (BOOL)shouldAutorotate
--
To
@property(nonatomic, readonly) BOOL shouldAutorotate
yes

DeclarationReadonly
From
- (UIInterfaceOrientationMask)supportedInterfaceOrientations
--
To
@property(nonatomic, readonly) UIInterfaceOrientationMask supportedInterfaceOrientations
yes

UIViewControllerTransitionCoordinator.h

Removed -[UIViewControllerTransitionCoordinatorContext isAnimated]
Removed -[UIViewControllerTransitionCoordinatorContext isCancelled]
Removed -[UIViewControllerTransitionCoordinatorContext isInteractive]
DeclarationReadonly
From
- (id<UIViewControllerTransitionCoordinator>)transitionCoordinator
--
To
@property(nonatomic, readonly) id<UIViewControllerTransitionCoordinator> transitionCoordinator
yes

Deprecation
From--
ToiOS 10.0

DeclarationReadonly
From
- (UIViewAnimationCurve)completionCurve
--
To
@property(nonatomic, readonly) UIViewAnimationCurve completionCurve
yes

DeclarationReadonly
From
- (CGFloat)completionVelocity
--
To
@property(nonatomic, readonly) CGFloat completionVelocity
yes

DeclarationReadonly
From
- (UIView *)containerView
--
To
@property(nonatomic, readonly) UIView *containerView
yes

DeclarationReadonly
From
- (BOOL)initiallyInteractive
--
To
@property(nonatomic, readonly) BOOL initiallyInteractive
yes

DeclarationReadonly
From
- (CGFloat)percentComplete
--
To
@property(nonatomic, readonly) CGFloat percentComplete
yes

DeclarationReadonly
From
- (UIModalPresentationStyle)presentationStyle
--
To
@property(nonatomic, readonly) UIModalPresentationStyle presentationStyle
yes

DeclarationReadonly
From
- (CGAffineTransform)targetTransform
--
To
@property(nonatomic, readonly) CGAffineTransform targetTransform
yes

DeclarationReadonly
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]
DeclarationReadonly
From
- (UIView *)containerView
--
To
@property(nonatomic, readonly) UIView *containerView
yes

DeclarationReadonly
From
- (UIModalPresentationStyle)presentationStyle
--
To
@property(nonatomic, readonly) UIModalPresentationStyle presentationStyle
yes

DeclarationReadonly
From
- (CGAffineTransform)targetTransform
--
To
@property(nonatomic, readonly) CGAffineTransform targetTransform
yes

DeclarationReadonly
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

DeclarationReadonly
From
- (UIViewAnimationCurve)completionCurve
--
To
@property(nonatomic, readonly) UIViewAnimationCurve completionCurve
yes

DeclarationReadonly
From
- (CGFloat)completionSpeed
--
To
@property(nonatomic, readonly) CGFloat completionSpeed
yes

UIViewPropertyAnimator.h (Added)

UIVisualEffectView.h