TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | MIT |
ReleasedLast Release | Jul 2017 |
Maintained by Koji Murata.
To run the example project, clone the repo, and run pod install
from the Example directory first.
do {
try KOJObjcExceptionWrapper.throwsBlock {
// @throw NSException from Objective-C
}
} catch let e as NSError {
e.userInfo[KOJObjcExceptionWrapperCode]
e.userInfo[KOJObjcExceptionWrapperDomain]
e.userInfo[KOJObjcExceptionWrapperName]
e.userInfo[KOJObjcExceptionWrapperReason]
e.userInfo[KOJObjcExceptionWrapperCallStackReturnAddresses]
e.userInfo[KOJObjcExceptionWrapperCallStackSymbols]
e.userInfo[KOJObjcExceptionWrapperUserInfo]
}
KOJObjcExceptionWrapper is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "KOJObjcExceptionWrapper"
Koji Murata, [email protected]
KOJObjcExceptionWrapper is available under the MIT license. See the LICENSE file for more info.