A set of methods that let you define animations to play when transitioning between two view controllers.
SDK
- macOS 10.10+
Framework
- App
Kit
Declaration
protocol NSViewControllerPresentationAnimator
Overview
Implement this protocol only if you want to provide custom animations. You might find what you need in the NSView
enumeration, which provides many predefined animations.
A class that adopts this protocol is responsible for both presenting and dismissing a view controller.