Guides and Sample Code Developer
Search

QuartzCore Changes for Objective-C

QuartzCore

CAAnimation.h

Removed NSObject(CAAnimationDelegate)
Declaration
From
@property(strong) id delegate
To
@property(strong) id<CAAnimationDelegate> delegate

Optional
From--
Toyes

Optional
From--
Toyes

CAConstraintLayoutManager.h

Protocols
From--
ToCALayoutManager

CAEmitterBehavior.h

Added kCAEmitterBehaviorSimpleAttractor

CALayer.h

Removed NSObject(CALayerDelegate)
Removed NSObject(CALayoutManager)
Added kCAContentsFormatGray8Uint
Added kCAContentsFormatRGBA16Float
Added kCAContentsFormatRGBA8Uint
Declaration
From
@property(weak) id delegate
To
@property(weak) id<CALayerDelegate> delegate

Declaration
From
@property(strong) id layoutManager
To
@property(strong) id<CALayoutManager> layoutManager

Declaration
From
- (id)modelLayer
To
- (instancetype)modelLayer

Declaration
From
- (id)presentationLayer
To
- (instancetype)presentationLayer

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Feedback