iOS Swift - Swift Language Essentials
Which of the following is the correct syntax to catch an error in Swift?
do { try ... } catch { ... } blocks to catch errors.try call inside a do block followed by a catch block.15+ quiz questions · All difficulty levels · Free
Free Signup - Practice All Questions