<!--
{
  "documentType" : "article",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/animation",
  "metadataVersion" : "0.1.0",
  "role" : "collectionGroup",
  "title" : "Animation"
}
-->

# Animation

Animate your views and other content to create a more engaging experience for users.

## Topics

### View-Based Animations

[`class NSViewAnimation`](/documentation/AppKit/NSViewAnimation)

An animation of an app’s views, limited to changes in frame location and size, and to fade-in and fade-out effects.

[`protocol NSAnimatablePropertyContainer`](/documentation/AppKit/NSAnimatablePropertyContainer)

A set of methods that defines a way to add animation to an existing class with a minimum of API impact.

[`class NSAnimationContext`](/documentation/AppKit/NSAnimationContext)

An animation context, which contains information about environment and state.

[`typealias Progress`](/documentation/AppKit/NSAnimation/Progress)

The animation progress, as a floating-point number between `0.0` and `1.0`.

[`enum NSAnimationEffect`](/documentation/AppKit/NSAnimationEffect)

The type for standard system animation effects, which include both display and sound.

### Presentations

[`protocol NSViewControllerPresentationAnimator`](/documentation/AppKit/NSViewControllerPresentationAnimator)

A set of methods that let you define animations to play when transitioning between two view controllers.

### Custom Animations

[`class NSAnimation`](/documentation/AppKit/NSAnimation)

An object that manages the timing and progress of animations in the user interface.

[`protocol NSAnimationDelegate`](/documentation/AppKit/NSAnimationDelegate)

A set of optional methods implemented by delegates of [`NSAnimation`](/documentation/AppKit/NSAnimation) objects.

### System Animations

[`extern void NSShowAnimationEffect(NSAnimationEffect animationEffect, NSPoint centerLocation, NSSize size, id animationDelegate, SEL didEndSelector, void *contextInfo);`](/documentation/AppKit/NSShowAnimationEffect)

Runs a system animation effect.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)