An open API service indexing awesome lists of open source software.

https://github.com/meniny/mxcrashhandler-in-objective-c

An easy-to-use class to handle crash on iOS.
https://github.com/meniny/mxcrashhandler-in-objective-c

crash exception ios

Last synced: over 1 year ago
JSON representation

An easy-to-use class to handle crash on iOS.

Awesome Lists containing this project

README

          

# MXCrashHandler-in-Objective-C

`MXCrashHandler` is an easy-to-use class to handle crash on iOS.

## Installation with CocoaPods

```
pod 'MXCrashHandler'
```

## Usage

Add the code blew to `AppDelegate.m`:

```
#import "MXCrashHandler.h"
```

```
@interface AppDelegate ()
```

```
[MXCrashHandler installWithThread:[NSThread currentThread]];
[[MXCrashHandler sharedHandler] setDelegate:self];
```

```
- (void)crashHandler:(MXCrashHandler *)handler didReceiveException:(NSException *)exception {
NSLog(@"%@", exception);
}
```

## Swift Version

See [OhCrap](https://github.com/Meniny/OhCrap)