Working with Errors & Exceptions

Defensive Coding iOS    |    Intermediate
  • 10 videos | 52m 22s
  • Earns a Badge
Rating 5.0 of 1 users Rating 5.0 of 1 users (1)
Regardless of how well your iOS app is written, errors will occur. Explore thinking defensively in your approach to errors and exception handling for iOS apps.

WHAT YOU WILL LEARN

  • Use error information returned indirectly from methods
    Test for specific kinds of errors based on domains and codes
    Create and return error objects from custom methods
    Use alert views to inform end users of error information
    Use an underlying error object to find out more detail about an error that has occurred
  • Create and throw/raise exceptions in ios apps
    Catch and handle exceptions in ios apps
    Use the @finally directive to guarantee code execution
    Convert a raised exception to an error when appropriate
    Capture and handle specific types of exceptions locally

IN THIS COURSE

  • 3m 51s
    During this video, you will learn how to use error information returned from methods indirectly. FREE ACCESS
  • 4m 31s
    During this video, you will learn how to test for specific kinds of errors based on domains and code. FREE ACCESS
  • Locked
    3.  Creating NSError Objects
    5m 7s
    In this video, learn how to create and return error objects from custom methods. FREE ACCESS
  • Locked
    4.  Displaying Errors in iOS Apps
    4m 22s
    During this video, you will learn how to use alert views to inform users of error information. FREE ACCESS
  • Locked
    5.  Working with Underlying Errors
    4m 47s
    In this video, find out how to use an underlying error object to find out more detail about an error that has occurred. FREE ACCESS
  • Locked
    6.  Creating and Throwing Exceptions
    8m 2s
    In this video, find out how to create and throw exceptions in iOS apps. FREE ACCESS
  • Locked
    7.  Handling Exceptions
    6m 24s
    Learn how to catch and handle exceptions in iOS apps. FREE ACCESS
  • Locked
    8.  Using the @finally Compiler Directive
    5m 22s
    Learn how to use the @finally directive to ensure code execution. FREE ACCESS
  • Locked
    9.  Converting Exceptions to Errors
    5m 50s
    In this video, find out how to convert a raised exception to an error when it is appropriate. FREE ACCESS
  • Locked
    10.  Setting Up Multiple Exception Handlers
    4m 7s
    Find out how to capture and handle specific types of exceptions. FREE ACCESS

EARN A DIGITAL BADGE WHEN YOU COMPLETE THIS COURSE

Skillsoft is providing you the opportunity to earn a digital badge upon successful completion on some of our courses, which can be shared on any social network or business platform.

Digital badges are yours to keep, forever.

YOU MIGHT ALSO LIKE

Rating 4.7 of 13 users Rating 4.7 of 13 users (13)
Rating 4.4 of 15 users Rating 4.4 of 15 users (15)