Latest 1.0.0
Homepage https://github.com/RtzX/SafeCrash
License MIT
Platforms ios 8.0
Authors

使用方法

 pod 'SafeCrash'
此库不需要直接调用, 只需要引用到项目中即可生效 无需添加 import
此工具不能做到百分百避免问题,需要写代码时,仔细检查.
1. 可以 防止 字典 key或者value 为nil
2. 数组越界、<null>、NSNull对象导致的Crash
当在 DEBUG 模式下, 正常崩溃,打印日志,
当在 RELEASE 模式下, 忽略错误,避免引起程序 Crash

Latest podspec

{
    "name": "SafeCrash",
    "version": "1.0.0",
    "summary": "u907fu514d u5b57u5178u4e3anil,u6570u7ec4u8d8au754cu5bfcu81f4u7684crash",
    "homepage": "https://github.com/RtzX/SafeCrash",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "RtZX": "[email protected]"
    },
    "source": {
        "git": "https://github.com/RtzX/SafeCrash.git",
        "tag": "1.0.0"
    },
    "source_files": [
        "SafeCrash",
        "SafeCrash/SafeCrash/Safe/**/*.{h,m}"
    ],
    "platforms": {
        "ios": "8.0"
    }
}

Pin It on Pinterest

Share This