Skip to content

Meniny/MXCrashHandler-in-Objective-C

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 () <MXCrashHandlerDelegate>
[MXCrashHandler installWithThread:[NSThread currentThread]];
[[MXCrashHandler sharedHandler] setDelegate:self];
- (void)crashHandler:(MXCrashHandler *)handler didReceiveException:(NSException *)exception {
  NSLog(@"%@", exception);
}

Swift Version

See OhCrap

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published