Changes

Jump to: navigation, search

Understanding Error Handling in Swift 2

31 bytes added, 04:21, 10 November 2016
Understanding Error Handling
== Understanding Error Handling ==
<htmlet>adsdaqbox_flow</htmlet>
No matter how carefully Swift code is designed and implemented, there will invariably be situations that are beyond the control of the app. An app that relies on an active internet connection cannot, for example, control the loss of signal on an iPhone device, or prevent the user from enabling “airplane mode”. What the app can do, however, is to implement robust handling of the error (for example displaying a message indicating to the user that the app requires an active internet connection to proceed).

Navigation menu