Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

swift do catch where

do {
    try expression
    statements
} catch pattern1 {
    statements
} catch pattern2 where condition {
    statements
} catch pattern3, pattern4 where condition {
    statements
} catch {
    statements
}
Source by docs.swift.org #
 
PREVIOUS NEXT
Tagged: #swift #catch
ADD COMMENT
Topic
Name
8+8 =