The window’s automatic animation behavior.
- macOS 10.7+
This property controls the automatic window animation behavior used when the
order methods are called. See
NSWindow for the possible values of this property.
By default, a window’s animation behavior is set to
NSWindow, which causes AppKit to determine the style of animation to use automatically based on its inference of a window’s “type” from various window properties. A window’s animation behavior can be set to
NSWindow to disable AppKit’s automatic animations for the window, which may be useful if that animation interferes with an animation that your application implements.
The animation behavior can also be set to one of the other non-default
NSWindow values to override AppKit's automatic inference of appropriate animation behavior based on the window's apparent type, although this is not recommended.