---
title: animates
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nspopover/animates
---

# animates

Specifies if the popover is to be animated.

## Declaration

```swift
var animates: Bool { get set }
```

## Discussion

Discussion A popover may be animated when it shows, closes, moves, or appears to transition to a detachable window. This property also controls whether the popover animates when the content view or content size changes. The system does not guarantee which behaviors will be animated or that this property will be respected; it is regarded as a hint. The default value is true.

## See Also

### Managing a Popover’s Appearance

- [appearance](appkit/nspopover/appearance-swift.property.md)
- [effectiveAppearance](appkit/nspopover/effectiveappearance.md)
- [contentSize](appkit/nspopover/contentsize.md)
- [isShown](appkit/nspopover/isshown.md)
- [isDetached](appkit/nspopover/isdetached.md)
