hongruqi / SafeGuard

WTSafeGuard can effectively prevent the IOS system application crash

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

WTSafeGuard can effectively prevent the IOS system application crash

Features

  • Avoid NSTimer crash
  • Avoid UIKit Called on Non-Main Thread crash
  • Avoid KVO crash
  • Avoid unrecognized selector crash
  • Avoid Container NSArray, NSMutableArray, NSDictionary, NSMutableDictionary, NSSet, NSMutableSet crash
  • Avoid NSString, NSMutableString,NSAttributedString crash
  • Avoid NSURL, NSFileManager, NSIndexPath, NSJSONSerialization

Requirements

  • IOS 8 or later , XCode 7 or later

How To Use

#import "WTSafeGuard.h"

- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
    [WTSafeGuard startSafeGuard];
}

Installation

  • pod 'WTSafeGuard'

About

WTSafeGuard can effectively prevent the IOS system application crash


Languages

Language:Objective-C 75.9%Language:Shell 22.1%Language:Ruby 2.0%