One Logo Pool Ball
Symbols · IOS API REFERENCE

SymbolEffectOptions.RepeatBehavior

struct · iOS 18.0+ · SDK 27.1

struct RepeatBehavior

The behavior to use when requesting any repetition on a `SymbolEffect`.

Members (3)

get · iOS 18.0+

continuous

TypeScript
static get continuous(): SymbolEffectOptions_RepeatBehavior
Swift declaration
static var continuous: SymbolEffectOptions.RepeatBehavior { get }

A repeat behavior that prefers to repeat indefinitely, using continuous animations if available. Continuous animations have an intro, a body that runs as long as the effect is enabled, and an outro. If available these animations provide a smoother animation when an effect repeats indefinitely. - Returns: A new behavior that prefers to repeat indefinitely with continuous animations.

get · iOS 18.0+

periodic

TypeScript
static get periodic(): SymbolEffectOptions_RepeatBehavior
Swift declaration
static var periodic: SymbolEffectOptions.RepeatBehavior { get }

A repeat behavior that prefers to repeat indefinitely using periodic animations. Periodic animations play the effect at regular intervals starting and stopping each time. - Returns: A new behavior that prefers to repeat indefinitely using periodic animation.

static · iOS 18.0+

periodic

TypeScript
static periodicDelay(count?: (number) | null, delay?: (number) | null): SymbolEffectOptions_RepeatBehavior
Swift declaration
static func periodic(_ count: Int? = nil, delay: Double? = nil) -> SymbolEffectOptions.RepeatBehavior

A repeat behavior with a preferred play count and delay using periodic animations. Periodic animations play the effect at regular intervals starting and stopping each time. - Parameter count: The preferred number of times to play the effect, or nil to request it play indefinitely. Very large or small values may be clamped. - Parameter delay: The preferred delay between repetitions, in seconds, or nil to request the default delay. - Returns: A new behavior with the preferred play count and delay using periodic animations.

Skipped declarations

No declarations were skipped in this snapshot.

All Symbols types →