One Logo Pool Ball
SwiftUICore · IOS API REFERENCE

AnimationCompletionCriteria

struct · iOS 17.0+ · SDK 27.1

struct AnimationCompletionCriteria

The criteria that determines when an animation is considered finished.

Members (2)

get · iOS 17.0+

logicallyComplete

TypeScript
static get logicallyComplete(): AnimationCompletionCriteria
Swift declaration
static let logicallyComplete: AnimationCompletionCriteria

The animation has logically completed, but may still be in its long tail. If a subsequent change occurs that creates additional animations on properties with `logicallyComplete` completion callbacks registered, then those callbacks will fire when the animations from the change that they were registered with logically complete, ignoring the new animations.

get · iOS 17.0+

removed

TypeScript
static get removed(): AnimationCompletionCriteria
Swift declaration
static let removed: AnimationCompletionCriteria

The entire animation is finished and will now be removed. If a subsequent change occurs that creates additional animations on properties with `removed` completion callbacks registered, then those callbacks will only fire when *all* of the created animations are complete.

Skipped declarations

No declarations were skipped in this snapshot.

All SwiftUICore types →