<!--
{
  "availability" : [
    "macOS: 10.5.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSAnimatablePropertyContainer/animations",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(pl)NSAnimatablePropertyContainer(py)animations"
  },
  "title" : "animations"
}
-->

# animations

Sets the option dictionary that maps event trigger keys to animation objects.

```
var animations: [NSAnimatablePropertyKey : Any] { get set }
```

## Parameters

`dict`

A dictionary containing the event trigger keys and associated animation objects.

## See Also

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

Returns a proxy object for the receiver that can be used to initiate implied animation for property changes.

[`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.



---

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)