# Fail-Fast Error Handling for Resource Loading in iOS Apps

DevFeed: [Fail-Fast Error Handling for Resource Loading in iOS Apps](<https://devfeed.tech/articles/try-something-simpler-32242.md>)

Original publisher: [Read original article](<https://publicobject.com/2025/01/05/try-something-simpler/>)

Author: Jesse Wilson

Published: 2025-01-05T05:38:25Z

Content type: opinion

Language: en

Sources: [Public Object](<https://devfeed.tech/sources/public-object.md>)

Topics: [Error Handling](<https://devfeed.tech/topics/error-handling.md>), [iOS](<https://devfeed.tech/topics/ios.md>), [Swift](<https://devfeed.tech/topics/swift.md>), [Mobile](<https://devfeed.tech/topics/mobile.md>)

Tags: [crash](<https://devfeed.tech/tags/crash.md>), [error-handling](<https://devfeed.tech/tags/error-handling.md>), [ios](<https://devfeed.tech/tags/ios.md>), [mobile-apps](<https://devfeed.tech/tags/mobile-apps.md>), [swift](<https://devfeed.tech/tags/swift.md>)

## AI overview

The article reflects on whether iOS applications should fail fast or recover gracefully when resource loading fails. It argues that an unrecoverable, unexpected state may justify crashing, while acknowledging the risks of mobile deployments and future API changes.

## Source excerpt

The late Joe Armstrong had a great rule for error handling that stuck with me. 'If you can't do what you want to do try to do something simpler' I was thinking about this recently. I was writing code to embed resource files in an iOS application binary. Here'