You’ve made it to the end of the fifth part of this series, so let’s summarize:
tryand handle errors using
inoutto change variables inside a function, but it’s usually better to return a new value.
Sponsored You’re already busy updating your app for Swift 4.2 and iOS 12, so why not let Instabug help you find and fix bugs? Add just two lines of code to your project and receive comprehensive reports with all the feedback you need to ship a world-class app – click here to learn more!