Swiftgram/Display/CALayer+ImplicitAnimations.h
2015-07-30 01:09:30 +03:00

21 lines
450 B
Objective-C

#import <UIKit/UIKit.h>
@interface CALayer (ImplicitAnimations)
+ (void)beginRecordingChanges;
+ (NSArray *)endRecordingChanges;
@end
@interface CALayerAnimation : NSObject
@property (nonatomic, weak, readonly) CALayer *layer;
@property (nonatomic, readonly) CGRect startBounds;
@property (nonatomic, readonly) CGRect endBounds;
@property (nonatomic, readonly) CGPoint startPosition;
@property (nonatomic, readonly) CGPoint endPosition;
@end