Instance Method
launch(from:)
Installs the root view controller into the given window, activates the root interactor, and loads the router.
@MainActor final func launch(from window: NSWindow) async
Parameters
- window
The NSWindow that should host the napkin’s root view controller.
Discussion
Equivalent to:
window.contentViewController = viewControllable.nsviewController
window.makeKeyAndOrderFront(nil)
await interactable.activate()
await load()