Documentation Archive Developer
Search

QuartzCore Changes for Objective-C

QuartzCore

CAAnimation.h

Declaration
From
@property(copy) NSArray *animations
To
@property(copy, nullable) NSArray<CAAnimation *> *animations

Declaration
From
@property(copy) NSArray *biasValues
To
@property(copy, nullable) NSArray<NSNumber *> *biasValues

Declaration
From
@property(copy) NSArray *continuityValues
To
@property(copy, nullable) NSArray<NSNumber *> *continuityValues

Declaration
From
@property(copy) NSArray *keyTimes
To
@property(copy, nullable) NSArray<NSNumber *> *keyTimes

Declaration
From
@property(copy) NSArray *tensionValues
To
@property(copy, nullable) NSArray<NSNumber *> *tensionValues

Declaration
From
@property(copy) NSArray *timingFunctions
To
@property(copy, nullable) NSArray<CAMediaTimingFunction *> *timingFunctions

CAEAGLLayer.h

CAEmitterBehavior.h

Modified +[CAEmitterBehavior behaviorTypes]
Declaration
From
+ (NSArray *)behaviorTypes
To
+ (NSArray<NSString *> * _Nonnull)behaviorTypes

CAEmitterCell.h

Declaration
From
@property(copy) NSArray *emitterCells
To
@property(copy, nullable) NSArray<CAEmitterCell *> *emitterCells

CAEmitterLayer.h

Declaration
From
@property(copy) NSArray *emitterCells
To
@property(copy, nullable) NSArray<CAEmitterCell *> *emitterCells

CAGradientLayer.h

Declaration
From
@property(copy) NSArray *locations
To
@property(copy, nullable) NSArray<NSNumber *> *locations

CALayer.h

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

Declaration
From
- (NSArray *)animationKeys
To
- (NSArray<NSString *> * _Nullable)animationKeys

Declaration
From
@property(copy) NSArray *sublayers
To
@property(copy, nullable) NSArray<CALayer *> *sublayers

CAMediaTiming.h

CAMetalLayer.h

Removed -[CAMetalLayer newDrawable]
Declaration
From
@property(readwrite, retain) id<MTLDevice> device
To
@property(retain, nullable) id<MTLDevice> device

Declaration
From
@property(readwrite) CGSize drawableSize
To
@property CGSize drawableSize

Declaration
From
@property(readwrite) BOOL framebufferOnly
To
@property BOOL framebufferOnly

Declaration
From
@property(readwrite) MTLPixelFormat pixelFormat
To
@property MTLPixelFormat pixelFormat

Declaration
From
@property(getter=presentsWithTransaction) BOOL presentsWithTransaction
To
@property BOOL presentsWithTransaction

CAShapeLayer.h

Declaration
From
@property(copy) NSArray *lineDashPattern
To
@property(copy, nullable) NSArray<NSNumber *> *lineDashPattern

CATextLayer.h