View
extension View
-
Find the NSWindow of the scene
Declaration
Swift
func withHostingWindow(_ callback: @escaping (NSWindow?) -> Void) -> some ViewParameters
callbackThe optional
NSWindowReturn Value
A SwiftUI
backgroundView -
Show an
Error AlertDeclaration
Swift
func errorAlert(message: Binding<AlertMessage?>) -> some ViewParameters
messageThe
AlertMessageReturn Value
A SwiftUI alert with the error message
-
Show a
Confirmation DialogDeclaration
Swift
func confirmationDialog(message: Binding<AlertMessage?>) -> some ViewParameters
messageThe
AlertMessageReturn Value
A SwiftUI confirmationDialog
-
Shortcut to the
WrapSettingsSectionmodifierDeclaration
Swift
var scaleModifier: some ViewParameters
titleThe title
Return Value
A modified
View -
Shortcut to the
WrapSettingsSectionmodifierDeclaration
Swift
func wrapSettingsSection(title: String) -> some ViewParameters
titleThe title
Return Value
A modified
View
View on GitHub