repeatingForever
Swift declarationfunc repeatingForever() -> SelfRepeats the animation infinitely. - Returns: A version of the calling animation that will repeat infinitely.
protocol · iOS 15.0+ · SDK 27.1
protocol AnimationDefinitionThe configuration, including target object, timeframe, and visual semantics, of an animation. The framework adopts this protocol for several concrete animation objects, such as ``FromToByAnimation``, ``SampledAnimation``, ``OrbitAnimation``, ``BlendTreeAnimation``, ``AnimationView``, and ``AnimationGroup``.
func repeatingForever() -> SelfRepeats the animation infinitely. - Returns: A version of the calling animation that will repeat infinitely.
func trimmed(start: TimeInterval? = nil, end: TimeInterval? = nil, duration: TimeInterval? = nil) -> SelfEdits the animation duration according to the specified time. If an argument property lies outside the underlying ``AnimationDefinition/duration``, the animation plays back according to the characteristics of its ``AnimationDefinition/repeatMode``. - Parameters: - start: The time within the underlying duration to begin playback. - end: The time within the underlying duration to end playback. - duration: The amount of time that overrides the underlying duration. - Returns: A version of the animation shortened or lengthened according to the specified times.
func repeated(count: TimeInterval) -> SelfRepeats an animation the number of times specified by an irrational number. - Parameters: - count: The number of times the animation repeats before stopping. - Returns: A version of the calling animation repeated the given number of times.
func repeated(count: Int) -> SelfRepeats an animation the number of times specified by a whole number. - Parameters: - count: The number of times the animation repeats before stopping. - Returns: A version of the calling animation repeated the given number of times.
No declarations were skipped in this snapshot.