Catch Objective-C exceptions in Swift
What is ExceptionCatcher?
There are many Cocoa APIs that can throw exceptions that cannot be caught in Swift (NSKeyedUnarchiver, NSTask, NSObject#value(forKey:), etc). This package wraps an Objective-C exception handler to make it possible to catch such exceptions.
The ability to catch exceptions should really be built into Swift. If you agree, duplicate this Feedback Assistant report.
Overview
- Pricing: Free
- Resource Link: https://github.com/sindresorhus/ExceptionCatcher
- Resource Maker on Twitter: Sindre Sorhus
- Mobile Platform Destination: iOS Apps
- Mobile Platform Support: Native iOS
- Programming Languages: Swift
- Swift Package Manager: https://github.com/sindresorhus/ExceptionCatcher
The team behind mobintouch
Website: https://www.mobintouch.com
Resources added 👉 3142
Related resources
QLayout
AutoLayout Utility for iOS
PromiseKit
Promises for Swift & ObjC
ImageSaveandShare
Library to save image locally