run(reply:)
Runs the user interaction and asynchronously receives a reply.
Declaration
func run(reply: @escaping @Sendable (Bool, (any Error)?) -> Void)func run() async throws -> BoolParameters
- reply:
- success
Whether the user interaction was successful.
- error
Contains information about the the error that occurred during the user interaction.
The
NSErrorobject is created in the Tkerrordomain domain with a code in the Code enumeration.