Release 0.1.0
This commit is contained in:
1 parent
fae05a1709
commit
c8bd9b7435
230 files changed
+17003
-15
No files matched your search
Generated
+71
@@ -0,0 +1,71 @@
|
||||
/**
|
||||
Copyright (c) 2014-present, Facebook, Inc.
|
||||
All rights reserved.
|
||||
|
||||
This source code is licensed under the BSD-style license found in the
|
||||
LICENSE file in the root directory of this source tree. An additional grant
|
||||
of patent rights can be found in the PATENTS file in the same directory.
|
||||
*/
|
||||
|
||||
#import <pop/POPPropertyAnimation.h>
|
||||
|
||||
/**
|
||||
@abstract A concrete basic animation class.
|
||||
@discussion Animation is achieved through interpolation.
|
||||
*/
|
||||
@interface POPBasicAnimation : POPPropertyAnimation
|
||||
|
||||
/**
|
||||
@abstract The designated initializer.
|
||||
@returns An instance of a basic animation.
|
||||
*/
|
||||
+ (instancetype)animation;
|
||||
|
||||
/**
|
||||
@abstract Convenience initializer that returns an animation with animatable property of name.
|
||||
@param name The name of the animatable property.
|
||||
@returns An instance of a basic animation configured with specified animatable property.
|
||||
*/
|
||||
+ (instancetype)animationWithPropertyNamed:(NSString *)name;
|
||||
|
||||
/**
|
||||
@abstract Convenience constructor.
|
||||
@returns Returns a basic animation with kCAMediaTimingFunctionDefault timing function.
|
||||
*/
|
||||
+ (instancetype)defaultAnimation;
|
||||
|
||||
/**
|
||||
@abstract Convenience constructor.
|
||||
@returns Returns a basic animation with kCAMediaTimingFunctionLinear timing function.
|
||||
*/
|
||||
+ (instancetype)linearAnimation;
|
||||
|
||||
/**
|
||||
@abstract Convenience constructor.
|
||||
@returns Returns a basic animation with kCAMediaTimingFunctionEaseIn timing function.
|
||||
*/
|
||||
+ (instancetype)easeInAnimation;
|
||||
|
||||
/**
|
||||
@abstract Convenience constructor.
|
||||
@returns Returns a basic animation with kCAMediaTimingFunctionEaseOut timing function.
|
||||
*/
|
||||
+ (instancetype)easeOutAnimation;
|
||||
|
||||
/**
|
||||
@abstract Convenience constructor.
|
||||
@returns Returns a basic animation with kCAMediaTimingFunctionEaseInEaseOut timing function.
|
||||
*/
|
||||
+ (instancetype)easeInEaseOutAnimation;
|
||||
|
||||
/**
|
||||
@abstract The duration in seconds. Defaults to 0.4.
|
||||
*/
|
||||
@property (assign, nonatomic) CFTimeInterval duration;
|
||||
|
||||
/**
|
||||
@abstract A timing function defining the pacing of the animation. Defaults to nil indicating pacing according to kCAMediaTimingFunctionDefault.
|
||||
*/
|
||||
@property (strong, nonatomic) CAMediaTimingFunction *timingFunction;
|
||||
|
||||
@end
|
||||
Reference in new issue
Block a user