Meniny / OhCrap

🚫An apple crash handler.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OhCrap

An apple crash handler.

Requirements

  • iOS 8.0+
  • macOS 10.10+
  • watchOS 2.0+
  • tvOS 9.0+
  • Xcode 8 with Swift 3

Installation

CocoaPods

pod 'OhCrap'

Usage

import OhCrap
OhCrap.isEnable = true
OhCrap.delegate = self // <OhCrapDelegate>
/// <OhCrapDelegate>
func ohCrapDidCatch(_ exception: NSException, forType type: OhCrap.CrashType) {
  // ...
}

Objective-C Version

See MXCrashHandler-in-Objective-C.

About

🚫An apple crash handler.

License:MIT License


Languages

Language:Shell 62.4%Language:Swift 28.4%Language:Objective-C 6.6%Language:Ruby 2.6%