Documentation Archive Developer
Search

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

Deprecation
From--
ToiOS 9.0

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

Deprecation
From--
ToiOS 9.0

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

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

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

NSParagraphStyle.h

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

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

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

Declaration
From
@property(readwrite, copy, nonatomic) NSArray *tabStops
To
@property(copy, nonatomic) NSArray<NSTextTab *> * _Null_unspecified tabStops

Declaration
From
@property(readwrite) CGFloat tailIndent
To
@property(nonatomic) CGFloat tailIndent

Protocols
FromNSCoding, NSCopying, NSMutableCopying
ToNSCopying, NSMutableCopying, NSSecureCoding

Declaration
From
@property(readonly) NSTextAlignment alignment
To
@property(readonly, nonatomic) NSTextAlignment alignment

Declaration
From
@property(readonly) NSWritingDirection baseWritingDirection
To
@property(readonly, nonatomic) NSWritingDirection baseWritingDirection

Declaration
From
@property(readonly) CGFloat firstLineHeadIndent
To
@property(readonly, nonatomic) CGFloat firstLineHeadIndent

Declaration
From
@property(readonly) CGFloat headIndent
To
@property(readonly, nonatomic) CGFloat headIndent

Declaration
From
@property(readonly) float hyphenationFactor
To
@property(readonly, nonatomic) float hyphenationFactor

Declaration
From
@property(readonly) NSLineBreakMode lineBreakMode
To
@property(readonly, nonatomic) NSLineBreakMode lineBreakMode

Declaration
From
@property(readonly) CGFloat lineHeightMultiple
To
@property(readonly, nonatomic) CGFloat lineHeightMultiple

Declaration
From
@property(readonly) CGFloat lineSpacing
To
@property(readonly, nonatomic) CGFloat lineSpacing

Declaration
From
@property(readonly) CGFloat maximumLineHeight
To
@property(readonly, nonatomic) CGFloat maximumLineHeight

Declaration
From
@property(readonly) CGFloat minimumLineHeight
To
@property(readonly, nonatomic) CGFloat minimumLineHeight

Declaration
From
@property(readonly) CGFloat paragraphSpacing
To
@property(readonly, nonatomic) CGFloat paragraphSpacing

Declaration
From
@property(readonly) CGFloat paragraphSpacingBefore
To
@property(readonly, nonatomic) CGFloat paragraphSpacingBefore

Declaration
From
@property(readonly, copy, nonatomic) NSArray *tabStops
To
@property(readonly, copy, nonatomic, nonnull) NSArray<NSTextTab *> *tabStops

Declaration
From
@property(readonly) CGFloat tailIndent
To
@property(readonly, nonatomic) CGFloat tailIndent

Declaration
From
@property(readonly) NSTextAlignment alignment
To
@property(readonly, nonatomic) NSTextAlignment alignment

DeclarationDesignated 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

Declaration
From
@property(readonly) CGFloat location
To
@property(readonly, nonatomic) CGFloat location

Declaration
From
@property(readonly) NSDictionary *options
To
@property(readonly, nonatomic, nonnull) NSDictionary<NSString *,id> *options

NSShadow.h

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

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

Declaration
From
@property(nonatomic, readonly) CGRect totalBounds
To
@property(readonly, nonatomic) CGRect totalBounds

NSTextAttachment.h

Declaration
From
@property(retain, nonatomic) NSData *contents
To
@property(copy, nonatomic, nullable) NSData *contents

Declaration
From
@property(retain, nonatomic) NSString *fileType
To
@property(copy, nonatomic, nullable) NSString *fileType

Declaration
From
@property(retain, nonatomic) NSFileWrapper *fileWrapper
To
@property(strong, nonatomic, nullable) NSFileWrapper *fileWrapper

Declaration
From
@property(retain, nonatomic) UIImage *image
To
@property(strong, nonatomic, nullable) UIImage *image

Designated Initializer
From--
Toyes

NSTextContainer.h

Declaration
From
@property(copy, nonatomic) NSArray *exclusionPaths
To
@property(copy, nonatomic, nonnull) NSArray<UIBezierPath *> *exclusionPaths

Designated Initializer
From--
Toyes

NSTextStorage.h

Declaration
From
@property(nonatomic) NSInteger changeInLength
To
@property(readonly, nonatomic) NSInteger changeInLength

Declaration
From
@property(nonatomic) NSTextStorageEditActions editedMask
To
@property(readonly, nonatomic) NSTextStorageEditActions editedMask

Declaration
From
@property(nonatomic) NSRange editedRange
To
@property(readonly, nonatomic) NSRange editedRange

Declaration
From
@property(readonly, nonatomic) NSArray *layoutManagers
To
@property(readonly, copy, nonatomic, nonnull) NSArray<NSLayoutManager *> *layoutManagers

UIAccelerometer.h

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

UIAccessibility.h

Declaration
From
@property(nonatomic, retain) NSArray *accessibilityCustomActions
To
@property(nonatomic, strong, nullable) NSArray<UIAccessibilityCustomAction *> *accessibilityCustomActions

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

Deprecation
From--
ToiOS 8.3

Deprecation
From--
ToiOS 8.3

Deprecation
From--
ToiOS 8.3

Deprecation
From--
ToiOS 8.3

DeclarationDeprecation
From
@property(nonatomic, assign) id<UIActionSheetDelegate> delegate
--
To
@property(nonatomic, weak, nullable) id<UIActionSheetDelegate> delegate
iOS 8.3

Deprecation
From--
ToiOS 8.3

Deprecation
From--
ToiOS 8.3

Deprecation
From--
ToiOS 8.3

Deprecation
From--
ToiOS 8.3

Deprecation
From--
ToiOS 8.3

Deprecation
From--
ToiOS 8.3

Deprecation
From--
ToiOS 8.3

Deprecation
From--
ToiOS 8.3

Deprecation
From--
ToiOS 8.3

Deprecation
From--
ToiOS 8.3

Deprecation
From--
ToiOS 8.3

Deprecation
From--
ToiOS 8.3

Deprecation
From--
ToiOS 8.3

Deprecation
From--
ToiOS 8.3

Deprecation
From--
ToiOS 8.3

Deprecation
From--
ToiOS 8.3

Deprecation
From--
ToiOS 8.3

Deprecation
From--
ToiOS 8.3

UIActivity.h

UIActivityIndicatorView.h

Declaration
From
@property(readwrite, nonatomic, retain) UIColor *color
To
@property(readwrite, nonatomic, strong, nullable) UIColor *color

Designated Initializer
From--
Toyes

UIActivityItemProvider.h

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

Designated Initializer
From--
Toyes

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

DeclarationDesignated 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

Declaration
From
@property(nonatomic, readonly) NSArray *actions
To
@property(nonatomic, readonly, nonnull) NSArray<UIAlertAction *> *actions

Declaration
From
@property(nonatomic, readonly) NSArray *textFields
To
@property(nonatomic, readonly, nullable) NSArray<UITextField *> *textFields

UIAlertView.h

Modified UIAlertView
Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

DeclarationDeprecation
From
@property(nonatomic, assign) id delegate
--
To
@property(nonatomic, weak, nullable) id delegate
iOS 9.0

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

IntroductionDeprecation
FromiOS 5.0--
ToiOS 2.0iOS 9.0

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

UIAppearance.h

UIApplication.h

Modified UIApplication
Protocols
FromUIActionSheetDelegate
To--

Override Requires Super
From--
Toyes

Override Requires Super
From--
Toyes

Deprecation
From--
ToiOS 9.0

Override Requires Super
From--
Toyes

Declaration
From
@property(nonatomic, copy) NSArray *scheduledLocalNotifications
To
@property(nonatomic, copy, nullable) NSArray<UILocalNotification *> *scheduledLocalNotifications

Deprecation
From--
ToiOS 9.0

IntroductionDeprecation
FromiOS 5.0--
ToiOS 9.0iOS 9.0

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

DeclarationDeprecation
From
@property(nonatomic, getter=isStatusBarHidden) BOOL statusBarHidden
--
To
@property(readonly, nonatomic, getter=isStatusBarHidden) BOOL statusBarHidden
iOS 9.0

DeclarationDeprecation
From
@property(nonatomic) UIInterfaceOrientation statusBarOrientation
--
To
@property(readonly, nonatomic) UIInterfaceOrientation statusBarOrientation
iOS 9.0

DeclarationDeprecation
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

Declaration
From
@property(nonatomic, readonly) NSArray *windows
To
@property(nonatomic, readonly, nonnull) NSArray<__kindof UIWindow *> *windows

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

Declaration
From
- (NSUInteger)application:(UIApplication *)application supportedInterfaceOrientationsForWindow:(UIWindow *)window
To
- (UIInterfaceOrientationMask)application:(UIApplication * _Nonnull)application supportedInterfaceOrientationsForWindow:(UIWindow * _Nullable)window

Declaration
From
@property(nonatomic, retain) UIWindow *window
To
@property(nonatomic, strong, nullable) UIWindow *window

Header
FromUIKit/UIApplication.h
ToUIKit/UIView.h

Header
FromUIKit/UIApplication.h
ToUIKit/UIView.h

Header
FromUIKit/UIApplication.h
ToUIKit/UIView.h

UIApplicationShortcutItem.h (Added)

UIAttachmentBehavior.h

UIBarButtonItem.h

Declaration
From
@property(nonatomic, retain) UIView *customView
To
@property(nonatomic, strong, nullable) __kindof UIView *customView

Declaration
From
@property(nonatomic, copy) NSSet *possibleTitles
To
@property(nonatomic, copy, nullable) NSSet<NSString *> *possibleTitles

Declaration
From
@property(nonatomic, assign) id target
To
@property(nonatomic, weak, nullable) id target

Declaration
From
@property(nonatomic, retain) UIColor *tintColor
To
@property(nonatomic, strong, nullable) UIColor *tintColor

UIBarButtonItemGroup.h (Added)

UIBarItem.h

Modified UIBarItem
Protocols
FromUIAppearance
ToNSCoding, UIAppearance

Declaration
From
@property(nonatomic, retain) UIImage *image
To
@property(nonatomic, strong, nullable) UIImage *image

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

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

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

Declaration
From
+ (id)buttonWithType:(UIButtonType)buttonType
To
+ (instancetype _Nonnull)buttonWithType:(UIButtonType)buttonType

Declaration
From
@property(nonatomic, readonly, retain) NSAttributedString *currentAttributedTitle
To
@property(nonatomic, readonly, strong, nullable) NSAttributedString *currentAttributedTitle

Declaration
From
@property(nonatomic, readonly, retain) UIImage *currentBackgroundImage
To
@property(nonatomic, readonly, strong, nullable) UIImage *currentBackgroundImage

Declaration
From
@property(nonatomic, readonly, retain) UIImage *currentImage
To
@property(nonatomic, readonly, strong, nullable) UIImage *currentImage

Declaration
From
@property(nonatomic, readonly, retain) NSString *currentTitle
To
@property(nonatomic, readonly, strong, nullable) NSString *currentTitle

Declaration
From
@property(nonatomic, readonly, retain) UIColor *currentTitleColor
To
@property(nonatomic, readonly, strong, nonnull) UIColor *currentTitleColor

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

Declaration
From
@property(nonatomic, readonly, retain) UIImageView *imageView
To
@property(nonatomic, readonly, strong, nullable) UIImageView *imageView

Declaration
From
@property(nonatomic, retain) UIColor *tintColor
To
@property(nonatomic, strong) UIColor * _Null_unspecified tintColor

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

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

Declaration
From
@property(nonatomic, assign) id<UICollectionViewDataSource> dataSource
To
@property(nonatomic, weak, nullable) id<UICollectionViewDataSource> dataSource

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

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--
Toyes

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

Declaration
From
- (NSArray *)visibleCells
To
- (NSArray<__kindof UICollectionViewCell *> * _Nonnull)visibleCells

UICollectionViewCell.h

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--
Toyes

UICollectionViewFlowLayout.h

UICollectionViewLayout.h

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

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

Declaration
From
- (void)invalidateSupplementaryElementsOfKind:(NSString *)elementKind atIndexPaths:(NSArray *)indexPaths
To
- (void)invalidateSupplementaryElementsOfKind:(NSString * _Nonnull)elementKind atIndexPaths:(NSArray<NSIndexPath *> * _Nonnull)indexPaths

UICollectionViewTransitionLayout.h

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

DeclarationDesignated Initializer
From
- (instancetype)initWithItems:(NSArray *)items
--
To
- (instancetype _Nonnull)initWithItems:(NSArray<id<UIDynamicItem>> * _Nonnull)items
yes

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

Declaration
From
@property(nonatomic, retain) NSDate *date
To
@property(nonatomic, strong, nonnull) NSDate *date

Declaration
From
@property(nonatomic, retain) NSLocale *locale
To
@property(nonatomic, strong, nullable) NSLocale *locale

Declaration
From
@property(nonatomic, retain) NSDate *maximumDate
To
@property(nonatomic, strong, nullable) NSDate *maximumDate

Declaration
From
@property(nonatomic, retain) NSDate *minimumDate
To
@property(nonatomic, strong, nullable) NSDate *minimumDate

Declaration
From
@property(nonatomic, retain) NSTimeZone *timeZone
To
@property(nonatomic, strong, nullable) NSTimeZone *timeZone

UIDevice.h

Declaration
From
@property(nonatomic, readonly, retain) NSUUID *identifierForVendor
To
@property(nonatomic, readonly, strong, nullable) NSUUID *identifierForVendor

Declaration
From
@property(nonatomic, readonly, retain) NSString *localizedModel
To
@property(nonatomic, readonly, strong, nonnull) NSString *localizedModel

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

Declaration
From
@property(nonatomic, readonly, retain) NSString *systemName
To
@property(nonatomic, readonly, strong, nonnull) NSString *systemName

Declaration
From
@property(nonatomic, readonly, retain) NSString *systemVersion
To
@property(nonatomic, readonly, strong, nonnull) NSString *systemVersion

UIDocument.h

Modified UIDocument
Protocols
FromNSFilePresenter
ToNSFilePresenter, NSProgressReporting

Designated Initializer
From--
Toyes

Declaration
From
@property(retain) NSUndoManager *undoManager
To
@property(strong) NSUndoManager * _Null_unspecified undoManager

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

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

Declaration
From
@property(nonatomic, readonly, copy) NSArray *behaviors
To
@property(nonatomic, readonly, copy, nonnull) NSArray<__kindof UIDynamicBehavior *> *behaviors

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

Designated Initializer
From--
Toyes

Declaration
From
- (NSArray *)itemsInRect:(CGRect)rect
To
- (NSArray<id<UIDynamicItem>> * _Nonnull)itemsInRect:(CGRect)rect

UIDynamicBehavior.h

Declaration
From
@property(nonatomic, readonly, copy) NSArray *childBehaviors
To
@property(nonatomic, readonly, copy, nonnull) NSArray<__kindof UIDynamicBehavior *> *childBehaviors

UIDynamicItemBehavior.h

DeclarationDesignated Initializer
From
- (instancetype)initWithItems:(NSArray *)items
--
To
- (instancetype _Nonnull)initWithItems:(NSArray<id<UIDynamicItem>> * _Nonnull)items
yes

Declaration
From
@property(nonatomic, readonly, copy) NSArray *items
To
@property(nonatomic, readonly, copy, nonnull) NSArray<id<UIDynamicItem>> *items

UIEvent.h

Declaration
From
- (NSSet *)allTouches
To
- (NSSet<UITouch *> * _Nullable)allTouches

Declaration
From
- (NSSet *)touchesForGestureRecognizer:(UIGestureRecognizer *)gesture
To
- (NSSet<UITouch *> * _Nullable)touchesForGestureRecognizer:(UIGestureRecognizer * _Nonnull)gesture

Declaration
From
- (NSSet *)touchesForView:(UIView *)view
To
- (NSSet<UITouch *> * _Nullable)touchesForView:(UIView * _Nonnull)view

Declaration
From
- (NSSet *)touchesForWindow:(UIWindow *)window
To
- (NSSet<UITouch *> * _Nullable)touchesForWindow:(UIWindow * _Nonnull)window

UIFieldBehavior.h (Added)

UIFont.h

Declaration
From
@property(nonatomic, readonly, retain) NSString *familyName
To
@property(nonatomic, readonly, strong, nonnull) NSString *familyName

Declaration
From
+ (NSArray *)familyNames
To
+ (NSArray<NSString *> * _Nonnull)familyNames

Declaration
From
@property(nonatomic, readonly, retain) NSString *fontName
To
@property(nonatomic, readonly, strong, nonnull) NSString *fontName

Declaration
From
+ (NSArray *)fontNamesForFamilyName:(NSString *)familyName
To
+ (NSArray<NSString *> * _Nonnull)fontNamesForFamilyName:(NSString * _Nonnull)familyName

UIFontDescriptor.h

Protocols
FromNSCoding, NSCopying
ToNSCopying, NSSecureCoding

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

DeclarationDesignated 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

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

Designated Initializer
From--
Toyes

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

DeclarationDesignated Initializer
From
- (instancetype)initWithItems:(NSArray *)items
--
To
- (instancetype _Nonnull)initWithItems:(NSArray<id<UIDynamicItem>> * _Nonnull)items
yes

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

Declaration
From
@property(nonatomic, readonly) NSArray *images
To
@property(nonatomic, readonly, nullable) NSArray<UIImage *> *images

Declaration
From
@property(nonatomic, readonly) UITraitCollection *traitCollection
To
@property(nonatomic, readonly, copy, nonnull) UITraitCollection *traitCollection

UIImageAsset.h

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

Declaration
From
@property(nonatomic, assign) id<UINavigationControllerDelegate, UIImagePickerControllerDelegate> delegate
To
@property(nonatomic, weak, nullable) id<UINavigationControllerDelegate, UIImagePickerControllerDelegate> delegate

Declaration
From
@property(nonatomic, copy) NSArray *mediaTypes
To
@property(nonatomic, copy, nonnull) NSArray<NSString *> *mediaTypes

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

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

Declaration
From
@property(nonatomic, retain) UIImage *highlightedImage
To
@property(nonatomic, strong, nullable) UIImage *highlightedImage

Declaration
From
@property(nonatomic, retain) UIImage *image
To
@property(nonatomic, strong, nullable) UIImage *image

Declaration
From
@property(nonatomic, retain) UIColor *tintColor
To
@property(nonatomic, strong) UIColor * _Null_unspecified tintColor

UIInputView.h

UIInputViewController.h

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

Declaration
From
@property(nonatomic, retain) UIColor *highlightedTextColor
To
@property(nonatomic, strong, nullable) UIColor *highlightedTextColor

Declaration
From
@property(nonatomic, retain) UIColor *shadowColor
To
@property(nonatomic, strong, nullable) UIColor *shadowColor

Declaration
From
@property(nonatomic, retain) UIColor *textColor
To
@property(nonatomic, strong) UIColor * _Null_unspecified textColor

UILayoutGuide.h (Added)

UILexicon.h

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

Declaration
From
@property(nonatomic, retain, readonly) NSManagedObjectModel *managedObjectModel
To
@property(nonatomic, strong, readonly, nonnull) NSManagedObjectModel *managedObjectModel

UIMenuController.h

Declaration
From
@property(nonatomic, copy) NSArray *menuItems
To
@property(nonatomic, copy, nullable) NSArray<UIMenuItem *> *menuItems

Designated Initializer
From--
Toyes

UIMotionEffect.h

Designated Initializer
From--
Toyes

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

Declaration
From
@property(copy, nonatomic) NSArray *motionEffects
To
@property(copy, nonatomic, nullable) NSArray<__kindof UIMotionEffect *> *motionEffects

UINavigationBar.h

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

Declaration
From
@property(nonatomic, readonly, retain) UINavigationItem *backItem
To
@property(nonatomic, readonly, strong, nullable) UINavigationItem *backItem

Declaration
From
@property(nonatomic, retain) UIColor *barTintColor
To
@property(nonatomic, strong, nullable) UIColor *barTintColor

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

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

Declaration
From
@property(nonatomic, retain) UIImage *shadowImage
To
@property(nonatomic, strong, nullable) UIImage *shadowImage

Declaration
From
@property(nonatomic, retain) UIColor *tintColor
To
@property(nonatomic, strong) UIColor * _Null_unspecified tintColor

Declaration
From
@property(nonatomic, copy) NSDictionary *titleTextAttributes
To
@property(nonatomic, copy, nullable) NSDictionary<NSString *,id> *titleTextAttributes

Declaration
From
@property(nonatomic, readonly, retain) UINavigationItem *topItem
To
@property(nonatomic, readonly, strong, nullable) UINavigationItem *topItem

Ui Appearance Selector
From--
Toyes

Declaration
From
@property(nonatomic, retain) UIBarButtonItem *backBarButtonItem
To
@property(nonatomic, strong, nullable) UIBarButtonItem *backBarButtonItem

Designated Initializer
From--
Toyes

Declaration
From
@property(nonatomic, retain) UIBarButtonItem *leftBarButtonItem
To
@property(nonatomic, strong, nullable) UIBarButtonItem *leftBarButtonItem

Declaration
From
@property(nonatomic, copy) NSArray *leftBarButtonItems
To
@property(nonatomic, copy, nullable) NSArray<UIBarButtonItem *> *leftBarButtonItems

Declaration
From
@property(nonatomic, retain) UIBarButtonItem *rightBarButtonItem
To
@property(nonatomic, strong, nullable) UIBarButtonItem *rightBarButtonItem

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

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

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

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

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

Declaration
From
@property(nonatomic, retain) UIColor *pageIndicatorTintColor
To
@property(nonatomic, strong, nullable) UIColor *pageIndicatorTintColor

UIPageViewController.h

Declaration
From
@property(nonatomic, assign) id<UIPageViewControllerDataSource> dataSource
To
@property(nonatomic, weak, nullable) id<UIPageViewControllerDataSource> dataSource

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

DeclarationDesignated 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

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

Declaration
From
- (void)addItems:(NSArray *)items
To
- (void)addItems:(NSArray<NSDictionary<NSString *,id> *> * _Nonnull)items

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

Declaration
From
@property(nonatomic, copy) NSArray *images
To
@property(nonatomic, copy, nullable) NSArray<UIImage *> *images

Declaration
From
- (NSArray *)pasteboardTypes
To
- (NSArray<NSString *> * _Nonnull)pasteboardTypes

Declaration
From
@property(nonatomic, copy) NSArray *strings
To
@property(nonatomic, copy, nullable) NSArray<NSString *> *strings

Declaration
From
@property(nonatomic, copy) NSArray *URLs
To
@property(nonatomic, copy, nullable) NSArray<NSURL *> *URLs

UIPickerView.h

Declaration
From
@property(nonatomic, assign) id<UIPickerViewDataSource> dataSource
To
@property(nonatomic, weak, nullable) id<UIPickerViewDataSource> dataSource

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

UIPopoverController.h

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

DeclarationDeprecation
From
@property(nonatomic, retain) UIViewController *contentViewController
--
To
@property(nonatomic, strong, nonnull) UIViewController *contentViewController
iOS 9.0

DeclarationDeprecation
From
@property(nonatomic, assign) id<UIPopoverControllerDelegate> delegate
--
To
@property(nonatomic, weak, nullable) id<UIPopoverControllerDelegate> delegate
iOS 9.0

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

DeclarationDeprecation
From
@property(nonatomic, copy) NSArray *passthroughViews
--
To
@property(nonatomic, copy, nullable) NSArray<__kindof UIView *> *passthroughViews
iOS 9.0

Deprecation
From--
ToiOS 9.0

DeclarationDeprecation
From
@property(nonatomic, readwrite, retain) Class popoverBackgroundViewClass
--
To
@property(nonatomic, readwrite, strong, nullable) Class popoverBackgroundViewClass
iOS 9.0

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

Deprecation
From--
ToiOS 9.0

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

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

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

UIPrintFormatter.h

Declaration
From
@property(nonatomic, readonly, assign) UIPrintPageRenderer *printPageRenderer
To
@property(nonatomic, readonly, weak, nullable) UIPrintPageRenderer *printPageRenderer

Declaration
From
@property(nonatomic, retain) UIColor *color
To
@property(nonatomic, strong, nullable) UIColor *color

Declaration
From
@property(nonatomic, retain) UIFont *font
To
@property(nonatomic, strong, nullable) UIFont *font

UIPrintInfo.h

UIPrintInteractionController.h

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

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

Declaration
From
@property(nonatomic, retain) UIImage *progressImage
To
@property(nonatomic, strong, nullable) UIImage *progressImage

Declaration
From
@property(nonatomic, retain) UIColor *progressTintColor
To
@property(nonatomic, strong, nullable) UIColor *progressTintColor

Declaration
From
@property(nonatomic, retain) UIImage *trackImage
To
@property(nonatomic, strong, nullable) UIImage *trackImage

Declaration
From
@property(nonatomic, retain) UIColor *trackTintColor
To
@property(nonatomic, strong, nullable) UIColor *trackTintColor

UIPushBehavior.h

DeclarationDesignated Initializer
From
- (instancetype)initWithItems:(NSArray *)items mode:(UIPushBehaviorMode)mode
--
To
- (instancetype _Nonnull)initWithItems:(NSArray<id<UIDynamicItem>> * _Nonnull)items mode:(UIPushBehaviorMode)mode
yes

Declaration
From
@property(nonatomic, readonly, copy) NSArray *items
To
@property(nonatomic, readonly, copy, nonnull) NSArray<id<UIDynamicItem>> *items

UIReferenceLibraryViewController.h

UIRefreshControl.h

Declaration
From
@property(nonatomic, retain) NSAttributedString *attributedTitle
To
@property(nonatomic, strong, nullable) NSAttributedString *attributedTitle

Declaration
From
@property(nonatomic, retain) UIColor *tintColor
To
@property(nonatomic, strong) UIColor * _Null_unspecified tintColor

UIRegion.h (Added)

UIResponder.h

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

Declaration
From
@property(nonatomic, readonly, retain) UIView *inputView
To
@property(nonatomic, readonly, strong, nullable) __kindof UIView *inputView

Declaration
From
@property(nonatomic, readonly, retain) UIInputViewController *inputViewController
To
@property(nonatomic, readonly, strong, nullable) UIInputViewController *inputViewController

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

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

Declaration
From
@property(nonatomic, retain) NSUserActivity *userActivity
To
@property(nonatomic, strong, nullable) NSUserActivity *userActivity

UIScreen.h

Deprecation
From--
ToiOS 9.0

Declaration
From
@property(nonatomic, readonly, copy) NSArray *availableModes
To
@property(nonatomic, readonly, copy, nonnull) NSArray<UIScreenMode *> *availableModes

Declaration
From
@property(nonatomic, retain) UIScreenMode *currentMode
To
@property(nonatomic, strong, nullable) UIScreenMode *currentMode

Declaration
From
@property(nonatomic, readonly, retain) UIScreen *mirroredScreen
To
@property(nonatomic, readonly, strong, nullable) UIScreen *mirroredScreen

Declaration
From
@property(nonatomic, readonly, retain) UIScreenMode *preferredMode
To
@property(nonatomic, readonly, strong, nullable) UIScreenMode *preferredMode

Declaration
From
+ (NSArray *)screens
To
+ (NSArray<UIScreen *> * _Nonnull)screens

Deprecation
From--
ToiOS 9.0

UIScrollView.h

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

Declaration
From
@property(nonatomic, retain) UIImage *backgroundImage
To
@property(nonatomic, strong, nullable) UIImage *backgroundImage

Declaration
From
@property(nonatomic, retain) UIColor *barTintColor
To
@property(nonatomic, strong, nullable) UIColor *barTintColor

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

Declaration
From
@property(nonatomic, readwrite, retain) UIView *inputAccessoryView
To
@property(nonatomic, readwrite, strong, nullable) UIView *inputAccessoryView

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

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

Declaration
From
@property(nonatomic, retain) UIColor *tintColor
To
@property(nonatomic, strong) UIColor * _Null_unspecified tintColor

UISearchController.h

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

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

Declaration
From
@property(nonatomic, retain) UIColor *tintColor
To
@property(nonatomic, strong) UIColor * _Null_unspecified tintColor

UISlider.h

Declaration
From
@property(nonatomic, retain) UIColor *maximumTrackTintColor
To
@property(nonatomic, strong, nullable) UIColor *maximumTrackTintColor

Declaration
From
@property(nonatomic, retain) UIImage *maximumValueImage
To
@property(nonatomic, strong, nullable) UIImage *maximumValueImage

Declaration
From
@property(nonatomic, retain) UIColor *minimumTrackTintColor
To
@property(nonatomic, strong, nullable) UIColor *minimumTrackTintColor

Declaration
From
@property(nonatomic, retain) UIImage *minimumValueImage
To
@property(nonatomic, strong, nullable) UIImage *minimumValueImage

Declaration
From
@property(nonatomic, retain) UIColor *thumbTintColor
To
@property(nonatomic, strong, nullable) UIColor *thumbTintColor

UISnapBehavior.h

Designated Initializer
From--
Toyes

UISplitViewController.h

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

Declaration
From
@property(nonatomic, readonly, retain) UISplitViewController *splitViewController
To
@property(nonatomic, readonly, strong, nullable) UISplitViewController *splitViewController

UIStackView.h (Added)

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

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

Deprecation
From--
ToiOS 9.0

DeclarationDeprecation
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

Declaration
From
@property(nonatomic, readonly) NSString *identifier
To
@property(nonatomic, copy, readonly, nullable) NSString *identifier

Designated Initializer
From--
Toyes

Declaration
From
@property(nonatomic, readonly) id sourceViewController
To
@property(nonatomic, readonly, nonnull) __kindof UIViewController *sourceViewController

UISwitch.h

Designated Initializer
From--
Toyes

Declaration
From
@property(nonatomic, retain) UIImage *offImage
To
@property(nonatomic, strong, nullable) UIImage *offImage

Declaration
From
@property(nonatomic, retain) UIImage *onImage
To
@property(nonatomic, strong, nullable) UIImage *onImage

Declaration
From
@property(nonatomic, retain) UIColor *onTintColor
To
@property(nonatomic, strong, nullable) UIColor *onTintColor

Declaration
From
@property(nonatomic, retain) UIColor *thumbTintColor
To
@property(nonatomic, strong, nullable) UIColor *thumbTintColor

Declaration
From
@property(nonatomic, retain) UIColor *tintColor
To
@property(nonatomic, strong) UIColor * _Null_unspecified tintColor

UITabBar.h

Declaration
From
@property(nonatomic, retain) UIImage *backgroundImage
To
@property(nonatomic, strong, nullable) UIImage *backgroundImage

Declaration
From
@property(nonatomic, retain) UIColor *barTintColor
To
@property(nonatomic, strong, nullable) UIColor *barTintColor

Declaration
From
- (void)beginCustomizingItems:(NSArray *)items
To
- (void)beginCustomizingItems:(NSArray<UITabBarItem *> * _Nonnull)items

Declaration
From
@property(nonatomic, copy) NSArray *items
To
@property(nonatomic, copy, nullable) NSArray<UITabBarItem *> *items

Declaration
From
@property(nonatomic, retain) UIColor *selectedImageTintColor
To
@property(nonatomic, strong, nullable) UIColor *selectedImageTintColor

Declaration
From
@property(nonatomic, retain) UIImage *selectionIndicatorImage
To
@property(nonatomic, strong, nullable) UIImage *selectionIndicatorImage

Declaration
From
- (void)setItems:(NSArray *)items animated:(BOOL)animated
To
- (void)setItems:(NSArray<UITabBarItem *> * _Nullable)items animated:(BOOL)animated

Declaration
From
@property(nonatomic, retain) UIImage *shadowImage
To
@property(nonatomic, strong, nullable) UIImage *shadowImage

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

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

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

Declaration
From
@property(nonatomic, readonly, retain) UITabBarController *tabBarController
To
@property(nonatomic, readonly, strong, nullable) UITabBarController *tabBarController

Declaration
From
@property(nonatomic, retain) UITabBarItem *tabBarItem
To
@property(nonatomic, strong) UITabBarItem * _Null_unspecified tabBarItem

UITabBarItem.h

Declaration
From
@property(nonatomic, retain) UIImage *selectedImage
To
@property(nonatomic, strong, nullable) UIImage *selectedImage

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

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

Declaration
From
@property(nonatomic, assign) id<UITableViewDataSource> dataSource
To
@property(nonatomic, weak, nullable) id<UITableViewDataSource> dataSource

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

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

Declaration
From
- (NSArray *)indexPathsForVisibleRows
To
@property(nonatomic, readonly, nullable) NSArray<NSIndexPath *> *indexPathsForVisibleRows

Designated Initializer
From--
Toyes

Declaration
From
- (void)insertRowsAtIndexPaths:(NSArray *)indexPaths withRowAnimation:(UITableViewRowAnimation)animation
To
- (void)insertRowsAtIndexPaths:(NSArray<NSIndexPath *> * _Nonnull)indexPaths withRowAnimation:(UITableViewRowAnimation)animation

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

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

Declaration
From
@property(nonatomic, retain) UIColor *separatorColor
To
@property(nonatomic, strong, nullable) UIColor *separatorColor

Declaration
From
@property(nonatomic, retain) UIView *tableFooterView
To
@property(nonatomic, strong, nullable) UIView *tableFooterView

Declaration
From
@property(nonatomic, retain) UIView *tableHeaderView
To
@property(nonatomic, strong, nullable) UIView *tableHeaderView

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

Declaration
From
@property(nonatomic, retain) UIView *accessoryView
To
@property(nonatomic, strong, nullable) UIView *accessoryView

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

Declaration
From
@property(nonatomic, retain) UIView *editingAccessoryView
To
@property(nonatomic, strong, nullable) UIView *editingAccessoryView

Declaration
From
@property(nonatomic, retain) UIFont *font
To
@property(nonatomic, strong, nullable) UIFont *font

Declaration
From
@property(nonatomic, retain) UIImage *image
To
@property(nonatomic, strong, nullable) UIImage *image

Declaration
From
@property(nonatomic, readonly, retain) UIImageView *imageView
To
@property(nonatomic, readonly, strong, nullable) UIImageView *imageView

Designated Initializer
From--
Toyes

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

Declaration
From
@property(nonatomic, retain) UIImage *selectedImage
To
@property(nonatomic, strong, nullable) UIImage *selectedImage

Declaration
From
@property(nonatomic, retain) UIColor *selectedTextColor
To
@property(nonatomic, strong, nullable) UIColor *selectedTextColor

Declaration
From
@property(nonatomic, retain) UIColor *textColor
To
@property(nonatomic, strong, nullable) UIColor *textColor

Declaration
From
@property(nonatomic, readonly, retain) UILabel *textLabel
To
@property(nonatomic, readonly, strong, nullable) UILabel *textLabel

UITableViewController.h

Declaration
From
@property(nonatomic, retain) UIRefreshControl *refreshControl
To
@property(nonatomic, strong, nullable) UIRefreshControl *refreshControl

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--
Toyes

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

Declaration
From
@property(nonatomic, retain) UIImage *background
To
@property(nonatomic, strong, nullable) UIImage *background

Declaration
From
@property(nonatomic, copy) NSDictionary *defaultTextAttributes
To
@property(nonatomic, copy, nonnull) NSDictionary<NSString *,id> *defaultTextAttributes

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

Declaration
From
@property(nonatomic, retain) UIImage *disabledBackground
To
@property(nonatomic, strong, nullable) UIImage *disabledBackground

Declaration
From
@property(nonatomic, retain) UIFont *font
To
@property(nonatomic, strong, nullable) UIFont *font

Declaration
From
@property(readwrite, retain) UIView *inputAccessoryView
To
@property(readwrite, strong, nullable) UIView *inputAccessoryView

Declaration
From
@property(readwrite, retain) UIView *inputView
To
@property(readwrite, strong, nullable) UIView *inputView

Declaration
From
@property(nonatomic, retain) UIView *leftView
To
@property(nonatomic, strong, nullable) UIView *leftView

Declaration
From
@property(nonatomic, retain) UIView *rightView
To
@property(nonatomic, strong, nullable) UIView *rightView

Declaration
From
@property(nonatomic, retain) UIColor *textColor
To
@property(nonatomic, strong, nullable) UIColor *textColor

Declaration
From
@property(nonatomic, copy) NSDictionary *typingAttributes
To
@property(nonatomic, copy, nullable) NSDictionary<NSString *,id> *typingAttributes

UITextInput.h

Declaration
From
@property(nonatomic, readonly) NSArray *alternativeInterpretations
To
@property(nonatomic, readonly, nullable) NSArray<NSString *> *alternativeInterpretations

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

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

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

Declaration
From
@property(nonatomic, readonly, retain) NSString *primaryLanguage
To
@property(nonatomic, readonly, strong, nullable) NSString *primaryLanguage

UITextInputTraits.h

UITextView.h

Declaration
From
@property(nonatomic, copy) NSAttributedString *attributedText
To
@property(copy) NSAttributedString * _Null_unspecified attributedText

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

Declaration
From
@property(nonatomic, retain) UIFont *font
To
@property(nonatomic, strong, nullable) UIFont *font

Designated Initializer
From--
Toyes

Declaration
From
@property(readwrite, retain) UIView *inputAccessoryView
To
@property(readwrite, strong, nullable) UIView *inputAccessoryView

Declaration
From
@property(readwrite, retain) UIView *inputView
To
@property(readwrite, strong, nullable) UIView *inputView

Declaration
From
@property(nonatomic, copy) NSDictionary *linkTextAttributes
To
@property(nonatomic, copy) NSDictionary<NSString *,id> * _Null_unspecified linkTextAttributes

Declaration
From
@property(nonatomic, retain) UIColor *textColor
To
@property(nonatomic, strong, nullable) UIColor *textColor

Declaration
From
@property(nonatomic, readonly, retain) NSTextStorage *textStorage
To
@property(nonatomic, readonly, strong, nonnull) NSTextStorage *textStorage

Declaration
From
@property(nonatomic, copy) NSDictionary *typingAttributes
To
@property(nonatomic, copy, nonnull) NSDictionary<NSString *,id> *typingAttributes

UIToolbar.h

Declaration
From
@property(nonatomic, retain) UIColor *barTintColor
To
@property(nonatomic, strong, nullable) UIColor *barTintColor

Declaration
From
@property(nonatomic, copy) NSArray *items
To
@property(nonatomic, copy, nullable) NSArray<UIBarButtonItem *> *items

Declaration
From
- (void)setItems:(NSArray *)items animated:(BOOL)animated
To
- (void)setItems:(NSArray<UIBarButtonItem *> * _Nullable)items animated:(BOOL)animated

Declaration
From
@property(nonatomic, retain) UIColor *tintColor
To
@property(nonatomic, strong) UIColor * _Null_unspecified tintColor

Ui Appearance Selector
From--
Toyes

UITouch.h

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

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

Declaration
From
- (void)addConstraints:(NSArray *)constraints
To
- (void)addConstraints:(NSArray<__kindof NSLayoutConstraint *> * _Nonnull)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

Declaration
From
@property(nonatomic, copy) NSArray *gestureRecognizers
To
@property(nonatomic, copy, nullable) NSArray<__kindof UIGestureRecognizer *> *gestureRecognizers

Designated Initializer
From--
Toyes

Modified UIView.layer
Declaration
From
@property(nonatomic, readonly, retain) CALayer *layer
To
@property(nonatomic, readonly, strong, nonnull) CALayer *layer

Declaration
From
@property(nonatomic, retain) UIView *maskView
To
@property(nonatomic, strong, nullable) UIView *maskView

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

Declaration
From
- (void)removeConstraints:(NSArray *)constraints
To
- (void)removeConstraints:(NSArray<__kindof NSLayoutConstraint *> * _Nonnull)constraints

Declaration
From
@property(nonatomic, readonly, copy) NSArray *subviews
To
@property(nonatomic, readonly, copy, nonnull) NSArray<__kindof UIView *> *subviews

Declaration
From
@property(nonatomic, retain) UIColor *tintColor
To
@property(nonatomic, strong) UIColor * _Null_unspecified tintColor

Declaration
From
- (BOOL)translatesAutoresizingMaskIntoConstraints
To
@property(nonatomic) BOOL translatesAutoresizingMaskIntoConstraints

Deprecation
From--
ToiOS 9.0

Header
FromUIKit/UIApplication.h
ToUIKit/UIView.h

Header
FromUIKit/UIApplication.h
ToUIKit/UIView.h

Header
FromUIKit/UIApplication.h
ToUIKit/UIView.h

UIViewController.h

Added UIViewController()
Added UIViewController(UIKeyCommand)
Added UIViewController(UIViewControllerPreviewingRegistration)
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

Declaration
From
@property(nonatomic, readonly, retain) NSExtensionContext *extensionContext
To
@property(nonatomic, readonly, strong, nullable) NSExtensionContext *extensionContext

Designated Initializer
From--
Toyes

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

Declaration
From
@property(nonatomic, readonly, retain) UIStoryboard *storyboard
To
@property(nonatomic, readonly, strong, nullable) UIStoryboard *storyboard

Declaration
From
- (NSUInteger)supportedInterfaceOrientations
To
- (UIInterfaceOrientationMask)supportedInterfaceOrientations

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

Declaration
From
@property(nonatomic, retain) UIView *view
To
@property(nonatomic, strong) UIView * _Null_unspecified view

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

Declaration
From
@property(nonatomic, retain, readonly) UIView *contentView
To
@property(nonatomic, strong, readonly, nonnull) UIView *contentView

Declaration
From
@property(nonatomic, copy, readonly) UIVisualEffect *effect
To
@property(nonatomic, copy, nullable) UIVisualEffect *effect

UIWebView.h

Declaration
From
@property(nonatomic, readonly, retain) NSURLRequest *request
To
@property(nonatomic, readonly, strong, nullable) NSURLRequest *request

Declaration
From
@property(nonatomic, readonly, retain) UIScrollView *scrollView
To
@property(nonatomic, readonly, strong, nonnull) UIScrollView *scrollView

UIWindow.h

Declaration
From
@property(nonatomic, retain) UIViewController *rootViewController
To
@property(nonatomic, strong, nullable) UIViewController *rootViewController

Declaration
From
@property(nonatomic, retain) UIScreen *screen
To
@property(nonatomic, strong, nonnull) UIScreen *screen