QuartzCore Changes for Objective-C
QuartzCore
CAAnimation.h
Removed NSObject(CAAnimationDelegate)
Added CAAnimationDelegate
Modified CAAnimation.delegate
Declaration | |
---|---|
From | @property(strong) id delegate |
To | @property(strong) id<CAAnimationDelegate> delegate |
Optional | |
---|---|
From | -- |
To | yes |
Optional | |
---|---|
From | -- |
To | yes |
CADisplayLink.h
Declaration | |
---|---|
From | - (void)addToRunLoop:(NSRunLoop *)runloop forMode:(NSString *)mode |
To | - (void)addToRunLoop:(NSRunLoop *)runloop forMode:(NSRunLoopMode)mode |
Modified CADisplayLink.frameInterval
Deprecation | |
---|---|
From | -- |
To | iOS 10.0 |
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)
Added CALayer.contentsFormat
Added CALayerDelegate
Modified CALayer.delegate
Declaration | |
---|---|
From | @property(weak) id delegate |
To | @property(weak) id<CALayerDelegate> delegate |
Modified -[CALayer modelLayer]
Declaration | |
---|---|
From | - (id)modelLayer |
To | - (instancetype)modelLayer |
Modified -[CALayer presentationLayer]
Declaration | |
---|---|
From | - (id)presentationLayer |
To | - (instancetype)presentationLayer |
Optional | |
---|---|
From | -- |
To | yes |
Modified -[CALayerDelegate displayLayer:]
Optional | |
---|---|
From | -- |
To | yes |
Optional | |
---|---|
From | -- |
To | yes |
Optional | |
---|---|
From | -- |
To | yes |