Presents another view controller as a sheet.
- macOS 10.10+
The other view controller to present as a sheet.
This method calls the
present(_: method on
self (the presenting view controller), and passes a sheet animator to that method.
The presented view controller is the delegate and the content view controller of its sheet.
To dismiss the sheet, call the
dismiss(_:) method on
self (the presenting view controller).