https://github.com/meniny/ohcrap
🚫An apple crash handler.
https://github.com/meniny/ohcrap
apple-crash-handler crash crash-handle crash-handler exception
Last synced: about 1 year ago
JSON representation
🚫An apple crash handler.
- Host: GitHub
- URL: https://github.com/meniny/ohcrap
- Owner: Meniny
- License: mit
- Created: 2017-05-11T01:24:48.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-05-11T05:39:07.000Z (about 9 years ago)
- Last Synced: 2024-04-29T14:20:17.647Z (about 2 years ago)
- Topics: apple-crash-handler, crash, crash-handle, crash-handler, exception
- Language: Shell
- Homepage:
- Size: 58.6 KB
- Stars: 4
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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
```ruby
pod 'OhCrap'
```
## Usage
```swift
import OhCrap
```
```swift
OhCrap.isEnable = true
OhCrap.delegate = self //
```
```swift
///
func ohCrapDidCatch(_ exception: NSException, forType type: OhCrap.CrashType) {
// ...
}
```
## Objective-C Version
See [MXCrashHandler-in-Objective-C](https://github.com/Meniny/MXCrashHandler-in-Objective-C).