Documentation Archive 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

CADisplayLink.h

Declaration
From
- (void)addToRunLoop:(NSRunLoop *)runloop forMode:(NSString *)mode
To
- (void)addToRunLoop:(NSRunLoop *)runloop forMode:(NSRunLoopMode)mode

Declaration
From
- (void)removeFromRunLoop:(NSRunLoop *)runloop forMode:(NSString *)mode
To
- (void)removeFromRunLoop:(NSRunLoop *)runloop forMode:(NSRunLoopMode)mode

CAEmitterBehavior.h

Added kCAEmitterBehaviorSimpleAttractor

CALayer.h

Removed NSObject(CALayerDelegate)
Declaration
From
@property(weak) id delegate
To
@property(weak) id<CALayerDelegate> delegate

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