Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

try? as? in swiftui

if let result = try? checkPassword("password") {
    print("Result was (result)")
} else {
    print("D'oh.")
}
Source by www.hackingwithswift.com #
 
PREVIOUS NEXT
Tagged: #swiftui
ADD COMMENT
Topic
Name
3+2 =