Added CPAnimatablePropertyContainer protocol

This commit is contained in:
cacaodev committed 2014-12-19 16:01:49 +01:00
1 parent ea15f0690c
commit 3ddd1d5f21
1 file changed
+12 -1
+12 -1
View File
@@ -6,9 +6,20 @@
var _supportsCSSAnimations = null;
@protocol CPAnimatablePropertyContainer <CPObject>
+ (id)defaultAnimationForKey:(CPString)key;
- (id)animationForKey:(CPString)key;
- (id)animator;
- (CPDictionary)animations;
- (void)setAnimations:(CPDictionary)animations;
@end
@implementation _CPObjectAnimator : CPProxy
{
id /*CPAnimatablePropertyContainer*/ _target;
id <CPAnimatablePropertyContainer> _target;
}
+ (BOOL)supportsCSSAnimations