Skip to content

Latest commit

 

History

History
73 lines (46 loc) · 2.01 KB

README.md

File metadata and controls

73 lines (46 loc) · 2.01 KB

#CrashEye

Version License Platform Carthage compatible

CrashEye is an ios crash monitor,automatic catch exception crash & signal crash and return the stacktrace

Family

This library is derived from the GodEye project which can automaticly display Log,Crash,Network,ANR,Leak,CPU,RAM,FPS,NetFlow,Folder and etc with one line of code. Just like god opened his eyes

Book & Principle

I has wrote a book named 《iOS监控编程》,each chapter records the course function of the implementation details and the way to explore.sorry for english friends,this book wrote by chineses.

Features

  • monitor uncatched exception crash.
  • monitor signal crash.

Installation

CocoaPods

CrashEye is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod "CrashEye"

Carthage

Or, if you’re using Carthage, add SwViewCapture to your Cartfile:

github "zixun/CrashEye"

Usage

open and add delegate

CrashEye.add(delegate: self)

implement the delegate

extension ViewController: CrashEyeDelegate {
    func crashEyeDidCatchCrash(with model:CrashModel) {
        print(model)
    }
}

Author

name: 陈奕龙

twitter: @zixun_

email: [email protected]

github: zixun

blog: 子循(SubCycle)

License

CrashEye is available under the MIT license. See the LICENSE file for more info.