QuartzCore Changes for Objective-C
QuartzCore
CAAnimation.h
Added CASpringAnimation
Added CASpringAnimation.mass
Modified CAAnimationGroup.animations
| Declaration | |
|---|---|
| From | @property(copy) NSArray *animations |
| To | @property(copy, nullable) NSArray<CAAnimation *> *animations |
Modified CAKeyframeAnimation.biasValues
| Declaration | |
|---|---|
| From | @property(copy) NSArray *biasValues |
| To | @property(copy, nullable) NSArray<NSNumber *> *biasValues |
Modified CAKeyframeAnimation.continuityValues
| Declaration | |
|---|---|
| From | @property(copy) NSArray *continuityValues |
| To | @property(copy, nullable) NSArray<NSNumber *> *continuityValues |
Modified CAKeyframeAnimation.keyTimes
| Declaration | |
|---|---|
| From | @property(copy) NSArray *keyTimes |
| To | @property(copy, nullable) NSArray<NSNumber *> *keyTimes |
Modified CAKeyframeAnimation.tensionValues
| Declaration | |
|---|---|
| From | @property(copy) NSArray *tensionValues |
| To | @property(copy, nullable) NSArray<NSNumber *> *tensionValues |
Modified CAKeyframeAnimation.timingFunctions
| 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
Modified CAEmitterCell.emitterCells
| Declaration | |
|---|---|
| From | @property(copy) NSArray *emitterCells |
| To | @property(copy, nullable) NSArray<CAEmitterCell *> *emitterCells |
CAEmitterLayer.h
Modified CAEmitterLayer.emitterCells
| Declaration | |
|---|---|
| From | @property(copy) NSArray *emitterCells |
| To | @property(copy, nullable) NSArray<CAEmitterCell *> *emitterCells |
CAGradientLayer.h
Modified CAGradientLayer.locations
| Declaration | |
|---|---|
| From | @property(copy) NSArray *locations |
| To | @property(copy, nullable) NSArray<NSNumber *> *locations |
CALayer.h
Modified CALayer.actions
| Declaration | |
|---|---|
| From | @property(copy) NSDictionary *actions |
| To | @property(copy, nullable) NSDictionary<NSString *,id<CAAction>> *actions |
Modified -[CALayer animationKeys]
| Declaration | |
|---|---|
| From | - (NSArray *)animationKeys |
| To | - (NSArray<NSString *> * _Nullable)animationKeys |
Modified CALayer.sublayers
| Declaration | |
|---|---|
| From | @property(copy) NSArray *sublayers |
| To | @property(copy, nullable) NSArray<CALayer *> *sublayers |
CAMediaTiming.h
Removed kCAFillModeFrozen
CAMetalLayer.h
Removed -[CAMetalLayer newDrawable]
Modified CAMetalLayer.device
| Declaration | |
|---|---|
| From | @property(readwrite, retain) id<MTLDevice> device |
| To | @property(retain, nullable) id<MTLDevice> device |
Modified CAMetalLayer.drawableSize
| Declaration | |
|---|---|
| From | @property(readwrite) CGSize drawableSize |
| To | @property CGSize drawableSize |
Modified CAMetalLayer.framebufferOnly
| Declaration | |
|---|---|
| From | @property(readwrite) BOOL framebufferOnly |
| To | @property BOOL framebufferOnly |
Modified CAMetalLayer.pixelFormat
| Declaration | |
|---|---|
| From | @property(readwrite) MTLPixelFormat pixelFormat |
| To | @property MTLPixelFormat pixelFormat |
Modified CAMetalLayer.presentsWithTransaction
| Declaration | |
|---|---|
| From | @property(getter=presentsWithTransaction) BOOL presentsWithTransaction |
| To | @property BOOL presentsWithTransaction |
CAShapeLayer.h
Modified CAShapeLayer.lineDashPattern
| Declaration | |
|---|---|
| From | @property(copy) NSArray *lineDashPattern |
| To | @property(copy, nullable) NSArray<NSNumber *> *lineDashPattern |