🚫An apple crash handler.
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Example
OhCrap
.gitignore
LICENSE
OhCrap.podspec
README.md

README.md

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.