UIKit Changes for Objective-C
UIKit
NSLayoutConstraint.h
NSLayoutManager.h
| 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
UIActivityIndicatorView.h
Removed -[UIActivityIndicatorView isAnimating]
UIActivityItemProvider.h
| 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 |
UIApplication.h
Removed -[UIApplication isIgnoringInteractionEvents]
Modified -[UIApplication openURL:]
| Deprecation | |
|---|---|
| From | -- |
| To | tvOS 10.0 |
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly) NSString *preferredContentSizeCategory |
| To | @property(nonatomic, readonly) UIContentSizeCategory preferredContentSizeCategory |
| Deprecation | |
|---|---|
| From | -- |
| To | tvOS 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 |
| 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 |
UIDevice.h
Added UIDevice.currentDevice
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 |
UIFocus.h
Added UIFocusItem
Added UIFocusHeadingNone
| Deprecation | Optional | |
|---|---|---|
| From | -- | -- |
| To | tvOS 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
| Deprecation | Header | |
|---|---|---|
| From | -- | UIKit/UIFocus.h |
| To | tvOS 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
| Deprecation | Header | |
|---|---|---|
| From | -- | UIKit/UIFocus.h |
| To | tvOS 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)
Added UIImpactFeedbackStyle
UIInputViewController.h
UIInterface.h
Added UIDisplayGamut
Added UIDisplayGamutP3
Added UIDisplayGamutSRGB
Added UIUserInterfaceStyle
Added UIUserInterfaceStyleDark
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
UINibLoading.h
UINotificationFeedbackGenerator.h (Added)
UIPasteboard.h
Removed UIPasteboard(UIPasteboardDataExtensions)
Added UIPasteboardName
Added UIPasteboardOption
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)
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
UISplitViewController.h
| Declaration | Readonly | |
|---|---|---|
| From | - (UIBarButtonItem *)displayModeButtonItem | -- |
| To | @property(nonatomic, readonly) UIBarButtonItem *displayModeButtonItem | yes |
UIStackView.h
UITabBar.h
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 | tvOS 10.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | tvOS 10.0 |
UITimingCurveProvider.h (Added)
Added UITimingCurveProvider
Added UITimingCurveType
Added UITimingCurveTypeBuiltin
Added UITimingCurveTypeCubic
Added UITimingCurveTypeSpring
UITimingParameters.h (Added)
Added UICubicTimingParameters
Added UISpringTimingParameters
UITraitCollection.h
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 | |
|---|---|
| From | - (BOOL)disablesAutomaticKeyboardDismissal |
| To | @property(nonatomic, assign) BOOL disablesAutomaticKeyboardDismissal |
Modified UIViewController.editButtonItem
| Declaration | Readonly | |
|---|---|---|
| From | - (UIBarButtonItem *)editButtonItem | -- |
| To | @property(nonatomic, readonly) UIBarButtonItem *editButtonItem | 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 |
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 | tvOS 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 |