Latest 1.0.1
Homepage https://github.com/Meniny/MXCrashHandler-in-Objective-C
License MIT
Platforms ios 8.0
Frameworks Foundation, UIKit

MXCrashHandler-in-Objective-C

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

Installation with CocoaPods

pod 'MXCrashHandler', '~>1.0.1'

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);
}

Latest podspec

{
    "name": "MXCrashHandler",
    "version": "1.0.1",
    "summary": "An easy-to-use class to handle crash on iOS.",
    "description": "The first version of MXCrashHandler, an easy-to-use class to handle crash on iOS.",
    "homepage": "https://github.com/Meniny/MXCrashHandler-in-Objective-C",
    "license": "MIT",
    "authors": "Elias Abel",
    "platforms": {
        "ios": "8.0"
    },
    "source": {
        "git": "https://github.com/Meniny/MXCrashHandler-in-Objective-C.git",
        "tag": "1.0.1"
    },
    "source_files": "MXCrashHandler/*",
    "frameworks": [
        "Foundation",
        "UIKit"
    ]
}

Pin It on Pinterest

Share This