UIKit Changes for Objective-C
UIKit
NSParagraphStyle.h
UIAccessibilityConstants.h
UIAccessibilityCustomAction.h (Removed)
UIColor.h
Added UIColor.blackColor
Added UIColor.blueColor
Added UIColor.brownColor
Added UIColor.clearColor
Added UIColor.cyanColor
Added UIColor.darkGrayColor
Added UIColor.grayColor
Added UIColor.greenColor
Added UIColor.lightGrayColor
Added UIColor.magentaColor
Added UIColor.orangeColor
Added UIColor.purpleColor
Added UIColor.redColor
Added UIColor.whiteColor
Added UIColor.yellowColor
UIFont.h
Modified UIFont.fontDescriptor
Declaration | Readonly | |
---|---|---|
From | - (UIFontDescriptor *)fontDescriptor | -- |
To | @property(nonatomic, readonly) UIFontDescriptor *fontDescriptor | yes |
Modified +[UIFont preferredFontForTextStyle:]
Declaration | |
---|---|
From | + (UIFont *)preferredFontForTextStyle:(NSString *)style |
To | + (UIFont *)preferredFontForTextStyle:(UIFontTextStyle)style |
UIFontDescriptor.h
Added UIFontTextStyle
Modified UIFontDescriptor.fontAttributes
Declaration | Readonly | |
---|---|---|
From | - (NSDictionary<NSString *,id> *)fontAttributes | -- |
To | @property(nonatomic, readonly) NSDictionary<NSString *,id> *fontAttributes | yes |
Declaration | |
---|---|
From | + (UIFontDescriptor *)preferredFontDescriptorWithTextStyle:(NSString *)style |
To | + (UIFontDescriptor *)preferredFontDescriptorWithTextStyle:(UIFontTextStyle)style |
UIGeometry.h
Modified NSValue.CGAffineTransformValue
Declaration | Readonly | |
---|---|---|
From | - (CGAffineTransform)CGAffineTransformValue | -- |
To | @property(nonatomic, readonly) CGAffineTransform CGAffineTransformValue | yes |
Modified NSValue.CGPointValue
Declaration | Readonly | |
---|---|---|
From | - (CGPoint)CGPointValue | -- |
To | @property(nonatomic, readonly) CGPoint CGPointValue | yes |
Modified NSValue.CGRectValue
Declaration | Readonly | |
---|---|---|
From | - (CGRect)CGRectValue | -- |
To | @property(nonatomic, readonly) CGRect CGRectValue | yes |
Modified NSValue.CGSizeValue
Declaration | Readonly | |
---|---|---|
From | - (CGSize)CGSizeValue | -- |
To | @property(nonatomic, readonly) CGSize CGSizeValue | yes |
Modified NSValue.CGVectorValue
Declaration | Readonly | |
---|---|---|
From | - (CGVector)CGVectorValue | -- |
To | @property(nonatomic, readonly) CGVector CGVectorValue | yes |
Modified NSValue.UIEdgeInsetsValue
Declaration | Readonly | |
---|---|---|
From | - (UIEdgeInsets)UIEdgeInsetsValue | -- |
To | @property(nonatomic, readonly) UIEdgeInsets UIEdgeInsetsValue | yes |
Modified NSValue.UIOffsetValue
Declaration | Readonly | |
---|---|---|
From | - (UIOffset)UIOffsetValue | -- |
To | @property(nonatomic, readonly) UIOffset UIOffsetValue | yes |
UIImage.h
UIKitDefines.h
Added #def UIKIT_CLASS_AVAILABLE_IOS_ONLY
Added #def UIKIT_CLASS_AVAILABLE_WATCHOS_ONLY
Added #def UIKIT_STRING_ENUMS
UILocalNotification.h
Modified UILocalNotification
Deprecation | |
---|---|
From | -- |
To | watchOS 3.0 |
Modified UILocalNotification.alertAction
Deprecation | |
---|---|
From | -- |
To | watchOS 3.0 |
Modified UILocalNotification.alertBody
Deprecation | |
---|---|
From | -- |
To | watchOS 3.0 |
Modified UILocalNotification.alertLaunchImage
Deprecation | |
---|---|
From | -- |
To | watchOS 3.0 |
Modified UILocalNotification.alertTitle
Deprecation | |
---|---|
From | -- |
To | watchOS 3.0 |
Deprecation | |
---|---|
From | -- |
To | watchOS 3.0 |
Modified UILocalNotification.category
Deprecation | |
---|---|
From | -- |
To | watchOS 3.0 |
Modified UILocalNotification.fireDate
Deprecation | |
---|---|
From | -- |
To | watchOS 3.0 |
Modified UILocalNotification.hasAction
Deprecation | |
---|---|
From | -- |
To | watchOS 3.0 |
Modified -[UILocalNotification init]
Deprecation | |
---|---|
From | -- |
To | watchOS 3.0 |
Deprecation | |
---|---|
From | -- |
To | watchOS 3.0 |
Modified UILocalNotification.region
Deprecation | |
---|---|
From | -- |
To | watchOS 3.0 |
Deprecation | |
---|---|
From | -- |
To | watchOS 3.0 |
Modified UILocalNotification.repeatCalendar
Deprecation | |
---|---|
From | -- |
To | watchOS 3.0 |
Modified UILocalNotification.repeatInterval
Deprecation | |
---|---|
From | -- |
To | watchOS 3.0 |
Modified UILocalNotification.soundName
Deprecation | |
---|---|
From | -- |
To | watchOS 3.0 |
Modified UILocalNotification.timeZone
Deprecation | |
---|---|
From | -- |
To | watchOS 3.0 |
Modified UILocalNotification.userInfo
Deprecation | |
---|---|
From | -- |
To | watchOS 3.0 |
Modified UILocalNotificationDefaultSoundName
Deprecation | |
---|---|
From | -- |
To | watchOS 3.0 |