Fresh Beginning
  • Home
  • Speaking
  • Reading
  • Github
  • Alma Mater
  • Contact
Subscribe
Tagged

catch

A collection of 1 post

try-catch blocks - Swift 3.0
Swift 3.0

try-catch blocks - Swift 3.0

Today, I will try to go through some of the error handling techniques Swift uses. As we all know, the standard way to report error in Objective-C is passing an error pointer such as this NSError *error = nil; // Edit - Thanks to @powerje for correction below // Let's assume you have

  • Jayesh Kawli
Jayesh Kawli Jan 23, 2017 • 4 min read
Fresh Beginning © 2022
Powered by Ghost