Error handling in Swift is a very interesting topic. We can take advantage from optionals, and tuples, which are not available in ObjectiveC.

This article by Alexandros Salazar shows a nice approach that simplifies playing with errors:

In this two articles, David Owens explains his point of view on error handling in Swift:

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes:

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>