UIKit Changes for Objective-C
UIKit
NSAttributedString.h
Removed NSMutableAttributedString(NSMutableAttributedStringKitAdditions)
Added NSAttributedString(NSAttributedStringKitAdditions)
Added NSAttributedString(NSDeprecatedKitAdditions)
Added NSMutableAttributedString(NSAttributedStringAttributeFixing)
Added NSMutableAttributedString(NSDeprecatedKitAdditions)
| Declaration | |
|---|---|
| From | - (NSData *)dataFromRange:(NSRange)range documentAttributes:(NSDictionary *)dict error:(NSError **)error |
| To | - (NSData * _Nullable)dataFromRange:(NSRange)range documentAttributes:(NSDictionary<NSString *,id> * _Nonnull)dict error:(NSError * _Nullable * _Nullable)error |
| Declaration | |
|---|---|
| From | - (NSFileWrapper *)fileWrapperFromRange:(NSRange)range documentAttributes:(NSDictionary *)dict error:(NSError **)error |
| To | - (NSFileWrapper * _Nullable)fileWrapperFromRange:(NSRange)range documentAttributes:(NSDictionary<NSString *,id> * _Nonnull)dict error:(NSError * _Nullable * _Nullable)error |
| Declaration | |
|---|---|
| From | - (instancetype)initWithData:(NSData *)data options:(NSDictionary *)options documentAttributes:(NSDictionary **)dict error:(NSError **)error |
| To | - (instancetype _Nullable)initWithData:(NSData * _Nonnull)data options:(NSDictionary<NSString *,id> * _Nonnull)options documentAttributes:(NSDictionary<NSString *,id> * _Nullable * _Nullable)dict error:(NSError * _Nullable * _Nullable)error |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 9.0 |
| Declaration | |
|---|---|
| From | - (BOOL)readFromData:(NSData *)data options:(NSDictionary *)opts documentAttributes:(NSDictionary **)dict error:(NSError **)error |
| To | - (BOOL)readFromData:(NSData * _Nonnull)data options:(NSDictionary<NSString *,id> * _Nonnull)opts documentAttributes:(NSDictionary<NSString *,id> * _Nullable * _Nullable)dict error:(NSError * _Nullable * _Nullable)error |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 9.0 |
Modified NSTextWritingDirectionEmbedding
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 9.0 |
Modified NSTextWritingDirectionOverride
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 9.0 |
NSDataAsset.h (Added)
NSLayoutAnchor.h (Added)
NSLayoutConstraint.h
| Declaration | |
|---|---|
| From | + (void)activateConstraints:(NSArray *)constraints |
| To | + (void)activateConstraints:(NSArray<NSLayoutConstraint *> * _Nonnull)constraints |
| Declaration | |
|---|---|
| From | + (NSArray *)constraintsWithVisualFormat:(NSString *)format options:(NSLayoutFormatOptions)opts metrics:(NSDictionary *)metrics views:(NSDictionary *)views |
| To | + (NSArray<__kindof NSLayoutConstraint *> * _Nonnull)constraintsWithVisualFormat:(NSString * _Nonnull)format options:(NSLayoutFormatOptions)opts metrics:(NSDictionary<NSString *,id> * _Nullable)metrics views:(NSDictionary<NSString *,id> * _Nonnull)views |
| Declaration | |
|---|---|
| From | + (void)deactivateConstraints:(NSArray *)constraints |
| To | + (void)deactivateConstraints:(NSArray<NSLayoutConstraint *> * _Nonnull)constraints |
NSLayoutManager.h
Added -[NSLayoutManager init]
Added -[NSLayoutManager lineFragmentUsedRectForGlyphAtIndex:effectiveRange:withoutAdditionalLayout:]
Added NSLayoutManager(NSLayoutManagerDeprecated)
Modified -[NSLayoutManager glyphAtIndex:]
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 9.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 9.0 |
| Declaration | |
|---|---|
| From | - (void)showCGGlyphs:(const CGGlyph *)glyphs positions:(const CGPoint *)positions count:(NSUInteger)glyphCount font:(UIFont *)font matrix:(CGAffineTransform)textMatrix attributes:(NSDictionary *)attributes inContext:(CGContextRef)graphicsContext |
| To | - (void)showCGGlyphs:(const CGGlyph * _Nonnull)glyphs positions:(const CGPoint * _Nonnull)positions count:(NSUInteger)glyphCount font:(UIFont * _Nonnull)font matrix:(CGAffineTransform)textMatrix attributes:(NSDictionary<NSString *,id> * _Nonnull)attributes inContext:(CGContextRef _Nonnull)graphicsContext |
Modified NSLayoutManager.textContainers
| Declaration | |
|---|---|
| From | @property(readonly, nonatomic) NSArray *textContainers |
| To | @property(readonly, nonatomic, nonnull) NSArray<NSTextContainer *> *textContainers |
| Declaration | |
|---|---|
| From | @property(nonatomic) NSTextLayoutOrientation layoutOrientation |
| To | @property(readonly, nonatomic) NSTextLayoutOrientation layoutOrientation |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 9.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 9.0 |
Modified NSControlCharacterLineBreakAction
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 9.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 9.0 |
Modified NSControlCharacterWhitespaceAction
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 9.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 9.0 |
NSParagraphStyle.h
Modified NSMutableParagraphStyle.alignment
| Declaration | |
|---|---|
| From | @property(readwrite) NSTextAlignment alignment |
| To | @property(nonatomic) NSTextAlignment alignment |
| Declaration | |
|---|---|
| From | @property(readwrite) NSWritingDirection baseWritingDirection |
| To | @property(nonatomic) NSWritingDirection baseWritingDirection |
| Declaration | |
|---|---|
| From | @property(readwrite, nonatomic) CGFloat defaultTabInterval |
| To | @property(nonatomic) CGFloat defaultTabInterval |
| Declaration | |
|---|---|
| From | @property(readwrite) CGFloat firstLineHeadIndent |
| To | @property(nonatomic) CGFloat firstLineHeadIndent |
Modified NSMutableParagraphStyle.headIndent
| Declaration | |
|---|---|
| From | @property(readwrite) CGFloat headIndent |
| To | @property(nonatomic) CGFloat headIndent |
| Declaration | |
|---|---|
| From | @property(readwrite) float hyphenationFactor |
| To | @property(nonatomic) float hyphenationFactor |
| Declaration | |
|---|---|
| From | @property(readwrite) NSLineBreakMode lineBreakMode |
| To | @property(nonatomic) NSLineBreakMode lineBreakMode |
| Declaration | |
|---|---|
| From | @property(readwrite) CGFloat lineHeightMultiple |
| To | @property(nonatomic) CGFloat lineHeightMultiple |
Modified NSMutableParagraphStyle.lineSpacing
| Declaration | |
|---|---|
| From | @property(readwrite) CGFloat lineSpacing |
| To | @property(nonatomic) CGFloat lineSpacing |
| Declaration | |
|---|---|
| From | @property(readwrite) CGFloat maximumLineHeight |
| To | @property(nonatomic) CGFloat maximumLineHeight |
| Declaration | |
|---|---|
| From | @property(readwrite) CGFloat minimumLineHeight |
| To | @property(nonatomic) CGFloat minimumLineHeight |
| Declaration | |
|---|---|
| From | @property(readwrite) CGFloat paragraphSpacing |
| To | @property(nonatomic) CGFloat paragraphSpacing |
| Declaration | |
|---|---|
| From | @property(readwrite) CGFloat paragraphSpacingBefore |
| To | @property(nonatomic) CGFloat paragraphSpacingBefore |
Modified NSMutableParagraphStyle.tabStops
| Declaration | |
|---|---|
| From | @property(readwrite, copy, nonatomic) NSArray *tabStops |
| To | @property(copy, nonatomic) NSArray<NSTextTab *> * _Null_unspecified tabStops |
Modified NSMutableParagraphStyle.tailIndent
| Declaration | |
|---|---|
| From | @property(readwrite) CGFloat tailIndent |
| To | @property(nonatomic) CGFloat tailIndent |
Modified NSParagraphStyle
| Protocols | |
|---|---|
| From | NSCoding, NSCopying, NSMutableCopying |
| To | NSCopying, NSMutableCopying, NSSecureCoding |
Modified NSParagraphStyle.alignment
| Declaration | |
|---|---|
| From | @property(readonly) NSTextAlignment alignment |
| To | @property(readonly, nonatomic) NSTextAlignment alignment |
| Declaration | |
|---|---|
| From | @property(readonly) NSWritingDirection baseWritingDirection |
| To | @property(readonly, nonatomic) NSWritingDirection baseWritingDirection |
Modified NSParagraphStyle.firstLineHeadIndent
| Declaration | |
|---|---|
| From | @property(readonly) CGFloat firstLineHeadIndent |
| To | @property(readonly, nonatomic) CGFloat firstLineHeadIndent |
Modified NSParagraphStyle.headIndent
| Declaration | |
|---|---|
| From | @property(readonly) CGFloat headIndent |
| To | @property(readonly, nonatomic) CGFloat headIndent |
Modified NSParagraphStyle.hyphenationFactor
| Declaration | |
|---|---|
| From | @property(readonly) float hyphenationFactor |
| To | @property(readonly, nonatomic) float hyphenationFactor |
Modified NSParagraphStyle.lineBreakMode
| Declaration | |
|---|---|
| From | @property(readonly) NSLineBreakMode lineBreakMode |
| To | @property(readonly, nonatomic) NSLineBreakMode lineBreakMode |
Modified NSParagraphStyle.lineHeightMultiple
| Declaration | |
|---|---|
| From | @property(readonly) CGFloat lineHeightMultiple |
| To | @property(readonly, nonatomic) CGFloat lineHeightMultiple |
Modified NSParagraphStyle.lineSpacing
| Declaration | |
|---|---|
| From | @property(readonly) CGFloat lineSpacing |
| To | @property(readonly, nonatomic) CGFloat lineSpacing |
Modified NSParagraphStyle.maximumLineHeight
| Declaration | |
|---|---|
| From | @property(readonly) CGFloat maximumLineHeight |
| To | @property(readonly, nonatomic) CGFloat maximumLineHeight |
Modified NSParagraphStyle.minimumLineHeight
| Declaration | |
|---|---|
| From | @property(readonly) CGFloat minimumLineHeight |
| To | @property(readonly, nonatomic) CGFloat minimumLineHeight |
Modified NSParagraphStyle.paragraphSpacing
| Declaration | |
|---|---|
| From | @property(readonly) CGFloat paragraphSpacing |
| To | @property(readonly, nonatomic) CGFloat paragraphSpacing |
| Declaration | |
|---|---|
| From | @property(readonly) CGFloat paragraphSpacingBefore |
| To | @property(readonly, nonatomic) CGFloat paragraphSpacingBefore |
Modified NSParagraphStyle.tabStops
| Declaration | |
|---|---|
| From | @property(readonly, copy, nonatomic) NSArray *tabStops |
| To | @property(readonly, copy, nonatomic, nonnull) NSArray<NSTextTab *> *tabStops |
Modified NSParagraphStyle.tailIndent
| Declaration | |
|---|---|
| From | @property(readonly) CGFloat tailIndent |
| To | @property(readonly, nonatomic) CGFloat tailIndent |
Modified NSTextTab.alignment
| Declaration | |
|---|---|
| From | @property(readonly) NSTextAlignment alignment |
| To | @property(readonly, nonatomic) NSTextAlignment alignment |
| Declaration | Designated Initializer | |
|---|---|---|
| From | - (instancetype)initWithTextAlignment:(NSTextAlignment)alignment location:(CGFloat)loc options:(NSDictionary *)options | -- |
| To | - (instancetype _Nonnull)initWithTextAlignment:(NSTextAlignment)alignment location:(CGFloat)loc options:(NSDictionary<NSString *,id> * _Nonnull)options | yes |
Modified NSTextTab.location
| Declaration | |
|---|---|
| From | @property(readonly) CGFloat location |
| To | @property(readonly, nonatomic) CGFloat location |
Modified NSTextTab.options
| Declaration | |
|---|---|
| From | @property(readonly) NSDictionary *options |
| To | @property(readonly, nonatomic, nonnull) NSDictionary<NSString *,id> *options |
NSShadow.h
Added -[NSShadow init]
Modified NSShadow.shadowColor
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) id shadowColor |
| To | @property(nonatomic, strong, nullable) id shadowColor |
NSStringDrawing.h
Added NSStringDrawingContext(NSStringDrawingContextDeprecated)
| Declaration | |
|---|---|
| From | - (CGRect)boundingRectWithSize:(CGSize)size options:(NSStringDrawingOptions)options attributes:(NSDictionary *)attributes context:(NSStringDrawingContext *)context |
| To | - (CGRect)boundingRectWithSize:(CGSize)size options:(NSStringDrawingOptions)options attributes:(NSDictionary<NSString *,id> * _Nullable)attributes context:(NSStringDrawingContext * _Nullable)context |
| Declaration | |
|---|---|
| From | - (void)drawAtPoint:(CGPoint)point withAttributes:(NSDictionary *)attrs |
| To | - (void)drawAtPoint:(CGPoint)point withAttributes:(NSDictionary<NSString *,id> * _Nullable)attrs |
| Declaration | |
|---|---|
| From | - (void)drawInRect:(CGRect)rect withAttributes:(NSDictionary *)attrs |
| To | - (void)drawInRect:(CGRect)rect withAttributes:(NSDictionary<NSString *,id> * _Nullable)attrs |
| Declaration | |
|---|---|
| From | - (void)drawWithRect:(CGRect)rect options:(NSStringDrawingOptions)options attributes:(NSDictionary *)attributes context:(NSStringDrawingContext *)context |
| To | - (void)drawWithRect:(CGRect)rect options:(NSStringDrawingOptions)options attributes:(NSDictionary<NSString *,id> * _Nullable)attributes context:(NSStringDrawingContext * _Nullable)context |
Modified -[NSString sizeWithAttributes:]
| Declaration | |
|---|---|
| From | - (CGSize)sizeWithAttributes:(NSDictionary *)attrs |
| To | - (CGSize)sizeWithAttributes:(NSDictionary<NSString *,id> * _Nullable)attrs |
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly) CGFloat actualScaleFactor |
| To | @property(readonly, nonatomic) CGFloat actualScaleFactor |
Modified NSStringDrawingContext.totalBounds
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly) CGRect totalBounds |
| To | @property(readonly, nonatomic) CGRect totalBounds |
NSTextAttachment.h
Modified NSTextAttachment.contents
| Declaration | |
|---|---|
| From | @property(retain, nonatomic) NSData *contents |
| To | @property(copy, nonatomic, nullable) NSData *contents |
Modified NSTextAttachment.fileType
| Declaration | |
|---|---|
| From | @property(retain, nonatomic) NSString *fileType |
| To | @property(copy, nonatomic, nullable) NSString *fileType |
Modified NSTextAttachment.fileWrapper
| Declaration | |
|---|---|
| From | @property(retain, nonatomic) NSFileWrapper *fileWrapper |
| To | @property(strong, nonatomic, nullable) NSFileWrapper *fileWrapper |
Modified NSTextAttachment.image
| Declaration | |
|---|---|
| From | @property(retain, nonatomic) UIImage *image |
| To | @property(strong, nonatomic, nullable) UIImage *image |
| Designated Initializer | |
|---|---|
| From | -- |
| To | yes |
NSTextContainer.h
Modified NSTextContainer.exclusionPaths
| Declaration | |
|---|---|
| From | @property(copy, nonatomic) NSArray *exclusionPaths |
| To | @property(copy, nonatomic, nonnull) NSArray<UIBezierPath *> *exclusionPaths |
Modified -[NSTextContainer initWithSize:]
| Designated Initializer | |
|---|---|
| From | -- |
| To | yes |
NSTextStorage.h
Modified NSTextStorage.changeInLength
| Declaration | |
|---|---|
| From | @property(nonatomic) NSInteger changeInLength |
| To | @property(readonly, nonatomic) NSInteger changeInLength |
Modified NSTextStorage.editedMask
| Declaration | |
|---|---|
| From | @property(nonatomic) NSTextStorageEditActions editedMask |
| To | @property(readonly, nonatomic) NSTextStorageEditActions editedMask |
Modified NSTextStorage.editedRange
| Declaration | |
|---|---|
| From | @property(nonatomic) NSRange editedRange |
| To | @property(readonly, nonatomic) NSRange editedRange |
Modified NSTextStorage.layoutManagers
| Declaration | |
|---|---|
| From | @property(readonly, nonatomic) NSArray *layoutManagers |
| To | @property(readonly, copy, nonatomic, nonnull) NSArray<NSLayoutManager *> *layoutManagers |
UIAccelerometer.h
Modified UIAccelerometer.delegate
| Declaration | |
|---|---|
| From | @property(nonatomic, assign) id<UIAccelerometerDelegate> delegate |
| To | @property(nonatomic, weak, nullable) id<UIAccelerometerDelegate> delegate |
UIAccessibility.h
Modified NSObject.accessibilityCustomActions
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) NSArray *accessibilityCustomActions |
| To | @property(nonatomic, strong, nullable) NSArray<UIAccessibilityCustomAction *> *accessibilityCustomActions |
Modified NSObject.accessibilityLanguage
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) NSString *accessibilityLanguage |
| To | @property(nonatomic, strong, nullable) NSString *accessibilityLanguage |
UIAccessibilityConstants.h
UIAccessibilityElement.h
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) NSString *accessibilityHint |
| To | @property(nonatomic, strong, nullable) NSString *accessibilityHint |
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) NSString *accessibilityLabel |
| To | @property(nonatomic, strong, nullable) NSString *accessibilityLabel |
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) NSString *accessibilityValue |
| To | @property(nonatomic, strong, nullable) NSString *accessibilityValue |
UIActionSheet.h
Modified UIActionSheet
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 8.3 |
Modified UIActionSheet.actionSheetStyle
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 8.3 |
Modified -[UIActionSheet addButtonWithTitle:]
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 8.3 |
Modified -[UIActionSheet buttonTitleAtIndex:]
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 8.3 |
Modified UIActionSheet.cancelButtonIndex
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 8.3 |
Modified UIActionSheet.delegate
| Declaration | Deprecation | |
|---|---|---|
| From | @property(nonatomic, assign) id<UIActionSheetDelegate> delegate | -- |
| To | @property(nonatomic, weak, nullable) id<UIActionSheetDelegate> delegate | iOS 8.3 |
Modified UIActionSheet.destructiveButtonIndex
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 8.3 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 8.3 |
Modified UIActionSheet.firstOtherButtonIndex
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 8.3 |
Modified -[UIActionSheet initWithTitle:delegate:cancelButtonTitle:destructiveButtonTitle:otherButtonTitles:]
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 8.3 |
Modified UIActionSheet.numberOfButtons
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 8.3 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 8.3 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 8.3 |
Modified -[UIActionSheet showFromTabBar:]
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 8.3 |
Modified -[UIActionSheet showFromToolbar:]
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 8.3 |
Modified -[UIActionSheet showInView:]
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 8.3 |
Modified UIActionSheet.title
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 8.3 |
Modified UIActionSheet.visible
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 8.3 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 8.3 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 8.3 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 8.3 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 8.3 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 8.3 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 8.3 |
UIActivity.h
UIActivityIndicatorView.h
Modified UIActivityIndicatorView.color
| Declaration | |
|---|---|
| From | @property(readwrite, nonatomic, retain) UIColor *color |
| To | @property(readwrite, nonatomic, strong, nullable) UIColor *color |
| Designated Initializer | |
|---|---|
| From | -- |
| To | yes |
UIActivityItemProvider.h
Modified UIActivityItemProvider.activityType
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly) NSString *activityType |
| To | @property(nonatomic, copy, readonly, nullable) NSString *activityType |
| Designated Initializer | |
|---|---|
| From | -- |
| To | yes |
| Declaration | |
|---|---|
| From | @property(nonatomic, retain, readonly) id placeholderItem |
| To | @property(nonatomic, strong, readonly, nullable) id placeholderItem |
UIActivityViewController.h
| Declaration | |
|---|---|
| From | @property(nonatomic, copy) NSArray *excludedActivityTypes |
| To | @property(nonatomic, copy, nullable) NSArray<NSString *> *excludedActivityTypes |
| Declaration | Designated Initializer | |
|---|---|---|
| From | - (instancetype)initWithActivityItems:(NSArray *)activityItems applicationActivities:(NSArray *)applicationActivities | -- |
| To | - (instancetype _Nonnull)initWithActivityItems:(NSArray * _Nonnull)activityItems applicationActivities:(NSArray<__kindof UIActivity *> * _Nullable)applicationActivities | yes |
UIAlertController.h
Modified UIAlertController.actions
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly) NSArray *actions |
| To | @property(nonatomic, readonly, nonnull) NSArray<UIAlertAction *> *actions |
Modified UIAlertController.textFields
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly) NSArray *textFields |
| To | @property(nonatomic, readonly, nullable) NSArray<UITextField *> *textFields |
UIAlertView.h
Modified UIAlertView
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 9.0 |
Modified -[UIAlertView addButtonWithTitle:]
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 9.0 |
Modified UIAlertView.alertViewStyle
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 9.0 |
Modified -[UIAlertView buttonTitleAtIndex:]
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 9.0 |
Modified UIAlertView.cancelButtonIndex
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 9.0 |
Modified UIAlertView.delegate
| Declaration | Deprecation | |
|---|---|---|
| From | @property(nonatomic, assign) id delegate | -- |
| To | @property(nonatomic, weak, nullable) id delegate | iOS 9.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 9.0 |
Modified UIAlertView.firstOtherButtonIndex
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 9.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 9.0 |
Modified UIAlertView.message
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 9.0 |
Modified UIAlertView.numberOfButtons
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 9.0 |
Modified -[UIAlertView show]
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 9.0 |
Modified -[UIAlertView textFieldAtIndex:]
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 9.0 |
Modified UIAlertView.title
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 9.0 |
Modified UIAlertView.visible
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 9.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 9.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 9.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 9.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 9.0 |
| Introduction | Deprecation | |
|---|---|---|
| From | iOS 5.0 | -- |
| To | iOS 2.0 | iOS 9.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 9.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 9.0 |
UIAppearance.h
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 9.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 9.0 |
UIApplication.h
Added UIApplication(UIShortcutItems)
Modified UIApplication
| Protocols | |
|---|---|
| From | UIActionSheetDelegate |
| To | -- |
| Override Requires Super | |
|---|---|
| From | -- |
| To | yes |
| Override Requires Super | |
|---|---|
| From | -- |
| To | yes |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 9.0 |
Modified -[UIApplication endBackgroundTask:]
| Override Requires Super | |
|---|---|
| From | -- |
| To | yes |
| Declaration | |
|---|---|
| From | @property(nonatomic, copy) NSArray *scheduledLocalNotifications |
| To | @property(nonatomic, copy, nullable) NSArray<UILocalNotification *> *scheduledLocalNotifications |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 9.0 |
| Introduction | Deprecation | |
|---|---|---|
| From | iOS 5.0 | -- |
| To | iOS 9.0 | iOS 9.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 9.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 9.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 9.0 |
Modified UIApplication.statusBarHidden
| Declaration | Deprecation | |
|---|---|---|
| From | @property(nonatomic, getter=isStatusBarHidden) BOOL statusBarHidden | -- |
| To | @property(readonly, nonatomic, getter=isStatusBarHidden) BOOL statusBarHidden | iOS 9.0 |
Modified UIApplication.statusBarOrientation
| Declaration | Deprecation | |
|---|---|---|
| From | @property(nonatomic) UIInterfaceOrientation statusBarOrientation | -- |
| To | @property(readonly, nonatomic) UIInterfaceOrientation statusBarOrientation | iOS 9.0 |
Modified UIApplication.statusBarStyle
| Declaration | Deprecation | |
|---|---|---|
| From | @property(nonatomic) UIStatusBarStyle statusBarStyle | -- |
| To | @property(readonly, nonatomic) UIStatusBarStyle statusBarStyle | iOS 9.0 |
| Declaration | |
|---|---|
| From | - (NSUInteger)supportedInterfaceOrientationsForWindow:(UIWindow *)window |
| To | - (UIInterfaceOrientationMask)supportedInterfaceOrientationsForWindow:(UIWindow * _Nullable)window |
Modified UIApplication.windows
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly) NSArray *windows |
| To | @property(nonatomic, readonly, nonnull) NSArray<__kindof UIWindow *> *windows |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 9.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 9.0 |
| Declaration | |
|---|---|
| From | - (NSUInteger)application:(UIApplication *)application supportedInterfaceOrientationsForWindow:(UIWindow *)window |
| To | - (UIInterfaceOrientationMask)application:(UIApplication * _Nonnull)application supportedInterfaceOrientationsForWindow:(UIWindow * _Nullable)window |
Modified UIApplicationDelegate.window
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIWindow *window |
| To | @property(nonatomic, strong, nullable) UIWindow *window |
Modified UIUserInterfaceLayoutDirection
| Header | |
|---|---|
| From | UIKit/UIApplication.h |
| To | UIKit/UIView.h |
| Header | |
|---|---|
| From | UIKit/UIApplication.h |
| To | UIKit/UIView.h |
| Header | |
|---|---|
| From | UIKit/UIApplication.h |
| To | UIKit/UIView.h |
UIApplicationShortcutItem.h (Added)
UIAttachmentBehavior.h
Added +[UIAttachmentBehavior limitAttachmentWithItem:offsetFromCenter:attachedToItem:offsetFromCenter:]
Added +[UIAttachmentBehavior slidingAttachmentWithItem:attachedToItem:attachmentAnchor:axisOfTranslation:]
Added UIFloatRange
Added UIFloatRangeInfinite
Added UIFloatRangeIsInfinite()
Added UIFloatRangeMake()
Added UIFloatRangeZero
| Designated Initializer | |
|---|---|
| From | -- |
| To | yes |
| Designated Initializer | |
|---|---|
| From | -- |
| To | yes |
Modified UIAttachmentBehavior.items
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, copy) NSArray *items |
| To | @property(nonatomic, readonly, copy, nonnull) NSArray<id<UIDynamicItem>> *items |
UIBarButtonItem.h
Modified UIBarButtonItem.customView
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIView *customView |
| To | @property(nonatomic, strong, nullable) __kindof UIView *customView |
Modified UIBarButtonItem.possibleTitles
| Declaration | |
|---|---|
| From | @property(nonatomic, copy) NSSet *possibleTitles |
| To | @property(nonatomic, copy, nullable) NSSet<NSString *> *possibleTitles |
Modified UIBarButtonItem.target
| Declaration | |
|---|---|
| From | @property(nonatomic, assign) id target |
| To | @property(nonatomic, weak, nullable) id target |
Modified UIBarButtonItem.tintColor
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIColor *tintColor |
| To | @property(nonatomic, strong, nullable) UIColor *tintColor |
UIBarButtonItemGroup.h (Added)
Added UIBarButtonItemGroup
Added UIBarButtonItem(UIBarButtonItemGroup)
UIBarItem.h
Added -[UIBarItem init]
Modified UIBarItem
| Protocols | |
|---|---|
| From | UIAppearance |
| To | NSCoding, UIAppearance |
Modified UIBarItem.image
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIImage *image |
| To | @property(nonatomic, strong, nullable) UIImage *image |
Modified UIBarItem.landscapeImagePhone
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIImage *landscapeImagePhone |
| To | @property(nonatomic, strong, nullable) UIImage *landscapeImagePhone |
| Declaration | |
|---|---|
| From | - (void)setTitleTextAttributes:(NSDictionary *)attributes forState:(UIControlState)state |
| To | - (void)setTitleTextAttributes:(NSDictionary<NSString *,id> * _Nullable)attributes forState:(UIControlState)state |
| Declaration | |
|---|---|
| From | - (NSDictionary *)titleTextAttributesForState:(UIControlState)state |
| To | - (NSDictionary<NSString *,id> * _Nullable)titleTextAttributesForState:(UIControlState)state |
UIBezierPath.h
Added -[UIBezierPath init]
Modified +[UIBezierPath bezierPath]
| Declaration | |
|---|---|
| From | + (UIBezierPath *)bezierPath |
| To | + (instancetype _Nonnull)bezierPath |
| Declaration | |
|---|---|
| From | + (UIBezierPath *)bezierPathWithArcCenter:(CGPoint)center radius:(CGFloat)radius startAngle:(CGFloat)startAngle endAngle:(CGFloat)endAngle clockwise:(BOOL)clockwise |
| To | + (instancetype _Nonnull)bezierPathWithArcCenter:(CGPoint)center radius:(CGFloat)radius startAngle:(CGFloat)startAngle endAngle:(CGFloat)endAngle clockwise:(BOOL)clockwise |
| Declaration | |
|---|---|
| From | + (UIBezierPath *)bezierPathWithCGPath:(CGPathRef)CGPath |
| To | + (instancetype _Nonnull)bezierPathWithCGPath:(CGPathRef _Nonnull)CGPath |
| Declaration | |
|---|---|
| From | + (UIBezierPath *)bezierPathWithOvalInRect:(CGRect)rect |
| To | + (instancetype _Nonnull)bezierPathWithOvalInRect:(CGRect)rect |
Modified +[UIBezierPath bezierPathWithRect:]
| Declaration | |
|---|---|
| From | + (UIBezierPath *)bezierPathWithRect:(CGRect)rect |
| To | + (instancetype _Nonnull)bezierPathWithRect:(CGRect)rect |
| Declaration | |
|---|---|
| From | + (UIBezierPath *)bezierPathWithRoundedRect:(CGRect)rect byRoundingCorners:(UIRectCorner)corners cornerRadii:(CGSize)cornerRadii |
| To | + (instancetype _Nonnull)bezierPathWithRoundedRect:(CGRect)rect byRoundingCorners:(UIRectCorner)corners cornerRadii:(CGSize)cornerRadii |
| Declaration | |
|---|---|
| From | + (UIBezierPath *)bezierPathWithRoundedRect:(CGRect)rect cornerRadius:(CGFloat)cornerRadius |
| To | + (instancetype _Nonnull)bezierPathWithRoundedRect:(CGRect)rect cornerRadius:(CGFloat)cornerRadius |
UIButton.h
Modified +[UIButton buttonWithType:]
| Declaration | |
|---|---|
| From | + (id)buttonWithType:(UIButtonType)buttonType |
| To | + (instancetype _Nonnull)buttonWithType:(UIButtonType)buttonType |
Modified UIButton.currentAttributedTitle
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, retain) NSAttributedString *currentAttributedTitle |
| To | @property(nonatomic, readonly, strong, nullable) NSAttributedString *currentAttributedTitle |
Modified UIButton.currentBackgroundImage
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, retain) UIImage *currentBackgroundImage |
| To | @property(nonatomic, readonly, strong, nullable) UIImage *currentBackgroundImage |
Modified UIButton.currentImage
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, retain) UIImage *currentImage |
| To | @property(nonatomic, readonly, strong, nullable) UIImage *currentImage |
Modified UIButton.currentTitle
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, retain) NSString *currentTitle |
| To | @property(nonatomic, readonly, strong, nullable) NSString *currentTitle |
Modified UIButton.currentTitleColor
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, retain) UIColor *currentTitleColor |
| To | @property(nonatomic, readonly, strong, nonnull) UIColor *currentTitleColor |
Modified UIButton.currentTitleShadowColor
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, retain) UIColor *currentTitleShadowColor |
| To | @property(nonatomic, readonly, strong, nullable) UIColor *currentTitleShadowColor |
Modified UIButton.font
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIFont *font |
| To | @property(nonatomic, strong, nonnull) UIFont *font |
Modified UIButton.imageView
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, retain) UIImageView *imageView |
| To | @property(nonatomic, readonly, strong, nullable) UIImageView *imageView |
Modified UIButton.tintColor
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIColor *tintColor |
| To | @property(nonatomic, strong) UIColor * _Null_unspecified tintColor |
Modified UIButton.titleLabel
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, retain) UILabel *titleLabel |
| To | @property(nonatomic, readonly, strong, nullable) UILabel *titleLabel |
UICollectionView.h
| Declaration | |
|---|---|
| From | + (NSIndexPath *)indexPathForItem:(NSInteger)item inSection:(NSInteger)section |
| To | + (instancetype _Nonnull)indexPathForItem:(NSInteger)item inSection:(NSInteger)section |
Modified UICollectionView.backgroundView
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIView *backgroundView |
| To | @property(nonatomic, strong, nullable) UIView *backgroundView |
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UICollectionViewLayout *collectionViewLayout |
| To | @property(nonatomic, strong, nonnull) UICollectionViewLayout *collectionViewLayout |
Modified UICollectionView.dataSource
| Declaration | |
|---|---|
| From | @property(nonatomic, assign) id<UICollectionViewDataSource> dataSource |
| To | @property(nonatomic, weak, nullable) id<UICollectionViewDataSource> dataSource |
Modified UICollectionView.delegate
| Declaration | |
|---|---|
| From | @property(nonatomic, assign) id<UICollectionViewDelegate> delegate |
| To | @property(nonatomic, weak, nullable) id<UICollectionViewDelegate> delegate |
| Declaration | |
|---|---|
| From | - (void)deleteItemsAtIndexPaths:(NSArray *)indexPaths |
| To | - (void)deleteItemsAtIndexPaths:(NSArray<NSIndexPath *> * _Nonnull)indexPaths |
| Declaration | |
|---|---|
| From | - (id)dequeueReusableCellWithReuseIdentifier:(NSString *)identifier forIndexPath:(NSIndexPath *)indexPath |
| To | - (__kindof UICollectionViewCell * _Nonnull)dequeueReusableCellWithReuseIdentifier:(NSString * _Nonnull)identifier forIndexPath:(NSIndexPath * _Nonnull)indexPath |
Modified -[UICollectionView dequeueReusableSupplementaryViewOfKind:withReuseIdentifier:forIndexPath:]
| Declaration | |
|---|---|
| From | - (id)dequeueReusableSupplementaryViewOfKind:(NSString *)elementKind withReuseIdentifier:(NSString *)identifier forIndexPath:(NSIndexPath *)indexPath |
| To | - (__kindof UICollectionReusableView * _Nonnull)dequeueReusableSupplementaryViewOfKind:(NSString * _Nonnull)elementKind withReuseIdentifier:(NSString * _Nonnull)identifier forIndexPath:(NSIndexPath * _Nonnull)indexPath |
| Declaration | |
|---|---|
| From | - (NSArray *)indexPathsForSelectedItems |
| To | - (NSArray<NSIndexPath *> * _Nullable)indexPathsForSelectedItems |
| Declaration | |
|---|---|
| From | - (NSArray *)indexPathsForVisibleItems |
| To | - (NSArray<NSIndexPath *> * _Nonnull)indexPathsForVisibleItems |
| Designated Initializer | |
|---|---|
| From | -- |
| To | yes |
| Declaration | |
|---|---|
| From | - (void)insertItemsAtIndexPaths:(NSArray *)indexPaths |
| To | - (void)insertItemsAtIndexPaths:(NSArray<NSIndexPath *> * _Nonnull)indexPaths |
| Declaration | |
|---|---|
| From | - (void)reloadItemsAtIndexPaths:(NSArray *)indexPaths |
| To | - (void)reloadItemsAtIndexPaths:(NSArray<NSIndexPath *> * _Nonnull)indexPaths |
Modified -[UICollectionView visibleCells]
| Declaration | |
|---|---|
| From | - (NSArray *)visibleCells |
| To | - (NSArray<__kindof UICollectionViewCell *> * _Nonnull)visibleCells |
UICollectionViewCell.h
Modified UICollectionViewCell.backgroundView
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIView *backgroundView |
| To | @property(nonatomic, strong, nullable) UIView *backgroundView |
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIView *selectedBackgroundView |
| To | @property(nonatomic, strong, nullable) UIView *selectedBackgroundView |
UICollectionViewController.h
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UICollectionView *collectionView |
| To | @property(nonatomic, strong, nullable) __kindof UICollectionView *collectionView |
| Designated Initializer | |
|---|---|
| From | -- |
| To | yes |
UICollectionViewFlowLayout.h
UICollectionViewLayout.h
Added -[UICollectionViewLayout layoutAttributesForInteractivelyMovingItemAtIndexPath:withTargetPosition:]
Added UICollectionViewLayout(UIReorderingSupportHooks)
| Declaration | |
|---|---|
| From | - (NSArray *)indexPathsToDeleteForDecorationViewOfKind:(NSString *)elementKind |
| To | - (NSArray<NSIndexPath *> * _Nonnull)indexPathsToDeleteForDecorationViewOfKind:(NSString * _Nonnull)elementKind |
| Declaration | |
|---|---|
| From | - (NSArray *)indexPathsToDeleteForSupplementaryViewOfKind:(NSString *)elementKind |
| To | - (NSArray<NSIndexPath *> * _Nonnull)indexPathsToDeleteForSupplementaryViewOfKind:(NSString * _Nonnull)elementKind |
| Declaration | |
|---|---|
| From | - (NSArray *)indexPathsToInsertForDecorationViewOfKind:(NSString *)elementKind |
| To | - (NSArray<NSIndexPath *> * _Nonnull)indexPathsToInsertForDecorationViewOfKind:(NSString * _Nonnull)elementKind |
| Declaration | |
|---|---|
| From | - (NSArray *)indexPathsToInsertForSupplementaryViewOfKind:(NSString *)elementKind |
| To | - (NSArray<NSIndexPath *> * _Nonnull)indexPathsToInsertForSupplementaryViewOfKind:(NSString * _Nonnull)elementKind |
| Declaration | |
|---|---|
| From | - (NSArray *)layoutAttributesForElementsInRect:(CGRect)rect |
| To | - (NSArray<__kindof UICollectionViewLayoutAttributes *> * _Nullable)layoutAttributesForElementsInRect:(CGRect)rect |
| Declaration | |
|---|---|
| From | - (void)prepareForCollectionViewUpdates:(NSArray *)updateItems |
| To | - (void)prepareForCollectionViewUpdates:(NSArray<UICollectionViewUpdateItem *> * _Nonnull)updateItems |
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) NSIndexPath *indexPath |
| To | @property(nonatomic, strong, nonnull) NSIndexPath *indexPath |
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly) NSDictionary *invalidatedDecorationIndexPaths |
| To | @property(nonatomic, readonly, nullable) NSDictionary<NSString *,NSArray<NSIndexPath *> *> *invalidatedDecorationIndexPaths |
Modified -[UICollectionViewLayoutInvalidationContext invalidateDecorationElementsOfKind:atIndexPaths:]
| Declaration | |
|---|---|
| From | - (void)invalidateDecorationElementsOfKind:(NSString *)elementKind atIndexPaths:(NSArray *)indexPaths |
| To | - (void)invalidateDecorationElementsOfKind:(NSString * _Nonnull)elementKind atIndexPaths:(NSArray<NSIndexPath *> * _Nonnull)indexPaths |
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly) NSArray *invalidatedItemIndexPaths |
| To | @property(nonatomic, readonly, nullable) NSArray<NSIndexPath *> *invalidatedItemIndexPaths |
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly) NSDictionary *invalidatedSupplementaryIndexPaths |
| To | @property(nonatomic, readonly, nullable) NSDictionary<NSString *,NSArray<NSIndexPath *> *> *invalidatedSupplementaryIndexPaths |
| Declaration | |
|---|---|
| From | - (void)invalidateItemsAtIndexPaths:(NSArray *)indexPaths |
| To | - (void)invalidateItemsAtIndexPaths:(NSArray<NSIndexPath *> * _Nonnull)indexPaths |
Modified -[UICollectionViewLayoutInvalidationContext invalidateSupplementaryElementsOfKind:atIndexPaths:]
| Declaration | |
|---|---|
| From | - (void)invalidateSupplementaryElementsOfKind:(NSString *)elementKind atIndexPaths:(NSArray *)indexPaths |
| To | - (void)invalidateSupplementaryElementsOfKind:(NSString * _Nonnull)elementKind atIndexPaths:(NSArray<NSIndexPath *> * _Nonnull)indexPaths |
UICollectionViewTransitionLayout.h
| Designated Initializer | |
|---|---|
| From | -- |
| To | yes |
UICollisionBehavior.h
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, copy) NSArray *boundaryIdentifiers |
| To | @property(nonatomic, readonly, copy, nullable) NSArray<id<NSCopying>> *boundaryIdentifiers |
| Declaration | |
|---|---|
| From | @property(nonatomic, assign, readwrite) id<UICollisionBehaviorDelegate> collisionDelegate |
| To | @property(nonatomic, weak, readwrite, nullable) id<UICollisionBehaviorDelegate> collisionDelegate |
| Declaration | Designated Initializer | |
|---|---|---|
| From | - (instancetype)initWithItems:(NSArray *)items | -- |
| To | - (instancetype _Nonnull)initWithItems:(NSArray<id<UIDynamicItem>> * _Nonnull)items | yes |
Modified UICollisionBehavior.items
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, copy) NSArray *items |
| To | @property(nonatomic, readonly, copy, nonnull) NSArray<id<UIDynamicItem>> *items |
UIControl.h
| Declaration | |
|---|---|
| From | - (NSArray *)actionsForTarget:(id)target forControlEvent:(UIControlEvents)controlEvent |
| To | - (NSArray<NSString *> * _Nullable)actionsForTarget:(id _Nullable)target forControlEvent:(UIControlEvents)controlEvent |
UIDatePicker.h
Modified UIDatePicker.date
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) NSDate *date |
| To | @property(nonatomic, strong, nonnull) NSDate *date |
Modified UIDatePicker.locale
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) NSLocale *locale |
| To | @property(nonatomic, strong, nullable) NSLocale *locale |
Modified UIDatePicker.maximumDate
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) NSDate *maximumDate |
| To | @property(nonatomic, strong, nullable) NSDate *maximumDate |
Modified UIDatePicker.minimumDate
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) NSDate *minimumDate |
| To | @property(nonatomic, strong, nullable) NSDate *minimumDate |
Modified UIDatePicker.timeZone
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) NSTimeZone *timeZone |
| To | @property(nonatomic, strong, nullable) NSTimeZone *timeZone |
UIDevice.h
Modified UIDevice.identifierForVendor
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, retain) NSUUID *identifierForVendor |
| To | @property(nonatomic, readonly, strong, nullable) NSUUID *identifierForVendor |
Modified UIDevice.localizedModel
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, retain) NSString *localizedModel |
| To | @property(nonatomic, readonly, strong, nonnull) NSString *localizedModel |
Modified UIDevice.model
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, retain) NSString *model |
| To | @property(nonatomic, readonly, strong, nonnull) NSString *model |
Modified UIDevice.name
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, retain) NSString *name |
| To | @property(nonatomic, readonly, strong, nonnull) NSString *name |
Modified UIDevice.systemName
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, retain) NSString *systemName |
| To | @property(nonatomic, readonly, strong, nonnull) NSString *systemName |
Modified UIDevice.systemVersion
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, retain) NSString *systemVersion |
| To | @property(nonatomic, readonly, strong, nonnull) NSString *systemVersion |
UIDocument.h
Modified UIDocument
| Protocols | |
|---|---|
| From | NSFilePresenter |
| To | NSFilePresenter, NSProgressReporting |
Modified -[UIDocument initWithFileURL:]
| Designated Initializer | |
|---|---|
| From | -- |
| To | yes |
Modified UIDocument.undoManager
| Declaration | |
|---|---|
| From | @property(retain) NSUndoManager *undoManager |
| To | @property(strong) NSUndoManager * _Null_unspecified undoManager |
Modified UIDocument.userActivity
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) NSUserActivity *userActivity |
| To | @property(nonatomic, strong, nullable) NSUserActivity *userActivity |
UIDocumentInteractionController.h
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) id annotation |
| To | @property(nonatomic, strong, nullable) id annotation |
| Declaration | |
|---|---|
| From | @property(nonatomic, assign) id<UIDocumentInteractionControllerDelegate> delegate |
| To | @property(nonatomic, weak, nullable) id<UIDocumentInteractionControllerDelegate> delegate |
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly) NSArray *gestureRecognizers |
| To | @property(nonatomic, readonly, nonnull) NSArray<__kindof UIGestureRecognizer *> *gestureRecognizers |
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly) NSArray *icons |
| To | @property(nonatomic, readonly, nonnull) NSArray<UIImage *> *icons |
Modified UIDocumentInteractionController.URL
| Declaration | |
|---|---|
| From | @property(retain) NSURL *URL |
| To | @property(strong, nullable) NSURL *URL |
UIDocumentMenuViewController.h
| Declaration | |
|---|---|
| From | - (instancetype)initWithDocumentTypes:(NSArray *)allowedUTIs inMode:(UIDocumentPickerMode)mode |
| To | - (instancetype _Nonnull)initWithDocumentTypes:(NSArray<NSString *> * _Nonnull)allowedUTIs inMode:(UIDocumentPickerMode)mode |
UIDocumentPickerExtensionViewController.h
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, copy) NSArray *validTypes |
| To | @property(nonatomic, readonly, copy, nullable) NSArray<NSString *> *validTypes |
UIDocumentPickerViewController.h
| Declaration | |
|---|---|
| From | - (instancetype)initWithDocumentTypes:(NSArray *)allowedUTIs inMode:(UIDocumentPickerMode)mode |
| To | - (instancetype _Nonnull)initWithDocumentTypes:(NSArray<NSString *> * _Nonnull)allowedUTIs inMode:(UIDocumentPickerMode)mode |
UIDynamicAnimator.h
Modified UIDynamicAnimator.behaviors
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, copy) NSArray *behaviors |
| To | @property(nonatomic, readonly, copy, nonnull) NSArray<__kindof UIDynamicBehavior *> *behaviors |
Modified UIDynamicAnimator.delegate
| Declaration | |
|---|---|
| From | @property(nonatomic, assign) id<UIDynamicAnimatorDelegate> delegate |
| To | @property(nonatomic, weak, nullable) id<UIDynamicAnimatorDelegate> delegate |
| Designated Initializer | |
|---|---|
| From | -- |
| To | yes |
Modified -[UIDynamicAnimator itemsInRect:]
| Declaration | |
|---|---|
| From | - (NSArray *)itemsInRect:(CGRect)rect |
| To | - (NSArray<id<UIDynamicItem>> * _Nonnull)itemsInRect:(CGRect)rect |
UIDynamicBehavior.h
Added UIDynamicItemGroup
Added UIDynamicItemGroup.items
Modified UIDynamicBehavior.childBehaviors
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, copy) NSArray *childBehaviors |
| To | @property(nonatomic, readonly, copy, nonnull) NSArray<__kindof UIDynamicBehavior *> *childBehaviors |
UIDynamicItemBehavior.h
| Declaration | Designated Initializer | |
|---|---|---|
| From | - (instancetype)initWithItems:(NSArray *)items | -- |
| To | - (instancetype _Nonnull)initWithItems:(NSArray<id<UIDynamicItem>> * _Nonnull)items | yes |
Modified UIDynamicItemBehavior.items
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, copy) NSArray *items |
| To | @property(nonatomic, readonly, copy, nonnull) NSArray<id<UIDynamicItem>> *items |
UIEvent.h
Modified -[UIEvent allTouches]
| Declaration | |
|---|---|
| From | - (NSSet *)allTouches |
| To | - (NSSet<UITouch *> * _Nullable)allTouches |
| Declaration | |
|---|---|
| From | - (NSSet *)touchesForGestureRecognizer:(UIGestureRecognizer *)gesture |
| To | - (NSSet<UITouch *> * _Nullable)touchesForGestureRecognizer:(UIGestureRecognizer * _Nonnull)gesture |
Modified -[UIEvent touchesForView:]
| Declaration | |
|---|---|
| From | - (NSSet *)touchesForView:(UIView *)view |
| To | - (NSSet<UITouch *> * _Nullable)touchesForView:(UIView * _Nonnull)view |
Modified -[UIEvent touchesForWindow:]
| Declaration | |
|---|---|
| From | - (NSSet *)touchesForWindow:(UIWindow *)window |
| To | - (NSSet<UITouch *> * _Nullable)touchesForWindow:(UIWindow * _Nonnull)window |
UIFieldBehavior.h (Added)
Added UIFieldBehavior
Added UIFieldBehavior.falloff
Added UIFieldBehavior.items
Added UIFieldBehavior.position
Added UIFieldBehavior.region
Added UIFieldBehavior.strength
UIFont.h
Modified UIFont.familyName
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, retain) NSString *familyName |
| To | @property(nonatomic, readonly, strong, nonnull) NSString *familyName |
Modified +[UIFont familyNames]
| Declaration | |
|---|---|
| From | + (NSArray *)familyNames |
| To | + (NSArray<NSString *> * _Nonnull)familyNames |
Modified UIFont.fontName
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, retain) NSString *fontName |
| To | @property(nonatomic, readonly, strong, nonnull) NSString *fontName |
Modified +[UIFont fontNamesForFamilyName:]
| Declaration | |
|---|---|
| From | + (NSArray *)fontNamesForFamilyName:(NSString *)familyName |
| To | + (NSArray<NSString *> * _Nonnull)fontNamesForFamilyName:(NSString * _Nonnull)familyName |
UIFontDescriptor.h
Added -[UIFontDescriptor init]
Added UIFontTextStyleCallout
Added UIFontTextStyleTitle1
Added UIFontTextStyleTitle2
Added UIFontTextStyleTitle3
Modified UIFontDescriptor
| Protocols | |
|---|---|
| From | NSCoding, NSCopying |
| To | NSCopying, NSSecureCoding |
Modified -[UIFontDescriptor fontAttributes]
| Declaration | |
|---|---|
| From | - (NSDictionary *)fontAttributes |
| To | - (NSDictionary<NSString *,id> * _Nonnull)fontAttributes |
| Declaration | |
|---|---|
| From | - (UIFontDescriptor *)fontDescriptorByAddingAttributes:(NSDictionary *)attributes |
| To | - (UIFontDescriptor * _Nonnull)fontDescriptorByAddingAttributes:(NSDictionary<NSString *,id> * _Nonnull)attributes |
| Declaration | |
|---|---|
| From | + (UIFontDescriptor *)fontDescriptorWithFontAttributes:(NSDictionary *)attributes |
| To | + (UIFontDescriptor * _Nonnull)fontDescriptorWithFontAttributes:(NSDictionary<NSString *,id> * _Nonnull)attributes |
| Declaration | Designated Initializer | |
|---|---|---|
| From | - (instancetype)initWithFontAttributes:(NSDictionary *)attributes | -- |
| To | - (instancetype _Nonnull)initWithFontAttributes:(NSDictionary<NSString *,id> * _Nonnull)attributes | yes |
| Declaration | |
|---|---|
| From | - (NSArray *)matchingFontDescriptorsWithMandatoryKeys:(NSSet *)mandatoryKeys |
| To | - (NSArray<UIFontDescriptor *> * _Nonnull)matchingFontDescriptorsWithMandatoryKeys:(NSSet<NSString *> * _Nullable)mandatoryKeys |
UIGestureRecognizer.h
Modified UIGestureRecognizer.delegate
| Declaration | |
|---|---|
| From | @property(nonatomic, assign) id<UIGestureRecognizerDelegate> delegate |
| To | @property(nonatomic, weak, nullable) id<UIGestureRecognizerDelegate> delegate |
| Designated Initializer | |
|---|---|
| From | -- |
| To | yes |
UIGestureRecognizerSubclass.h
| Declaration | |
|---|---|
| From | - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event |
| To | - (void)touchesBegan:(NSSet<UITouch *> * _Nonnull)touches withEvent:(UIEvent * _Nonnull)event |
| Declaration | |
|---|---|
| From | - (void)touchesCancelled:(NSSet *)touches withEvent:(UIEvent *)event |
| To | - (void)touchesCancelled:(NSSet<UITouch *> * _Nonnull)touches withEvent:(UIEvent * _Nonnull)event |
| Declaration | |
|---|---|
| From | - (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event |
| To | - (void)touchesEnded:(NSSet<UITouch *> * _Nonnull)touches withEvent:(UIEvent * _Nonnull)event |
| Declaration | |
|---|---|
| From | - (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event |
| To | - (void)touchesMoved:(NSSet<UITouch *> * _Nonnull)touches withEvent:(UIEvent * _Nonnull)event |
UIGravityBehavior.h
Modified -[UIGravityBehavior initWithItems:]
| Declaration | Designated Initializer | |
|---|---|---|
| From | - (instancetype)initWithItems:(NSArray *)items | -- |
| To | - (instancetype _Nonnull)initWithItems:(NSArray<id<UIDynamicItem>> * _Nonnull)items | yes |
Modified UIGravityBehavior.items
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, copy) NSArray *items |
| To | @property(nonatomic, readonly, copy, nonnull) NSArray<id<UIDynamicItem>> *items |
UIGuidedAccessRestrictions.h
| Declaration | |
|---|---|
| From | - (NSArray *)guidedAccessRestrictionIdentifiers |
| To | - (NSArray<NSString *> * _Nullable)guidedAccessRestrictionIdentifiers |
UIImage.h
| Declaration | |
|---|---|
| From | + (UIImage *)animatedImageWithImages:(NSArray *)images duration:(NSTimeInterval)duration |
| To | + (UIImage * _Nullable)animatedImageWithImages:(NSArray<UIImage *> * _Nonnull)images duration:(NSTimeInterval)duration |
Modified UIImage.images
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly) NSArray *images |
| To | @property(nonatomic, readonly, nullable) NSArray<UIImage *> *images |
Modified UIImage.traitCollection
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly) UITraitCollection *traitCollection |
| To | @property(nonatomic, readonly, copy, nonnull) UITraitCollection *traitCollection |
UIImageAsset.h
Added -[UIImageAsset init]
UIImagePickerController.h
| Declaration | |
|---|---|
| From | + (NSArray *)availableCaptureModesForCameraDevice:(UIImagePickerControllerCameraDevice)cameraDevice |
| To | + (NSArray<NSNumber *> * _Nullable)availableCaptureModesForCameraDevice:(UIImagePickerControllerCameraDevice)cameraDevice |
| Declaration | |
|---|---|
| From | + (NSArray *)availableMediaTypesForSourceType:(UIImagePickerControllerSourceType)sourceType |
| To | + (NSArray<NSString *> * _Nullable)availableMediaTypesForSourceType:(UIImagePickerControllerSourceType)sourceType |
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIView *cameraOverlayView |
| To | @property(nonatomic, strong, nullable) __kindof UIView *cameraOverlayView |
Modified UIImagePickerController.delegate
| Declaration | |
|---|---|
| From | @property(nonatomic, assign) id<UINavigationControllerDelegate, UIImagePickerControllerDelegate> delegate |
| To | @property(nonatomic, weak, nullable) id<UINavigationControllerDelegate, UIImagePickerControllerDelegate> delegate |
Modified UIImagePickerController.mediaTypes
| Declaration | |
|---|---|
| From | @property(nonatomic, copy) NSArray *mediaTypes |
| To | @property(nonatomic, copy, nonnull) NSArray<NSString *> *mediaTypes |
Modified -[UIImagePickerControllerDelegate imagePickerController:didFinishPickingImage:editingInfo:]
| Declaration | |
|---|---|
| From | - (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingImage:(UIImage *)image editingInfo:(NSDictionary *)editingInfo |
| To | - (void)imagePickerController:(UIImagePickerController * _Nonnull)picker didFinishPickingImage:(UIImage * _Nonnull)image editingInfo:(NSDictionary<NSString *,id> * _Nullable)editingInfo |
| Declaration | |
|---|---|
| From | - (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info |
| To | - (void)imagePickerController:(UIImagePickerController * _Nonnull)picker didFinishPickingMediaWithInfo:(NSDictionary<NSString *,id> * _Nonnull)info |
UIImageView.h
Modified UIImageView.animationImages
| Declaration | |
|---|---|
| From | @property(nonatomic, copy) NSArray *animationImages |
| To | @property(nonatomic, copy, nullable) NSArray<UIImage *> *animationImages |
| Declaration | |
|---|---|
| From | @property(nonatomic, copy) NSArray *highlightedAnimationImages |
| To | @property(nonatomic, copy, nullable) NSArray<UIImage *> *highlightedAnimationImages |
Modified UIImageView.highlightedImage
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIImage *highlightedImage |
| To | @property(nonatomic, strong, nullable) UIImage *highlightedImage |
Modified UIImageView.image
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIImage *image |
| To | @property(nonatomic, strong, nullable) UIImage *image |
Modified UIImageView.tintColor
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIColor *tintColor |
| To | @property(nonatomic, strong) UIColor * _Null_unspecified tintColor |
UIInputView.h
UIInputViewController.h
Modified UIInputViewController.inputView
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIInputView *inputView |
| To | @property(nonatomic, strong, nullable) UIInputView *inputView |
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly) NSObject<UITextDocumentProxy> *textDocumentProxy |
| To | @property(nonatomic, readonly, nonnull) id<UITextDocumentProxy> textDocumentProxy |
UIKitDefines.h
Added #def UIKIT_AVAILABLE_IOS_ONLY
Added #def UIKIT_AVAILABLE_WATCHOS_ONLY
UILabel.h
Modified UILabel.font
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIFont *font |
| To | @property(nonatomic, strong) UIFont * _Null_unspecified font |
Modified UILabel.highlightedTextColor
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIColor *highlightedTextColor |
| To | @property(nonatomic, strong, nullable) UIColor *highlightedTextColor |
Modified UILabel.shadowColor
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIColor *shadowColor |
| To | @property(nonatomic, strong, nullable) UIColor *shadowColor |
Modified UILabel.textColor
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIColor *textColor |
| To | @property(nonatomic, strong) UIColor * _Null_unspecified textColor |
UILayoutGuide.h (Added)
Added UILayoutGuide
Added UILayoutGuide.identifier
Added UILayoutGuide.leftAnchor
Added UILayoutGuide.owningView
Added UILayoutGuide.topAnchor
UILexicon.h
Modified UILexicon.entries
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly) NSArray *entries |
| To | @property(nonatomic, readonly, nonnull) NSArray<UILexiconEntry *> *entries |
UILocalizedIndexedCollation.h
| Declaration | |
|---|---|
| From | + (id)currentCollation |
| To | + (instancetype _Nonnull)currentCollation |
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly) NSArray *sectionIndexTitles |
| To | @property(nonatomic, readonly, nonnull) NSArray<NSString *> *sectionIndexTitles |
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly) NSArray *sectionTitles |
| To | @property(nonatomic, readonly, nonnull) NSArray<NSString *> *sectionTitles |
UILocalNotification.h
UIManagedDocument.h
| Declaration | |
|---|---|
| From | @property(nonatomic, retain, readonly) NSManagedObjectContext *managedObjectContext |
| To | @property(nonatomic, strong, readonly, nonnull) NSManagedObjectContext *managedObjectContext |
Modified UIManagedDocument.managedObjectModel
| Declaration | |
|---|---|
| From | @property(nonatomic, retain, readonly) NSManagedObjectModel *managedObjectModel |
| To | @property(nonatomic, strong, readonly, nonnull) NSManagedObjectModel *managedObjectModel |
UIMenuController.h
Modified UIMenuController.menuItems
| Declaration | |
|---|---|
| From | @property(nonatomic, copy) NSArray *menuItems |
| To | @property(nonatomic, copy, nullable) NSArray<UIMenuItem *> *menuItems |
Modified -[UIMenuItem initWithTitle:action:]
| Designated Initializer | |
|---|---|
| From | -- |
| To | yes |
UIMotionEffect.h
Added -[UIMotionEffect init]
| Designated Initializer | |
|---|---|
| From | -- |
| To | yes |
| Declaration | |
|---|---|
| From | @property(retain, nonatomic) id maximumRelativeValue |
| To | @property(strong, nonatomic, nullable) id maximumRelativeValue |
| Declaration | |
|---|---|
| From | @property(retain, nonatomic) id minimumRelativeValue |
| To | @property(strong, nonatomic, nullable) id minimumRelativeValue |
| Declaration | |
|---|---|
| From | - (NSDictionary *)keyPathsAndRelativeValuesForViewerOffset:(UIOffset)viewerOffset |
| To | - (NSDictionary<NSString *,id> * _Nullable)keyPathsAndRelativeValuesForViewerOffset:(UIOffset)viewerOffset |
Modified UIMotionEffectGroup.motionEffects
| Declaration | |
|---|---|
| From | @property(copy, nonatomic) NSArray *motionEffects |
| To | @property(copy, nonatomic, nullable) NSArray<__kindof UIMotionEffect *> *motionEffects |
UINavigationBar.h
Modified UINavigationBar.backIndicatorImage
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIImage *backIndicatorImage |
| To | @property(nonatomic, strong, nullable) UIImage *backIndicatorImage |
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIImage *backIndicatorTransitionMaskImage |
| To | @property(nonatomic, strong, nullable) UIImage *backIndicatorTransitionMaskImage |
Modified UINavigationBar.backItem
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, retain) UINavigationItem *backItem |
| To | @property(nonatomic, readonly, strong, nullable) UINavigationItem *backItem |
Modified UINavigationBar.barTintColor
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIColor *barTintColor |
| To | @property(nonatomic, strong, nullable) UIColor *barTintColor |
Modified UINavigationBar.delegate
| Declaration | |
|---|---|
| From | @property(nonatomic, assign) id<UINavigationBarDelegate> delegate |
| To | @property(nonatomic, weak, nullable) id<UINavigationBarDelegate> delegate |
Modified UINavigationBar.items
| Declaration | |
|---|---|
| From | @property(nonatomic, copy) NSArray *items |
| To | @property(nonatomic, copy, nullable) NSArray<UINavigationItem *> *items |
| Declaration | |
|---|---|
| From | - (void)setItems:(NSArray *)items animated:(BOOL)animated |
| To | - (void)setItems:(NSArray<UINavigationItem *> * _Nullable)items animated:(BOOL)animated |
Modified UINavigationBar.shadowImage
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIImage *shadowImage |
| To | @property(nonatomic, strong, nullable) UIImage *shadowImage |
Modified UINavigationBar.tintColor
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIColor *tintColor |
| To | @property(nonatomic, strong) UIColor * _Null_unspecified tintColor |
Modified UINavigationBar.titleTextAttributes
| Declaration | |
|---|---|
| From | @property(nonatomic, copy) NSDictionary *titleTextAttributes |
| To | @property(nonatomic, copy, nullable) NSDictionary<NSString *,id> *titleTextAttributes |
Modified UINavigationBar.topItem
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, retain) UINavigationItem *topItem |
| To | @property(nonatomic, readonly, strong, nullable) UINavigationItem *topItem |
Modified UINavigationBar.translucent
| Ui Appearance Selector | |
|---|---|
| From | -- |
| To | yes |
Modified UINavigationItem.backBarButtonItem
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIBarButtonItem *backBarButtonItem |
| To | @property(nonatomic, strong, nullable) UIBarButtonItem *backBarButtonItem |
Modified -[UINavigationItem initWithTitle:]
| Designated Initializer | |
|---|---|
| From | -- |
| To | yes |
Modified UINavigationItem.leftBarButtonItem
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIBarButtonItem *leftBarButtonItem |
| To | @property(nonatomic, strong, nullable) UIBarButtonItem *leftBarButtonItem |
Modified UINavigationItem.leftBarButtonItems
| Declaration | |
|---|---|
| From | @property(nonatomic, copy) NSArray *leftBarButtonItems |
| To | @property(nonatomic, copy, nullable) NSArray<UIBarButtonItem *> *leftBarButtonItems |
Modified UINavigationItem.rightBarButtonItem
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIBarButtonItem *rightBarButtonItem |
| To | @property(nonatomic, strong, nullable) UIBarButtonItem *rightBarButtonItem |
Modified UINavigationItem.rightBarButtonItems
| Declaration | |
|---|---|
| From | @property(nonatomic, copy) NSArray *rightBarButtonItems |
| To | @property(nonatomic, copy, nullable) NSArray<UIBarButtonItem *> *rightBarButtonItems |
| Declaration | |
|---|---|
| From | - (void)setLeftBarButtonItems:(NSArray *)items animated:(BOOL)animated |
| To | - (void)setLeftBarButtonItems:(NSArray<UIBarButtonItem *> * _Nullable)items animated:(BOOL)animated |
| Declaration | |
|---|---|
| From | - (void)setRightBarButtonItems:(NSArray *)items animated:(BOOL)animated |
| To | - (void)setRightBarButtonItems:(NSArray<UIBarButtonItem *> * _Nullable)items animated:(BOOL)animated |
Modified UINavigationItem.titleView
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIView *titleView |
| To | @property(nonatomic, strong, nullable) UIView *titleView |
UINavigationController.h
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, retain) UIPanGestureRecognizer *barHideOnSwipeGestureRecognizer |
| To | @property(nonatomic, readonly, strong, nonnull) UIPanGestureRecognizer *barHideOnSwipeGestureRecognizer |
Modified UINavigationController.delegate
| Declaration | |
|---|---|
| From | @property(nonatomic, assign) id<UINavigationControllerDelegate> delegate |
| To | @property(nonatomic, weak, nullable) id<UINavigationControllerDelegate> delegate |
| Declaration | |
|---|---|
| From | - (NSArray *)popToRootViewControllerAnimated:(BOOL)animated |
| To | - (NSArray<__kindof UIViewController *> * _Nullable)popToRootViewControllerAnimated:(BOOL)animated |
| Declaration | |
|---|---|
| From | - (NSArray *)popToViewController:(UIViewController *)viewController animated:(BOOL)animated |
| To | - (NSArray<__kindof UIViewController *> * _Nullable)popToViewController:(UIViewController * _Nonnull)viewController animated:(BOOL)animated |
| Declaration | |
|---|---|
| From | - (void)setViewControllers:(NSArray *)viewControllers animated:(BOOL)animated |
| To | - (void)setViewControllers:(NSArray<UIViewController *> * _Nonnull)viewControllers animated:(BOOL)animated |
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, retain) UIViewController *topViewController |
| To | @property(nonatomic, readonly, strong, nullable) UIViewController *topViewController |
| Declaration | |
|---|---|
| From | @property(nonatomic, copy) NSArray *viewControllers |
| To | @property(nonatomic, copy, nonnull) NSArray<__kindof UIViewController *> *viewControllers |
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, retain) UIViewController *visibleViewController |
| To | @property(nonatomic, readonly, strong, nullable) UIViewController *visibleViewController |
| Declaration | |
|---|---|
| From | - (NSUInteger)navigationControllerSupportedInterfaceOrientations:(UINavigationController *)navigationController |
| To | - (UIInterfaceOrientationMask)navigationControllerSupportedInterfaceOrientations:(UINavigationController * _Nonnull)navigationController |
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, retain) UINavigationController *navigationController |
| To | @property(nonatomic, readonly, strong, nullable) UINavigationController *navigationController |
Modified UIViewController.navigationItem
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, retain) UINavigationItem *navigationItem |
| To | @property(nonatomic, readonly, strong, nonnull) UINavigationItem *navigationItem |
| Declaration | |
|---|---|
| From | - (void)setToolbarItems:(NSArray *)toolbarItems animated:(BOOL)animated |
| To | - (void)setToolbarItems:(NSArray<UIBarButtonItem *> * _Nullable)toolbarItems animated:(BOOL)animated |
Modified UIViewController.toolbarItems
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) NSArray *toolbarItems |
| To | @property(nonatomic, strong, nullable) NSArray<__kindof UIBarButtonItem *> *toolbarItems |
UIPageControl.h
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIColor *currentPageIndicatorTintColor |
| To | @property(nonatomic, strong, nullable) UIColor *currentPageIndicatorTintColor |
Modified UIPageControl.pageIndicatorTintColor
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIColor *pageIndicatorTintColor |
| To | @property(nonatomic, strong, nullable) UIColor *pageIndicatorTintColor |
UIPageViewController.h
Modified UIPageViewController.dataSource
| Declaration | |
|---|---|
| From | @property(nonatomic, assign) id<UIPageViewControllerDataSource> dataSource |
| To | @property(nonatomic, weak, nullable) id<UIPageViewControllerDataSource> dataSource |
Modified UIPageViewController.delegate
| Declaration | |
|---|---|
| From | @property(nonatomic, assign) id<UIPageViewControllerDelegate> delegate |
| To | @property(nonatomic, weak, nullable) id<UIPageViewControllerDelegate> delegate |
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly) NSArray *gestureRecognizers |
| To | @property(nonatomic, readonly, nonnull) NSArray<__kindof UIGestureRecognizer *> *gestureRecognizers |
| Declaration | Designated Initializer | |
|---|---|---|
| From | - (instancetype)initWithTransitionStyle:(UIPageViewControllerTransitionStyle)style navigationOrientation:(UIPageViewControllerNavigationOrientation)navigationOrientation options:(NSDictionary *)options | -- |
| To | - (instancetype _Nonnull)initWithTransitionStyle:(UIPageViewControllerTransitionStyle)style navigationOrientation:(UIPageViewControllerNavigationOrientation)navigationOrientation options:(NSDictionary<NSString *,id> * _Nullable)options | yes |
| Declaration | |
|---|---|
| From | - (void)setViewControllers:(NSArray *)viewControllers direction:(UIPageViewControllerNavigationDirection)direction animated:(BOOL)animated completion:(void (^)(BOOL finished))completion |
| To | - (void)setViewControllers:(NSArray<UIViewController *> * _Nullable)viewControllers direction:(UIPageViewControllerNavigationDirection)direction animated:(BOOL)animated completion:(void (^ _Nullable)(BOOL finished))completion |
Modified UIPageViewController.viewControllers
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly) NSArray *viewControllers |
| To | @property(nonatomic, readonly, nullable) NSArray<__kindof UIViewController *> *viewControllers |
| Declaration | |
|---|---|
| From | - (void)pageViewController:(UIPageViewController *)pageViewController didFinishAnimating:(BOOL)finished previousViewControllers:(NSArray *)previousViewControllers transitionCompleted:(BOOL)completed |
| To | - (void)pageViewController:(UIPageViewController * _Nonnull)pageViewController didFinishAnimating:(BOOL)finished previousViewControllers:(NSArray<UIViewController *> * _Nonnull)previousViewControllers transitionCompleted:(BOOL)completed |
| Declaration | |
|---|---|
| From | - (void)pageViewController:(UIPageViewController *)pageViewController willTransitionToViewControllers:(NSArray *)pendingViewControllers |
| To | - (void)pageViewController:(UIPageViewController * _Nonnull)pageViewController willTransitionToViewControllers:(NSArray<UIViewController *> * _Nonnull)pendingViewControllers |
| Declaration | |
|---|---|
| From | - (NSUInteger)pageViewControllerSupportedInterfaceOrientations:(UIPageViewController *)pageViewController |
| To | - (UIInterfaceOrientationMask)pageViewControllerSupportedInterfaceOrientations:(UIPageViewController * _Nonnull)pageViewController |
UIPasteboard.h
Modified -[UIPasteboard addItems:]
| Declaration | |
|---|---|
| From | - (void)addItems:(NSArray *)items |
| To | - (void)addItems:(NSArray<NSDictionary<NSString *,id> *> * _Nonnull)items |
Modified UIPasteboard.colors
| Declaration | |
|---|---|
| From | @property(nonatomic, copy) NSArray *colors |
| To | @property(nonatomic, copy, nullable) NSArray<UIColor *> *colors |
| Declaration | |
|---|---|
| From | - (BOOL)containsPasteboardTypes:(NSArray *)pasteboardTypes |
| To | - (BOOL)containsPasteboardTypes:(NSArray<NSString *> * _Nonnull)pasteboardTypes |
| Declaration | |
|---|---|
| From | - (BOOL)containsPasteboardTypes:(NSArray *)pasteboardTypes inItemSet:(NSIndexSet *)itemSet |
| To | - (BOOL)containsPasteboardTypes:(NSArray<NSString *> * _Nonnull)pasteboardTypes inItemSet:(NSIndexSet * _Nullable)itemSet |
Modified UIPasteboard.images
| Declaration | |
|---|---|
| From | @property(nonatomic, copy) NSArray *images |
| To | @property(nonatomic, copy, nullable) NSArray<UIImage *> *images |
Modified -[UIPasteboard pasteboardTypes]
| Declaration | |
|---|---|
| From | - (NSArray *)pasteboardTypes |
| To | - (NSArray<NSString *> * _Nonnull)pasteboardTypes |
Modified UIPasteboard.strings
| Declaration | |
|---|---|
| From | @property(nonatomic, copy) NSArray *strings |
| To | @property(nonatomic, copy, nullable) NSArray<NSString *> *strings |
Modified UIPasteboard.URLs
| Declaration | |
|---|---|
| From | @property(nonatomic, copy) NSArray *URLs |
| To | @property(nonatomic, copy, nullable) NSArray<NSURL *> *URLs |
UIPickerView.h
Modified UIPickerView.dataSource
| Declaration | |
|---|---|
| From | @property(nonatomic, assign) id<UIPickerViewDataSource> dataSource |
| To | @property(nonatomic, weak, nullable) id<UIPickerViewDataSource> dataSource |
Modified UIPickerView.delegate
| Declaration | |
|---|---|
| From | @property(nonatomic, assign) id<UIPickerViewDelegate> delegate |
| To | @property(nonatomic, weak, nullable) id<UIPickerViewDelegate> delegate |
UIPopoverController.h
Modified UIPopoverController
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 9.0 |
Modified UIPopoverController.backgroundColor
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 9.0 |
| Declaration | Deprecation | |
|---|---|---|
| From | @property(nonatomic, retain) UIViewController *contentViewController | -- |
| To | @property(nonatomic, strong, nonnull) UIViewController *contentViewController | iOS 9.0 |
Modified UIPopoverController.delegate
| Declaration | Deprecation | |
|---|---|---|
| From | @property(nonatomic, assign) id<UIPopoverControllerDelegate> delegate | -- |
| To | @property(nonatomic, weak, nullable) id<UIPopoverControllerDelegate> delegate | iOS 9.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 9.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 9.0 |
Modified UIPopoverController.passthroughViews
| Declaration | Deprecation | |
|---|---|---|
| From | @property(nonatomic, copy) NSArray *passthroughViews | -- |
| To | @property(nonatomic, copy, nullable) NSArray<__kindof UIView *> *passthroughViews | iOS 9.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 9.0 |
| Declaration | Deprecation | |
|---|---|---|
| From | @property(nonatomic, readwrite, retain) Class popoverBackgroundViewClass | -- |
| To | @property(nonatomic, readwrite, strong, nullable) Class popoverBackgroundViewClass | iOS 9.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 9.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 9.0 |
Modified UIPopoverController.popoverVisible
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 9.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 9.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 9.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 9.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 9.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 9.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 9.0 |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 9.0 |
UIPopoverPresentationController.h
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIBarButtonItem *barButtonItem |
| To | @property(nonatomic, strong, nullable) UIBarButtonItem *barButtonItem |
| Declaration | |
|---|---|
| From | @property(nonatomic, assign) id<UIPopoverPresentationControllerDelegate> delegate |
| To | @property(nonatomic, weak, nullable) id<UIPopoverPresentationControllerDelegate> delegate |
| Declaration | |
|---|---|
| From | @property(nonatomic, copy) NSArray *passthroughViews |
| To | @property(nonatomic, copy, nullable) NSArray<UIView *> *passthroughViews |
| Declaration | |
|---|---|
| From | @property(nonatomic, readwrite, retain) Class<UIPopoverBackgroundViewMethods> popoverBackgroundViewClass |
| To | @property(nonatomic, readwrite, strong, nullable) Class<UIPopoverBackgroundViewMethods> popoverBackgroundViewClass |
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIView *sourceView |
| To | @property(nonatomic, strong, nullable) UIView *sourceView |
UIPresentationController.h
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly) UIView *containerView |
| To | @property(nonatomic, readonly, strong, nullable) UIView *containerView |
Modified UIPresentationController.delegate
| Declaration | |
|---|---|
| From | @property(nonatomic, assign) id<UIAdaptivePresentationControllerDelegate> delegate |
| To | @property(nonatomic, weak, nullable) id<UIAdaptivePresentationControllerDelegate> delegate |
| Declaration | |
|---|---|
| From | @property(nonatomic, retain, readonly) UIViewController *presentedViewController |
| To | @property(nonatomic, strong, readonly, nonnull) UIViewController *presentedViewController |
| Declaration | |
|---|---|
| From | @property(nonatomic, retain, readonly) UIViewController *presentingViewController |
| To | @property(nonatomic, strong, readonly, nonnull) UIViewController *presentingViewController |
UIPrinterPickerController.h
Modified UIPrinterPickerController.delegate
| Declaration | |
|---|---|
| From | @property(nonatomic, assign) id<UIPrinterPickerControllerDelegate> delegate |
| To | @property(nonatomic, weak, nullable) id<UIPrinterPickerControllerDelegate> delegate |
UIPrintFormatter.h
Modified UIPrintFormatter.printPageRenderer
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, assign) UIPrintPageRenderer *printPageRenderer |
| To | @property(nonatomic, readonly, weak, nullable) UIPrintPageRenderer *printPageRenderer |
Modified UISimpleTextPrintFormatter.color
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIColor *color |
| To | @property(nonatomic, strong, nullable) UIColor *color |
Modified UISimpleTextPrintFormatter.font
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIFont *font |
| To | @property(nonatomic, strong, nullable) UIFont *font |
UIPrintInfo.h
UIPrintInteractionController.h
Added UIPrinterCutterBehavior
| Declaration | |
|---|---|
| From | @property(nonatomic, assign) id<UIPrintInteractionControllerDelegate> delegate |
| To | @property(nonatomic, weak, nullable) id<UIPrintInteractionControllerDelegate> delegate |
| Declaration | |
|---|---|
| From | + (NSSet *)printableUTIs |
| To | + (NSSet<NSString *> * _Nonnull)printableUTIs |
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIPrintFormatter *printFormatter |
| To | @property(nonatomic, strong, nullable) UIPrintFormatter *printFormatter |
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIPrintInfo *printInfo |
| To | @property(nonatomic, strong, nullable) UIPrintInfo *printInfo |
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIPrintPageRenderer *printPageRenderer |
| To | @property(nonatomic, strong, nullable) UIPrintPageRenderer *printPageRenderer |
| Declaration | |
|---|---|
| From | - (UIPrintPaper *)printInteractionController:(UIPrintInteractionController *)printInteractionController choosePaper:(NSArray *)paperList |
| To | - (UIPrintPaper * _Nonnull)printInteractionController:(UIPrintInteractionController * _Nonnull)printInteractionController choosePaper:(NSArray<UIPrintPaper *> * _Nonnull)paperList |
UIPrintPageRenderer.h
Modified UIPrintPageRenderer.printFormatters
| Declaration | |
|---|---|
| From | @property(nonatomic, copy) NSArray *printFormatters |
| To | @property(nonatomic, copy, nullable) NSArray<UIPrintFormatter *> *printFormatters |
| Declaration | |
|---|---|
| From | - (NSArray *)printFormattersForPageAtIndex:(NSInteger)pageIndex |
| To | - (NSArray<UIPrintFormatter *> * _Nullable)printFormattersForPageAtIndex:(NSInteger)pageIndex |
UIPrintPaper.h
| Declaration | |
|---|---|
| From | + (UIPrintPaper *)bestPaperForPageSize:(CGSize)contentSize withPapersFromArray:(NSArray *)paperList |
| To | + (UIPrintPaper * _Nonnull)bestPaperForPageSize:(CGSize)contentSize withPapersFromArray:(NSArray<UIPrintPaper *> * _Nonnull)paperList |
UIProgressView.h
Modified UIProgressView.progressImage
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIImage *progressImage |
| To | @property(nonatomic, strong, nullable) UIImage *progressImage |
Modified UIProgressView.progressTintColor
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIColor *progressTintColor |
| To | @property(nonatomic, strong, nullable) UIColor *progressTintColor |
Modified UIProgressView.trackImage
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIImage *trackImage |
| To | @property(nonatomic, strong, nullable) UIImage *trackImage |
Modified UIProgressView.trackTintColor
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIColor *trackTintColor |
| To | @property(nonatomic, strong, nullable) UIColor *trackTintColor |
UIPushBehavior.h
| Declaration | Designated Initializer | |
|---|---|---|
| From | - (instancetype)initWithItems:(NSArray *)items mode:(UIPushBehaviorMode)mode | -- |
| To | - (instancetype _Nonnull)initWithItems:(NSArray<id<UIDynamicItem>> * _Nonnull)items mode:(UIPushBehaviorMode)mode | yes |
Modified UIPushBehavior.items
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, copy) NSArray *items |
| To | @property(nonatomic, readonly, copy, nonnull) NSArray<id<UIDynamicItem>> *items |
UIReferenceLibraryViewController.h
UIRefreshControl.h
Modified UIRefreshControl.attributedTitle
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) NSAttributedString *attributedTitle |
| To | @property(nonatomic, strong, nullable) NSAttributedString *attributedTitle |
Modified UIRefreshControl.tintColor
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIColor *tintColor |
| To | @property(nonatomic, strong) UIColor * _Null_unspecified tintColor |
UIRegion.h (Added)
Added UIRegion
UIResponder.h
Added -[UIKeyCommand init]
Modified UIResponder.inputAccessoryView
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, retain) UIView *inputAccessoryView |
| To | @property(nonatomic, readonly, strong, nullable) __kindof UIView *inputAccessoryView |
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, retain) UIInputViewController *inputAccessoryViewController |
| To | @property(nonatomic, readonly, strong, nullable) UIInputViewController *inputAccessoryViewController |
Modified UIResponder.inputView
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, retain) UIView *inputView |
| To | @property(nonatomic, readonly, strong, nullable) __kindof UIView *inputView |
Modified UIResponder.inputViewController
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, retain) UIInputViewController *inputViewController |
| To | @property(nonatomic, readonly, strong, nullable) UIInputViewController *inputViewController |
Modified UIResponder.keyCommands
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly) NSArray *keyCommands |
| To | @property(nonatomic, readonly, nullable) NSArray<UIKeyCommand *> *keyCommands |
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, retain) NSString *textInputContextIdentifier |
| To | @property(nonatomic, readonly, strong, nullable) NSString *textInputContextIdentifier |
Modified UIResponder.textInputMode
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, retain) UITextInputMode *textInputMode |
| To | @property(nonatomic, readonly, strong, nullable) UITextInputMode *textInputMode |
| Declaration | |
|---|---|
| From | - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event |
| To | - (void)touchesBegan:(NSSet<UITouch *> * _Nonnull)touches withEvent:(UIEvent * _Nullable)event |
| Declaration | |
|---|---|
| From | - (void)touchesCancelled:(NSSet *)touches withEvent:(UIEvent *)event |
| To | - (void)touchesCancelled:(NSSet<UITouch *> * _Nullable)touches withEvent:(UIEvent * _Nullable)event |
| Declaration | |
|---|---|
| From | - (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event |
| To | - (void)touchesEnded:(NSSet<UITouch *> * _Nonnull)touches withEvent:(UIEvent * _Nullable)event |
| Declaration | |
|---|---|
| From | - (void)touchesMoved:(NSSet *)touches withEvent:(UIEvent *)event |
| To | - (void)touchesMoved:(NSSet<UITouch *> * _Nonnull)touches withEvent:(UIEvent * _Nullable)event |
Modified UIResponder.userActivity
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) NSUserActivity *userActivity |
| To | @property(nonatomic, strong, nullable) NSUserActivity *userActivity |
UIScreen.h
Modified UIScreen.applicationFrame
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 9.0 |
Modified UIScreen.availableModes
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, copy) NSArray *availableModes |
| To | @property(nonatomic, readonly, copy, nonnull) NSArray<UIScreenMode *> *availableModes |
Modified UIScreen.currentMode
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIScreenMode *currentMode |
| To | @property(nonatomic, strong, nullable) UIScreenMode *currentMode |
Modified UIScreen.mirroredScreen
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, retain) UIScreen *mirroredScreen |
| To | @property(nonatomic, readonly, strong, nullable) UIScreen *mirroredScreen |
Modified UIScreen.preferredMode
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, retain) UIScreenMode *preferredMode |
| To | @property(nonatomic, readonly, strong, nullable) UIScreenMode *preferredMode |
Modified +[UIScreen screens]
| Declaration | |
|---|---|
| From | + (NSArray *)screens |
| To | + (NSArray<UIScreen *> * _Nonnull)screens |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 9.0 |
UIScrollView.h
Modified UIScrollView.delegate
| Declaration | |
|---|---|
| From | @property(nonatomic, assign) id<UIScrollViewDelegate> delegate |
| To | @property(nonatomic, weak, nullable) id<UIScrollViewDelegate> delegate |
| Declaration | |
|---|---|
| From | - (BOOL)touchesShouldBegin:(NSSet *)touches withEvent:(UIEvent *)event inContentView:(UIView *)view |
| To | - (BOOL)touchesShouldBegin:(NSSet<UITouch *> * _Nonnull)touches withEvent:(UIEvent * _Nullable)event inContentView:(UIView * _Nonnull)view |
UISearchBar.h
Added -[UISearchBar init]
Modified UISearchBar.backgroundImage
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIImage *backgroundImage |
| To | @property(nonatomic, strong, nullable) UIImage *backgroundImage |
Modified UISearchBar.barTintColor
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIColor *barTintColor |
| To | @property(nonatomic, strong, nullable) UIColor *barTintColor |
Modified UISearchBar.delegate
| Declaration | |
|---|---|
| From | @property(nonatomic, assign) id<UISearchBarDelegate> delegate |
| To | @property(nonatomic, weak, nullable) id<UISearchBarDelegate> delegate |
Modified UISearchBar.inputAccessoryView
| Declaration | |
|---|---|
| From | @property(nonatomic, readwrite, retain) UIView *inputAccessoryView |
| To | @property(nonatomic, readwrite, strong, nullable) UIView *inputAccessoryView |
Modified UISearchBar.scopeBarBackgroundImage
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIImage *scopeBarBackgroundImage |
| To | @property(nonatomic, strong, nullable) UIImage *scopeBarBackgroundImage |
| Declaration | |
|---|---|
| From | - (NSDictionary *)scopeBarButtonTitleTextAttributesForState:(UIControlState)state |
| To | - (NSDictionary<NSString *,id> * _Nullable)scopeBarButtonTitleTextAttributesForState:(UIControlState)state |
Modified UISearchBar.scopeButtonTitles
| Declaration | |
|---|---|
| From | @property(nonatomic, copy) NSArray *scopeButtonTitles |
| To | @property(nonatomic, copy, nullable) NSArray<NSString *> *scopeButtonTitles |
| Declaration | |
|---|---|
| From | - (void)setScopeBarButtonTitleTextAttributes:(NSDictionary *)attributes forState:(UIControlState)state |
| To | - (void)setScopeBarButtonTitleTextAttributes:(NSDictionary<NSString *,id> * _Nullable)attributes forState:(UIControlState)state |
Modified UISearchBar.tintColor
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIColor *tintColor |
| To | @property(nonatomic, strong) UIColor * _Null_unspecified tintColor |
UISearchController.h
Modified UISearchController.delegate
| Declaration | |
|---|---|
| From | @property(nonatomic, assign) id<UISearchControllerDelegate> delegate |
| To | @property(nonatomic, weak, nullable) id<UISearchControllerDelegate> delegate |
Modified UISearchController.searchBar
| Declaration | |
|---|---|
| From | @property(nonatomic, retain, readonly) UISearchBar *searchBar |
| To | @property(nonatomic, strong, readonly, nonnull) UISearchBar *searchBar |
| Declaration | |
|---|---|
| From | @property(nonatomic, retain, readonly) UIViewController *searchResultsController |
| To | @property(nonatomic, strong, readonly, nullable) UIViewController *searchResultsController |
| Declaration | |
|---|---|
| From | @property(nonatomic, assign) id<UISearchResultsUpdating> searchResultsUpdater |
| To | @property(nonatomic, weak, nullable) id<UISearchResultsUpdating> searchResultsUpdater |
UISearchDisplayController.h
| Declaration | |
|---|---|
| From | @property(nonatomic, assign) id<UITableViewDataSource> searchResultsDataSource |
| To | @property(nonatomic, weak, nullable) id<UITableViewDataSource> searchResultsDataSource |
| Declaration | |
|---|---|
| From | @property(nonatomic, assign) id<UITableViewDelegate> searchResultsDelegate |
| To | @property(nonatomic, weak, nullable) id<UITableViewDelegate> searchResultsDelegate |
UISegmentedControl.h
Modified UISegmentedControl.tintColor
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIColor *tintColor |
| To | @property(nonatomic, strong) UIColor * _Null_unspecified tintColor |
UISlider.h
Modified UISlider.maximumTrackTintColor
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIColor *maximumTrackTintColor |
| To | @property(nonatomic, strong, nullable) UIColor *maximumTrackTintColor |
Modified UISlider.maximumValueImage
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIImage *maximumValueImage |
| To | @property(nonatomic, strong, nullable) UIImage *maximumValueImage |
Modified UISlider.minimumTrackTintColor
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIColor *minimumTrackTintColor |
| To | @property(nonatomic, strong, nullable) UIColor *minimumTrackTintColor |
Modified UISlider.minimumValueImage
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIImage *minimumValueImage |
| To | @property(nonatomic, strong, nullable) UIImage *minimumValueImage |
Modified UISlider.thumbTintColor
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIColor *thumbTintColor |
| To | @property(nonatomic, strong, nullable) UIColor *thumbTintColor |
UISnapBehavior.h
Added UISnapBehavior.snapPoint
UISplitViewController.h
Modified UISplitViewController.delegate
| Declaration | |
|---|---|
| From | @property(nonatomic, assign) id<UISplitViewControllerDelegate> delegate |
| To | @property(nonatomic, weak, nullable) id<UISplitViewControllerDelegate> delegate |
| Declaration | |
|---|---|
| From | @property(nonatomic, copy) NSArray *viewControllers |
| To | @property(nonatomic, copy, nonnull) NSArray<__kindof UIViewController *> *viewControllers |
| Declaration | |
|---|---|
| From | - (NSUInteger)splitViewControllerSupportedInterfaceOrientations:(UISplitViewController *)splitViewController |
| To | - (UIInterfaceOrientationMask)splitViewControllerSupportedInterfaceOrientations:(UISplitViewController * _Nonnull)splitViewController |
Modified UIViewController.splitViewController
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, retain) UISplitViewController *splitViewController |
| To | @property(nonatomic, readonly, strong, nullable) UISplitViewController *splitViewController |
UIStackView.h (Added)
Added UIStackView
Added UIStackView.alignment
Added UIStackView.axis
Added UIStackView.distribution
Added UIStackView.spacing
Added UIStackViewAlignment
Added UIStackViewAlignmentFill
Added UIStackViewAlignmentTop
Added UIStackViewDistribution
UIStateRestoration.h
| Declaration | |
|---|---|
| From | + (id<UIStateRestoring>)objectWithRestorationIdentifierPath:(NSArray *)identifierComponents coder:(NSCoder *)coder |
| To | + (id<UIStateRestoring> _Nullable)objectWithRestorationIdentifierPath:(NSArray<NSString *> * _Nonnull)identifierComponents coder:(NSCoder * _Nonnull)coder |
UIStepper.h
Modified UIStepper.tintColor
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIColor *tintColor |
| To | @property(nonatomic, strong) UIColor * _Null_unspecified tintColor |
UIStoryboard.h
| Declaration | |
|---|---|
| From | - (id)instantiateInitialViewController |
| To | - (__kindof UIViewController * _Nullable)instantiateInitialViewController |
| Declaration | |
|---|---|
| From | - (id)instantiateViewControllerWithIdentifier:(NSString *)identifier |
| To | - (__kindof UIViewController * _Nonnull)instantiateViewControllerWithIdentifier:(NSString * _Nonnull)identifier |
UIStoryboardPopoverSegue.h
Modified UIStoryboardPopoverSegue
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 9.0 |
| Declaration | Deprecation | |
|---|---|---|
| From | @property(nonatomic, retain, readonly) UIPopoverController *popoverController | -- |
| To | @property(nonatomic, strong, readonly, nonnull) UIPopoverController *popoverController | iOS 9.0 |
UIStoryboardSegue.h
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly) id destinationViewController |
| To | @property(nonatomic, readonly, nonnull) __kindof UIViewController *destinationViewController |
Modified UIStoryboardSegue.identifier
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly) NSString *identifier |
| To | @property(nonatomic, copy, readonly, nullable) NSString *identifier |
| Designated Initializer | |
|---|---|
| From | -- |
| To | yes |
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly) id sourceViewController |
| To | @property(nonatomic, readonly, nonnull) __kindof UIViewController *sourceViewController |
UISwitch.h
Modified -[UISwitch initWithFrame:]
| Designated Initializer | |
|---|---|
| From | -- |
| To | yes |
Modified UISwitch.offImage
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIImage *offImage |
| To | @property(nonatomic, strong, nullable) UIImage *offImage |
Modified UISwitch.onImage
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIImage *onImage |
| To | @property(nonatomic, strong, nullable) UIImage *onImage |
Modified UISwitch.onTintColor
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIColor *onTintColor |
| To | @property(nonatomic, strong, nullable) UIColor *onTintColor |
Modified UISwitch.thumbTintColor
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIColor *thumbTintColor |
| To | @property(nonatomic, strong, nullable) UIColor *thumbTintColor |
Modified UISwitch.tintColor
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIColor *tintColor |
| To | @property(nonatomic, strong) UIColor * _Null_unspecified tintColor |
UITabBar.h
Modified UITabBar.backgroundImage
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIImage *backgroundImage |
| To | @property(nonatomic, strong, nullable) UIImage *backgroundImage |
Modified UITabBar.barTintColor
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIColor *barTintColor |
| To | @property(nonatomic, strong, nullable) UIColor *barTintColor |
Modified -[UITabBar beginCustomizingItems:]
| Declaration | |
|---|---|
| From | - (void)beginCustomizingItems:(NSArray *)items |
| To | - (void)beginCustomizingItems:(NSArray<UITabBarItem *> * _Nonnull)items |
Modified UITabBar.items
| Declaration | |
|---|---|
| From | @property(nonatomic, copy) NSArray *items |
| To | @property(nonatomic, copy, nullable) NSArray<UITabBarItem *> *items |
Modified UITabBar.selectedImageTintColor
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIColor *selectedImageTintColor |
| To | @property(nonatomic, strong, nullable) UIColor *selectedImageTintColor |
Modified UITabBar.selectionIndicatorImage
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIImage *selectionIndicatorImage |
| To | @property(nonatomic, strong, nullable) UIImage *selectionIndicatorImage |
Modified -[UITabBar setItems:animated:]
| Declaration | |
|---|---|
| From | - (void)setItems:(NSArray *)items animated:(BOOL)animated |
| To | - (void)setItems:(NSArray<UITabBarItem *> * _Nullable)items animated:(BOOL)animated |
Modified UITabBar.shadowImage
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIImage *shadowImage |
| To | @property(nonatomic, strong, nullable) UIImage *shadowImage |
Modified UITabBar.tintColor
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIColor *tintColor |
| To | @property(nonatomic, strong) UIColor * _Null_unspecified tintColor |
| Declaration | |
|---|---|
| From | - (void)tabBar:(UITabBar *)tabBar didBeginCustomizingItems:(NSArray *)items |
| To | - (void)tabBar:(UITabBar * _Nonnull)tabBar didBeginCustomizingItems:(NSArray<UITabBarItem *> * _Nonnull)items |
| Declaration | |
|---|---|
| From | - (void)tabBar:(UITabBar *)tabBar didEndCustomizingItems:(NSArray *)items changed:(BOOL)changed |
| To | - (void)tabBar:(UITabBar * _Nonnull)tabBar didEndCustomizingItems:(NSArray<UITabBarItem *> * _Nonnull)items changed:(BOOL)changed |
| Declaration | |
|---|---|
| From | - (void)tabBar:(UITabBar *)tabBar willBeginCustomizingItems:(NSArray *)items |
| To | - (void)tabBar:(UITabBar * _Nonnull)tabBar willBeginCustomizingItems:(NSArray<UITabBarItem *> * _Nonnull)items |
| Declaration | |
|---|---|
| From | - (void)tabBar:(UITabBar *)tabBar willEndCustomizingItems:(NSArray *)items changed:(BOOL)changed |
| To | - (void)tabBar:(UITabBar * _Nonnull)tabBar willEndCustomizingItems:(NSArray<UITabBarItem *> * _Nonnull)items changed:(BOOL)changed |
UITabBarController.h
| Declaration | |
|---|---|
| From | @property(nonatomic, copy) NSArray *customizableViewControllers |
| To | @property(nonatomic, copy, nullable) NSArray<__kindof UIViewController *> *customizableViewControllers |
Modified UITabBarController.delegate
| Declaration | |
|---|---|
| From | @property(nonatomic, assign) id<UITabBarControllerDelegate> delegate |
| To | @property(nonatomic, weak, nullable) id<UITabBarControllerDelegate> delegate |
| Declaration | |
|---|---|
| From | @property(nonatomic, assign) UIViewController *selectedViewController |
| To | @property(nonatomic, assign, nullable) __kindof UIViewController *selectedViewController |
| Declaration | |
|---|---|
| From | - (void)setViewControllers:(NSArray *)viewControllers animated:(BOOL)animated |
| To | - (void)setViewControllers:(NSArray<__kindof UIViewController *> * _Nullable)viewControllers animated:(BOOL)animated |
Modified UITabBarController.viewControllers
| Declaration | |
|---|---|
| From | @property(nonatomic, copy) NSArray *viewControllers |
| To | @property(nonatomic, copy, nullable) NSArray<__kindof UIViewController *> *viewControllers |
| Declaration | |
|---|---|
| From | - (void)tabBarController:(UITabBarController *)tabBarController didEndCustomizingViewControllers:(NSArray *)viewControllers changed:(BOOL)changed |
| To | - (void)tabBarController:(UITabBarController * _Nonnull)tabBarController didEndCustomizingViewControllers:(NSArray<__kindof UIViewController *> * _Nonnull)viewControllers changed:(BOOL)changed |
| Declaration | |
|---|---|
| From | - (void)tabBarController:(UITabBarController *)tabBarController willBeginCustomizingViewControllers:(NSArray *)viewControllers |
| To | - (void)tabBarController:(UITabBarController * _Nonnull)tabBarController willBeginCustomizingViewControllers:(NSArray<__kindof UIViewController *> * _Nonnull)viewControllers |
| Declaration | |
|---|---|
| From | - (void)tabBarController:(UITabBarController *)tabBarController willEndCustomizingViewControllers:(NSArray *)viewControllers changed:(BOOL)changed |
| To | - (void)tabBarController:(UITabBarController * _Nonnull)tabBarController willEndCustomizingViewControllers:(NSArray<__kindof UIViewController *> * _Nonnull)viewControllers changed:(BOOL)changed |
| Declaration | |
|---|---|
| From | - (NSUInteger)tabBarControllerSupportedInterfaceOrientations:(UITabBarController *)tabBarController |
| To | - (UIInterfaceOrientationMask)tabBarControllerSupportedInterfaceOrientations:(UITabBarController * _Nonnull)tabBarController |
Modified UIViewController.tabBarController
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, retain) UITabBarController *tabBarController |
| To | @property(nonatomic, readonly, strong, nullable) UITabBarController *tabBarController |
Modified UIViewController.tabBarItem
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UITabBarItem *tabBarItem |
| To | @property(nonatomic, strong) UITabBarItem * _Null_unspecified tabBarItem |
UITabBarItem.h
Added -[UITabBarItem init]
Modified UITabBarItem.selectedImage
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIImage *selectedImage |
| To | @property(nonatomic, strong, nullable) UIImage *selectedImage |
Modified UITabBarItem.titlePositionAdjustment
| Declaration | |
|---|---|
| From | - (UIOffset)titlePositionAdjustment |
| To | @property(nonatomic, readwrite, assign) UIOffset titlePositionAdjustment |
UITableView.h
| Declaration | |
|---|---|
| From | + (NSIndexPath *)indexPathForRow:(NSInteger)row inSection:(NSInteger)section |
| To | + (instancetype _Nonnull)indexPathForRow:(NSInteger)row inSection:(NSInteger)section |
Modified UITableView.backgroundView
| Declaration | |
|---|---|
| From | @property(nonatomic, readwrite, retain) UIView *backgroundView |
| To | @property(nonatomic, strong, nullable) UIView *backgroundView |
| Declaration | |
|---|---|
| From | - (UITableViewCell *)cellForRowAtIndexPath:(NSIndexPath *)indexPath |
| To | - (__kindof UITableViewCell * _Nullable)cellForRowAtIndexPath:(NSIndexPath * _Nonnull)indexPath |
Modified UITableView.dataSource
| Declaration | |
|---|---|
| From | @property(nonatomic, assign) id<UITableViewDataSource> dataSource |
| To | @property(nonatomic, weak, nullable) id<UITableViewDataSource> dataSource |
Modified UITableView.delegate
| Declaration | |
|---|---|
| From | @property(nonatomic, assign) id<UITableViewDelegate> delegate |
| To | @property(nonatomic, weak, nullable) id<UITableViewDelegate> delegate |
| Declaration | |
|---|---|
| From | - (void)deleteRowsAtIndexPaths:(NSArray *)indexPaths withRowAnimation:(UITableViewRowAnimation)animation |
| To | - (void)deleteRowsAtIndexPaths:(NSArray<NSIndexPath *> * _Nonnull)indexPaths withRowAnimation:(UITableViewRowAnimation)animation |
| Declaration | |
|---|---|
| From | - (id)dequeueReusableCellWithIdentifier:(NSString *)identifier |
| To | - (__kindof UITableViewCell * _Nullable)dequeueReusableCellWithIdentifier:(NSString * _Nonnull)identifier |
| Declaration | |
|---|---|
| From | - (id)dequeueReusableCellWithIdentifier:(NSString *)identifier forIndexPath:(NSIndexPath *)indexPath |
| To | - (__kindof UITableViewCell * _Nonnull)dequeueReusableCellWithIdentifier:(NSString * _Nonnull)identifier forIndexPath:(NSIndexPath * _Nonnull)indexPath |
| Declaration | |
|---|---|
| From | - (id)dequeueReusableHeaderFooterViewWithIdentifier:(NSString *)identifier |
| To | - (__kindof UITableViewHeaderFooterView * _Nullable)dequeueReusableHeaderFooterViewWithIdentifier:(NSString * _Nonnull)identifier |
Modified UITableView.indexPathForSelectedRow
| Declaration | |
|---|---|
| From | - (NSIndexPath *)indexPathForSelectedRow |
| To | @property(nonatomic, readonly, nullable) NSIndexPath *indexPathForSelectedRow |
| Declaration | |
|---|---|
| From | - (NSArray *)indexPathsForRowsInRect:(CGRect)rect |
| To | - (NSArray<NSIndexPath *> * _Nullable)indexPathsForRowsInRect:(CGRect)rect |
| Declaration | |
|---|---|
| From | - (NSArray *)indexPathsForSelectedRows |
| To | @property(nonatomic, readonly, nullable) NSArray<NSIndexPath *> *indexPathsForSelectedRows |
Modified UITableView.indexPathsForVisibleRows
| Declaration | |
|---|---|
| From | - (NSArray *)indexPathsForVisibleRows |
| To | @property(nonatomic, readonly, nullable) NSArray<NSIndexPath *> *indexPathsForVisibleRows |
Modified -[UITableView initWithFrame:style:]
| Designated Initializer | |
|---|---|
| From | -- |
| To | yes |
| Declaration | |
|---|---|
| From | - (void)insertRowsAtIndexPaths:(NSArray *)indexPaths withRowAnimation:(UITableViewRowAnimation)animation |
| To | - (void)insertRowsAtIndexPaths:(NSArray<NSIndexPath *> * _Nonnull)indexPaths withRowAnimation:(UITableViewRowAnimation)animation |
Modified UITableView.numberOfSections
| Declaration | |
|---|---|
| From | - (NSInteger)numberOfSections |
| To | @property(nonatomic, readonly) NSInteger numberOfSections |
| Declaration | |
|---|---|
| From | - (void)reloadRowsAtIndexPaths:(NSArray *)indexPaths withRowAnimation:(UITableViewRowAnimation)animation |
| To | - (void)reloadRowsAtIndexPaths:(NSArray<NSIndexPath *> * _Nonnull)indexPaths withRowAnimation:(UITableViewRowAnimation)animation |
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIColor *sectionIndexBackgroundColor |
| To | @property(nonatomic, strong, nullable) UIColor *sectionIndexBackgroundColor |
Modified UITableView.sectionIndexColor
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIColor *sectionIndexColor |
| To | @property(nonatomic, strong, nullable) UIColor *sectionIndexColor |
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIColor *sectionIndexTrackingBackgroundColor |
| To | @property(nonatomic, strong, nullable) UIColor *sectionIndexTrackingBackgroundColor |
Modified UITableView.separatorColor
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIColor *separatorColor |
| To | @property(nonatomic, strong, nullable) UIColor *separatorColor |
Modified UITableView.tableFooterView
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIView *tableFooterView |
| To | @property(nonatomic, strong, nullable) UIView *tableFooterView |
Modified UITableView.tableHeaderView
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIView *tableHeaderView |
| To | @property(nonatomic, strong, nullable) UIView *tableHeaderView |
Modified UITableView.visibleCells
| Declaration | |
|---|---|
| From | - (NSArray *)visibleCells |
| To | @property(nonatomic, readonly, nonnull) NSArray<__kindof UITableViewCell *> *visibleCells |
| Declaration | |
|---|---|
| From | - (NSArray *)sectionIndexTitlesForTableView:(UITableView *)tableView |
| To | - (NSArray<NSString *> * _Nullable)sectionIndexTitlesForTableView:(UITableView * _Nonnull)tableView |
| Declaration | |
|---|---|
| From | - (NSArray *)tableView:(UITableView *)tableView editActionsForRowAtIndexPath:(NSIndexPath *)indexPath |
| To | - (NSArray<UITableViewRowAction *> * _Nullable)tableView:(UITableView * _Nonnull)tableView editActionsForRowAtIndexPath:(NSIndexPath * _Nonnull)indexPath |
UITableViewCell.h
Modified UITableViewCell.accessoryView
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIView *accessoryView |
| To | @property(nonatomic, strong, nullable) UIView *accessoryView |
Modified UITableViewCell.backgroundView
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIView *backgroundView |
| To | @property(nonatomic, strong, nullable) UIView *backgroundView |
Modified UITableViewCell.contentView
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, retain) UIView *contentView |
| To | @property(nonatomic, readonly, strong, nonnull) UIView *contentView |
Modified UITableViewCell.detailTextLabel
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, retain) UILabel *detailTextLabel |
| To | @property(nonatomic, readonly, strong, nullable) UILabel *detailTextLabel |
Modified UITableViewCell.editingAccessoryView
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIView *editingAccessoryView |
| To | @property(nonatomic, strong, nullable) UIView *editingAccessoryView |
Modified UITableViewCell.font
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIFont *font |
| To | @property(nonatomic, strong, nullable) UIFont *font |
Modified UITableViewCell.image
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIImage *image |
| To | @property(nonatomic, strong, nullable) UIImage *image |
Modified UITableViewCell.imageView
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, retain) UIImageView *imageView |
| To | @property(nonatomic, readonly, strong, nullable) UIImageView *imageView |
| Designated Initializer | |
|---|---|
| From | -- |
| To | yes |
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIView *multipleSelectionBackgroundView |
| To | @property(nonatomic, strong, nullable) UIView *multipleSelectionBackgroundView |
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIView *selectedBackgroundView |
| To | @property(nonatomic, strong, nullable) UIView *selectedBackgroundView |
Modified UITableViewCell.selectedImage
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIImage *selectedImage |
| To | @property(nonatomic, strong, nullable) UIImage *selectedImage |
Modified UITableViewCell.selectedTextColor
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIColor *selectedTextColor |
| To | @property(nonatomic, strong, nullable) UIColor *selectedTextColor |
Modified UITableViewCell.textColor
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIColor *textColor |
| To | @property(nonatomic, strong, nullable) UIColor *textColor |
Modified UITableViewCell.textLabel
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, retain) UILabel *textLabel |
| To | @property(nonatomic, readonly, strong, nullable) UILabel *textLabel |
UITableViewController.h
Modified UITableViewController.refreshControl
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIRefreshControl *refreshControl |
| To | @property(nonatomic, strong, nullable) UIRefreshControl *refreshControl |
Modified UITableViewController.tableView
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UITableView *tableView |
| To | @property(nonatomic, strong) UITableView * _Null_unspecified tableView |
UITableViewHeaderFooterView.h
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIView *backgroundView |
| To | @property(nonatomic, strong, nullable) UIView *backgroundView |
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, retain) UIView *contentView |
| To | @property(nonatomic, readonly, strong, nonnull) UIView *contentView |
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, retain) UILabel *detailTextLabel |
| To | @property(nonatomic, readonly, strong, nullable) UILabel *detailTextLabel |
| Designated Initializer | |
|---|---|
| From | -- |
| To | yes |
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, retain) UILabel *textLabel |
| To | @property(nonatomic, readonly, strong, nullable) UILabel *textLabel |
Modified UITableViewHeaderFooterView.tintColor
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIColor *tintColor |
| To | @property(nonatomic, strong) UIColor * _Null_unspecified tintColor |
UITextField.h
Modified UITextField.background
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIImage *background |
| To | @property(nonatomic, strong, nullable) UIImage *background |
Modified UITextField.defaultTextAttributes
| Declaration | |
|---|---|
| From | @property(nonatomic, copy) NSDictionary *defaultTextAttributes |
| To | @property(nonatomic, copy, nonnull) NSDictionary<NSString *,id> *defaultTextAttributes |
Modified UITextField.delegate
| Declaration | |
|---|---|
| From | @property(nonatomic, assign) id<UITextFieldDelegate> delegate |
| To | @property(nonatomic, weak, nullable) id<UITextFieldDelegate> delegate |
Modified UITextField.disabledBackground
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIImage *disabledBackground |
| To | @property(nonatomic, strong, nullable) UIImage *disabledBackground |
Modified UITextField.font
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIFont *font |
| To | @property(nonatomic, strong, nullable) UIFont *font |
Modified UITextField.inputAccessoryView
| Declaration | |
|---|---|
| From | @property(readwrite, retain) UIView *inputAccessoryView |
| To | @property(readwrite, strong, nullable) UIView *inputAccessoryView |
Modified UITextField.inputView
| Declaration | |
|---|---|
| From | @property(readwrite, retain) UIView *inputView |
| To | @property(readwrite, strong, nullable) UIView *inputView |
Modified UITextField.leftView
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIView *leftView |
| To | @property(nonatomic, strong, nullable) UIView *leftView |
Modified UITextField.rightView
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIView *rightView |
| To | @property(nonatomic, strong, nullable) UIView *rightView |
Modified UITextField.textColor
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIColor *textColor |
| To | @property(nonatomic, strong, nullable) UIColor *textColor |
Modified UITextField.typingAttributes
| Declaration | |
|---|---|
| From | @property(nonatomic, copy) NSDictionary *typingAttributes |
| To | @property(nonatomic, copy, nullable) NSDictionary<NSString *,id> *typingAttributes |
UITextInput.h
Added UITextInputAssistantItem
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly) NSArray *alternativeInterpretations |
| To | @property(nonatomic, readonly, nullable) NSArray<NSString *> *alternativeInterpretations |
Modified UITextInput.inputDelegate
| Declaration | |
|---|---|
| From | @property(nonatomic, assign) id<UITextInputDelegate> inputDelegate |
| To | @property(nonatomic, weak, nullable) id<UITextInputDelegate> inputDelegate |
| Declaration | |
|---|---|
| From | - (void)insertDictationResult:(NSArray *)dictationResult |
| To | - (void)insertDictationResult:(NSArray<UIDictationPhrase *> * _Nonnull)dictationResult |
Modified UITextInput.textInputView
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly) UIView *textInputView |
| To | @property(nonatomic, readonly, nonnull) __kindof UIView *textInputView |
| Declaration | |
|---|---|
| From | - (NSDictionary *)textStylingAtPosition:(UITextPosition *)position inDirection:(UITextStorageDirection)direction |
| To | - (NSDictionary<NSString *,id> * _Nullable)textStylingAtPosition:(UITextPosition * _Nonnull)position inDirection:(UITextStorageDirection)direction |
Modified +[UITextInputMode activeInputModes]
| Declaration | |
|---|---|
| From | + (NSArray *)activeInputModes |
| To | + (NSArray<NSString *> * _Nonnull)activeInputModes |
Modified UITextInputMode.primaryLanguage
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, retain) NSString *primaryLanguage |
| To | @property(nonatomic, readonly, strong, nullable) NSString *primaryLanguage |
UITextInputTraits.h
Added UIReturnKeyContinue
UITextView.h
Modified UITextView.attributedText
| Declaration | |
|---|---|
| From | @property(nonatomic, copy) NSAttributedString *attributedText |
| To | @property(copy) NSAttributedString * _Null_unspecified attributedText |
Modified UITextView.delegate
| Declaration | |
|---|---|
| From | @property(nonatomic, assign) id<UITextViewDelegate> delegate |
| To | @property(nonatomic, weak, nullable) id<UITextViewDelegate> delegate |
Modified UITextView.font
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIFont *font |
| To | @property(nonatomic, strong, nullable) UIFont *font |
| Designated Initializer | |
|---|---|
| From | -- |
| To | yes |
Modified UITextView.inputAccessoryView
| Declaration | |
|---|---|
| From | @property(readwrite, retain) UIView *inputAccessoryView |
| To | @property(readwrite, strong, nullable) UIView *inputAccessoryView |
Modified UITextView.inputView
| Declaration | |
|---|---|
| From | @property(readwrite, retain) UIView *inputView |
| To | @property(readwrite, strong, nullable) UIView *inputView |
Modified UITextView.linkTextAttributes
| Declaration | |
|---|---|
| From | @property(nonatomic, copy) NSDictionary *linkTextAttributes |
| To | @property(nonatomic, copy) NSDictionary<NSString *,id> * _Null_unspecified linkTextAttributes |
Modified UITextView.textColor
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIColor *textColor |
| To | @property(nonatomic, strong, nullable) UIColor *textColor |
Modified UITextView.textStorage
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, retain) NSTextStorage *textStorage |
| To | @property(nonatomic, readonly, strong, nonnull) NSTextStorage *textStorage |
Modified UITextView.typingAttributes
| Declaration | |
|---|---|
| From | @property(nonatomic, copy) NSDictionary *typingAttributes |
| To | @property(nonatomic, copy, nonnull) NSDictionary<NSString *,id> *typingAttributes |
UIToolbar.h
Modified UIToolbar.barTintColor
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIColor *barTintColor |
| To | @property(nonatomic, strong, nullable) UIColor *barTintColor |
Modified UIToolbar.items
| Declaration | |
|---|---|
| From | @property(nonatomic, copy) NSArray *items |
| To | @property(nonatomic, copy, nullable) NSArray<UIBarButtonItem *> *items |
Modified -[UIToolbar setItems:animated:]
| Declaration | |
|---|---|
| From | - (void)setItems:(NSArray *)items animated:(BOOL)animated |
| To | - (void)setItems:(NSArray<UIBarButtonItem *> * _Nullable)items animated:(BOOL)animated |
Modified UIToolbar.tintColor
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIColor *tintColor |
| To | @property(nonatomic, strong) UIColor * _Null_unspecified tintColor |
Modified UIToolbar.translucent
| Ui Appearance Selector | |
|---|---|
| From | -- |
| To | yes |
UITouch.h
Added UITouch.force
Added UIForceTouchCapability
Modified UITouch.gestureRecognizers
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, copy) NSArray *gestureRecognizers |
| To | @property(nonatomic, readonly, copy, nullable) NSArray<UIGestureRecognizer *> *gestureRecognizers |
Modified UITouch.view
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, retain) UIView *view |
| To | @property(nonatomic, readonly, strong, nullable) UIView *view |
Modified UITouch.window
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, retain) UIWindow *window |
| To | @property(nonatomic, readonly, strong, nullable) UIWindow *window |
UITraitCollection.h
| Declaration | |
|---|---|
| From | + (UITraitCollection *)traitCollectionWithTraitsFromCollections:(NSArray *)traitCollections |
| To | + (UITraitCollection * _Nonnull)traitCollectionWithTraitsFromCollections:(NSArray<UITraitCollection *> * _Nonnull)traitCollections |
UIUserNotificationSettings.h
| Declaration | |
|---|---|
| From | - (void)setActions:(NSArray *)actions forContext:(UIUserNotificationActionContext)context |
| To | - (void)setActions:(NSArray<UIUserNotificationAction *> * _Nullable)actions forContext:(UIUserNotificationActionContext)context |
| Declaration | |
|---|---|
| From | - (NSArray *)actionsForContext:(UIUserNotificationActionContext)context |
| To | - (NSArray<UIUserNotificationAction *> * _Nullable)actionsForContext:(UIUserNotificationActionContext)context |
| Declaration | |
|---|---|
| From | @property(nonatomic, copy, readonly) NSSet *categories |
| To | @property(nonatomic, copy, readonly, nullable) NSSet<UIUserNotificationCategory *> *categories |
| Declaration | |
|---|---|
| From | + (instancetype)settingsForTypes:(UIUserNotificationType)types categories:(NSSet *)categories |
| To | + (instancetype _Nonnull)settingsForTypes:(UIUserNotificationType)types categories:(NSSet<UIUserNotificationCategory *> * _Nullable)categories |
UIView.h
Added UIView.bottomAnchor
Added UIView.centerXAnchor
Added UIView.centerYAnchor
Added UIView.heightAnchor
Added -[UIView initWithCoder:]
Added UIView.layoutGuides
Added UIView.leadingAnchor
Added UIView.leftAnchor
Added UIView.rightAnchor
Added UIView.topAnchor
Added UIView.trailingAnchor
Added UIView.widthAnchor
Added UIView(UILayoutGuideSupport)
Added UIView(UIViewLayoutConstraintCreation)
Modified -[UIView addConstraints:]
| Declaration | |
|---|---|
| From | - (void)addConstraints:(NSArray *)constraints |
| To | - (void)addConstraints:(NSArray<__kindof NSLayoutConstraint *> * _Nonnull)constraints |
Modified UIView.constraints
| Declaration | |
|---|---|
| From | - (NSArray *)constraints |
| To | @property(nonatomic, readonly, nonnull) NSArray<__kindof NSLayoutConstraint *> *constraints |
| Declaration | |
|---|---|
| From | - (NSArray *)constraintsAffectingLayoutForAxis:(UILayoutConstraintAxis)axis |
| To | - (NSArray<__kindof NSLayoutConstraint *> * _Nonnull)constraintsAffectingLayoutForAxis:(UILayoutConstraintAxis)axis |
Modified UIView.gestureRecognizers
| Declaration | |
|---|---|
| From | @property(nonatomic, copy) NSArray *gestureRecognizers |
| To | @property(nonatomic, copy, nullable) NSArray<__kindof UIGestureRecognizer *> *gestureRecognizers |
Modified -[UIView initWithFrame:]
| Designated Initializer | |
|---|---|
| From | -- |
| To | yes |
Modified UIView.layer
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, retain) CALayer *layer |
| To | @property(nonatomic, readonly, strong, nonnull) CALayer *layer |
Modified UIView.maskView
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIView *maskView |
| To | @property(nonatomic, strong, nullable) UIView *maskView |
Modified UIView.motionEffects
| Declaration | |
|---|---|
| From | @property(copy, nonatomic) NSArray *motionEffects |
| To | @property(copy, nonatomic, nonnull) NSArray<__kindof UIMotionEffect *> *motionEffects |
| Declaration | |
|---|---|
| From | + (void)performSystemAnimation:(UISystemAnimation)animation onViews:(NSArray *)views options:(UIViewAnimationOptions)options animations:(void (^)(void))parallelAnimations completion:(void (^)(BOOL finished))completion |
| To | + (void)performSystemAnimation:(UISystemAnimation)animation onViews:(NSArray<__kindof UIView *> * _Nonnull)views options:(UIViewAnimationOptions)options animations:(void (^ _Nullable)(void))parallelAnimations completion:(void (^ _Nullable)(BOOL finished))completion |
Modified -[UIView removeConstraints:]
| Declaration | |
|---|---|
| From | - (void)removeConstraints:(NSArray *)constraints |
| To | - (void)removeConstraints:(NSArray<__kindof NSLayoutConstraint *> * _Nonnull)constraints |
Modified UIView.subviews
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, copy) NSArray *subviews |
| To | @property(nonatomic, readonly, copy, nonnull) NSArray<__kindof UIView *> *subviews |
Modified UIView.tintColor
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIColor *tintColor |
| To | @property(nonatomic, strong) UIColor * _Null_unspecified tintColor |
| Declaration | |
|---|---|
| From | - (BOOL)translatesAutoresizingMaskIntoConstraints |
| To | @property(nonatomic) BOOL translatesAutoresizingMaskIntoConstraints |
Modified -[UIView viewForBaselineLayout]
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 9.0 |
Modified UIUserInterfaceLayoutDirection
| Header | |
|---|---|
| From | UIKit/UIApplication.h |
| To | UIKit/UIView.h |
| Header | |
|---|---|
| From | UIKit/UIApplication.h |
| To | UIKit/UIView.h |
| Header | |
|---|---|
| From | UIKit/UIApplication.h |
| To | UIKit/UIView.h |
UIViewController.h
Added UIPreviewAction
Added UIPreviewAction.handler
Added UIPreviewActionGroup
Added UIPreviewActionItem
Added UIPreviewActionStyle
Added UIViewController()
Added UIViewController(UIKeyCommand)
Added UIViewController(UIViewControllerPreviewingRegistration)
Modified UIViewController.bottomLayoutGuide
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, retain) id<UILayoutSupport> bottomLayoutGuide |
| To | @property(nonatomic, readonly, strong, nonnull) id<UILayoutSupport> bottomLayoutGuide |
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly) NSArray *childViewControllers |
| To | @property(nonatomic, readonly, nonnull) NSArray<__kindof UIViewController *> *childViewControllers |
Modified UIViewController.extensionContext
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, retain) NSExtensionContext *extensionContext |
| To | @property(nonatomic, readonly, strong, nullable) NSExtensionContext *extensionContext |
| Designated Initializer | |
|---|---|
| From | -- |
| To | yes |
Modified UIViewController.nibBundle
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, retain) NSBundle *nibBundle |
| To | @property(nonatomic, readonly, strong, nullable) NSBundle *nibBundle |
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly) UIViewController *parentViewController |
| To | @property(nonatomic, weak, readonly, nullable) UIViewController *parentViewController |
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, retain) UISearchDisplayController *searchDisplayController |
| To | @property(nonatomic, readonly, strong, nullable) UISearchDisplayController *searchDisplayController |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 9.0 |
Modified UIViewController.storyboard
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, retain) UIStoryboard *storyboard |
| To | @property(nonatomic, readonly, strong, nullable) UIStoryboard *storyboard |
| Declaration | |
|---|---|
| From | - (NSUInteger)supportedInterfaceOrientations |
| To | - (UIInterfaceOrientationMask)supportedInterfaceOrientations |
Modified UIViewController.topLayoutGuide
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, retain) id<UILayoutSupport> topLayoutGuide |
| To | @property(nonatomic, readonly, strong, nonnull) id<UILayoutSupport> topLayoutGuide |
| Declaration | |
|---|---|
| From | @property(nonatomic, assign) id<UIViewControllerTransitioningDelegate> transitioningDelegate |
| To | @property(nonatomic, weak, nullable) id<UIViewControllerTransitioningDelegate> transitioningDelegate |
Modified UIViewController.view
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIView *view |
| To | @property(nonatomic, strong) UIView * _Null_unspecified view |
| Deprecation | |
|---|---|
| From | -- |
| To | iOS 9.0 |
UIViewControllerTransitionCoordinator.h
| Declaration | |
|---|---|
| From | - (UIViewController *)viewControllerForKey:(NSString *)key |
| To | - (__kindof UIViewController * _Nullable)viewControllerForKey:(NSString * _Nonnull)key |
| Declaration | |
|---|---|
| From | - (UIView *)viewForKey:(NSString *)key |
| To | - (__kindof UIView * _Nullable)viewForKey:(NSString * _Nonnull)key |
UIViewControllerTransitioning.h
| Declaration | |
|---|---|
| From | - (UIViewController *)viewControllerForKey:(NSString *)key |
| To | - (__kindof UIViewController * _Nullable)viewControllerForKey:(NSString * _Nonnull)key |
| Declaration | |
|---|---|
| From | - (UIView *)viewForKey:(NSString *)key |
| To | - (__kindof UIView * _Nullable)viewForKey:(NSString * _Nonnull)key |
UIVisualEffectView.h
Modified UIVisualEffectView.contentView
| Declaration | |
|---|---|
| From | @property(nonatomic, retain, readonly) UIView *contentView |
| To | @property(nonatomic, strong, readonly, nonnull) UIView *contentView |
Modified UIVisualEffectView.effect
| Declaration | |
|---|---|
| From | @property(nonatomic, copy, readonly) UIVisualEffect *effect |
| To | @property(nonatomic, copy, nullable) UIVisualEffect *effect |
UIWebView.h
Modified UIWebView.request
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, retain) NSURLRequest *request |
| To | @property(nonatomic, readonly, strong, nullable) NSURLRequest *request |
Modified UIWebView.scrollView
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly, retain) UIScrollView *scrollView |
| To | @property(nonatomic, readonly, strong, nonnull) UIScrollView *scrollView |
UIWindow.h
Modified UIWindow.rootViewController
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIViewController *rootViewController |
| To | @property(nonatomic, strong, nullable) UIViewController *rootViewController |
Modified UIWindow.screen
| Declaration | |
|---|---|
| From | @property(nonatomic, retain) UIScreen *screen |
| To | @property(nonatomic, strong, nonnull) UIScreen *screen |