Simple wrapper built around Objective-C @try/@catch/@finally.
Note: This repository was originally forked from https://github.com/williamFalcon/SwiftTryCatch and updated to work with Swift 2.0, since the original API conflicted with new try/catch keywords introduced by new Swift version.
Usage
Install via Swift Package Manager
To use this specific repository version of SwiftTryCatch add it to your Package.swift manifest.
SwiftTryCatch
Adds try/catch support for Swift.
Simple wrapper built around Objective-C
@try
/@catch
/@finally
.Note: This repository was originally forked from https://github.com/williamFalcon/SwiftTryCatch and updated to work with Swift 2.0, since the original API conflicted with new try/catch keywords introduced by new Swift version.
Usage
Install via Swift Package Manager
To use this specific repository version of SwiftTryCatch add it to your Package.swift manifest.
Install via CocoaPods
To use this specific repository version of SwiftTryCatch use the following pod definition:
This will use the podspec from this forked repository with the API signature changes.
Create bridging header
Use