This method is called to start the window animation into full-screen mode, including transitioning to a new space.
- macOS 10.9+
The window to enter full-screen mode.
The display screen on which the window will enter full-screen mode.
The duration of the presentation change.
You can implement this method to perform custom animation with the given duration to be in sync with the system animation.
This method is called only if
custom returns non-
window(_: and this method are both implemented, this method is called.