Save for later

Error Handling in Swift

Heads up! This course may be archived and/or unavailable.

Beginning Swift,

An undeniable fact of software development is that bugs will crop in your code and lead to undesirable outcomes. Error handling is the process of anticipating a certain class of bugs and writing code to handle them. In this course, we take a look at the built in language constructs in Swift to handle errors including modeling our own errors, throwing errors from functions and more. We also look at how Objective-C handles errors and what this means to us as Swift developers.

What you'll learn
  • Errors in Cocoa
  • Manual vs Automatic Propagation
  • Throwing functions
  • ErrorType protocol
  • Errors in Swift
Segments in this Workshop
    Get Details and Enroll Now

    OpenCourser is an affiliate partner of Treehouse and may earn a commission when you buy through our links.

    Get a Reminder

    Send to:
    Rating Not enough ratings
    Length 64-minute iOS Course
    Starts On Demand (Start anytime)
    Cost $25/month (Access to entire library- free trial available)
    From Treehouse
    Instructor Pasan Premaratne
    Download Videos Only via web browser
    Language English
    Subjects Programming
    Tags iOS

    Get a Reminder

    Send to:

    Similar Courses

    Careers

    An overview of related careers and their average salaries in the US. Bars indicate income percentile.

    Freelance Copy Editor/Fact-checker $44k

    Copy Editor/Fact-checker $56k

    Senior Copy Editor/Fact-checker $89k

    Write a review

    Your opinion matters. Tell us what you think.

    Rating Not enough ratings
    Length 64-minute iOS Course
    Starts On Demand (Start anytime)
    Cost $25/month (Access to entire library- free trial available)
    From Treehouse
    Instructor Pasan Premaratne
    Download Videos Only via web browser
    Language English
    Subjects Programming
    Tags iOS

    Similar Courses

    Sorted by relevance

    Like this course?

    Here's what to do next:

    • Save this course for later
    • Get more details from the course provider
    • Enroll in this course
    Enroll Now