Inherits from POPPropertyAnimation : POPAnimation : NSObject
Declared in POPBasicAnimation.h

Overview

Animation is achieved through interpolation.

Tasks

Properties

duration

The duration in seconds. Defaults to 0.4.

@property (assign, nonatomic) CFTimeInterval duration

Declared In

POPBasicAnimation.h

timingFunction

A timing function defining the pacing of the animation. Defaults to nil indicating pacing according to kCAMediaTimingFunctionDefault.

@property (strong, nonatomic) CAMediaTimingFunction *timingFunction

Declared In

POPBasicAnimation.h

Class Methods

animation

The designated initializer.

+ (instancetype)animation

Return Value

An instance of a basic animation.

Declared In

POPBasicAnimation.h

animationWithPropertyNamed:

Convenience initializer that returns an animation with animatable property of name.

+ (instancetype)animationWithPropertyNamed:(NSString *)name

Parameters

name

The name of the animatable property.

Return Value

An instance of a basic animation configured with specified animatable property.

Declared In

POPBasicAnimation.h

defaultAnimation

Convenience constructor.

+ (instancetype)defaultAnimation

Return Value

Returns a basic animation with kCAMediaTimingFunctionDefault timing function.

Declared In

POPBasicAnimation.h

easeInAnimation

Convenience constructor.

+ (instancetype)easeInAnimation

Return Value

Returns a basic animation with kCAMediaTimingFunctionEaseIn timing function.

Declared In

POPBasicAnimation.h

easeInEaseOutAnimation

Convenience constructor.

+ (instancetype)easeInEaseOutAnimation

Return Value

Returns a basic animation with kCAMediaTimingFunctionEaseInEaseOut timing function.

Declared In

POPBasicAnimation.h

easeOutAnimation

Convenience constructor.

+ (instancetype)easeOutAnimation

Return Value

Returns a basic animation with kCAMediaTimingFunctionEaseOut timing function.

Declared In

POPBasicAnimation.h

linearAnimation

Convenience constructor.

+ (instancetype)linearAnimation

Return Value

Returns a basic animation with kCAMediaTimingFunctionLinear timing function.

Declared In

POPBasicAnimation.h