WAResult
public enum WAResult
Result for menuHandler
in writing assistant.
-
Represents a successful result with a string. Writing assistant will update the text by the value.
Declaration
Swift
case success(String)
-
Represents a successful result with a destination view. You can do some customization in your own view.
Declaration
Swift
case customDestination(any View)
-
Represents a failure with an error. Will show an
IllustratedMessage
by the error.Declaration
Swift
case failure(WAError)