Declared in POPAnimation.h

Tasks

Instance Methods

pop_addAnimation:forKey:

- (void)pop_addAnimation:(POPAnimation *)anim forKey:(NSString *)key
Discussion

The ‘key’ may be any string such that only one animation per unique key is added per object.

Parameters

anim

The animation to add.

key

The key used to identify the animation.

Declared In

POPAnimation.h

pop_animationForKey:

Returns any animation attached to the receiver.

- (id)pop_animationForKey:(NSString *)key

Parameters

key

The key used to identify the animation.

Return Value

The animation currently attached, or nil if no such animation exists.

Declared In

POPAnimation.h

pop_animationKeys

Returns an array containing the keys of all animations currently attached to the receiver.

- (NSArray *)pop_animationKeys

Parameters

The

order of keys reflects the order in which animations will be applied.

Declared In

POPAnimation.h

pop_removeAllAnimations

Remove all animations attached to the receiver.

- (void)pop_removeAllAnimations

Declared In

POPAnimation.h

pop_removeAnimationForKey:

Remove any animation attached to the receiver for ‘key’.

- (void)pop_removeAnimationForKey:(NSString *)key

Parameters

key

The key used to identify the animation.

Declared In

POPAnimation.h