SLPlaybackType Constants Reference

Declared in SLAnimation.h

SLPlaybackType

Controls playback behavior 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, SLPlaybackType ) {
   SLPlaybackTypeOnce,
   SLPlaybackTypeLoop,
   SLPlaybackTypePingPong,
};

Constants

SLPlaybackTypeOnce

Plays the animation once. Default

Declared In SLAnimation.h.

SLPlaybackTypeLoop

Jumps to the beginning when the animation ends.

Declared In SLAnimation.h.

SLPlaybackTypePingPong

Flips the playback direction when the animation approaches end or start.

Declared In SLAnimation.h.

Declared In

SLAnimation.h