SLAnimationEvent Constants Reference

Declared in SLAnimation.h

SLAnimationEvent

Type of event fired during the playback of an animation.

Warning: Does not honor any external timing changes made to Core animations (e.g. using the SLCoreAnimationBuildDelegate);

Definition

typedef NS_ENUM(NSUInteger, SLAnimationEvent ) {
   SLAnimationEventStart,
   SLAnimationEventEnd,
   SLAnimationEventUpdate,
   SLAnimationEventRateChange,
};

Constants

SLAnimationEventStart
 Fires when time equals 0.0.

Declared In SLAnimation.h.

SLAnimationEventEnd
 Fires when time equals animationDuration.

Declared In SLAnimation.h.

SLAnimationEventUpdate
 Fires every time the animation updates.

Declared In SLAnimation.h.

SLAnimationEventRateChange
 Fires when the playback rate of the animation changes.

Declared In SLAnimation.h.

Declared In

SLAnimation.h