Projects
View on GitHub
sureJiang/MSCrashProtector
sureJiang/MSCrashProtector has 2,015 GitHub stars and 490 forks. GitHot measured 0 stars in 24 hours. Last checked 2026-11-07 00:38 UTC. Last push 2023-06-28.
An Global protection scheme..
Measured star growth
- in 24h
- 0
- in 7 days
- Update delayed
- in 15 days
- Update delayed
- in 1 month
- Update delayed
Net star changes over overlapping periods, not daily totals. Missing measurements are left blank. Stars measure attention, not software quality.
README.md
OriginalMSCrashProtector
An Global protection scheme..
Installation
Cocoapods(Recommended)
- Add
pod 'MSCrashProtector'to your Podfile. - Run
pod install
Manual
- Add all files under
MSCrashProtectorto your project
Requirements
- iOS 5.0 and greater
- ARC/MRC
How To Use
Objective-C
#import "MSCrashProtector.h"
//NSArray
NSArray* arr = @[@"1"];
[arr objectAtIndexSafe:10];
id obj = [arr objectAtIndex:0 kindOfClass:[NSString class]];
NSLog(@"%@",obj);
//NSMutableArray
NSMutableArray* marr = [NSMutableArray array];
[marr addObjectSafe:nil];
[marr removeObjectAtIndexInBoundary:100];
[marr insertObject:@111 atIndexInBoundary:100];
//NSDictionary
NSDictionary* dic = [NSDictionary dictionary];
[dic objectForKey:nil defaultValue:@"test"];
//NSMutableDictionary
NSMutableDictionary* mdic = [NSMutableDictionary dictionary];
[mdic setObjectSafe:nil forKey:nil];
License
MSCrashProtector is available under the MIT license. See the LICENSE file for more info.
Explore related projects
codecrafters-io/build-your-own-x
Master programming by recreating your favorite technologies from scratch.
560,781 starspublic-apis/public-apis
A collective list of free APIs
497,000 starsmorluto/rea
Reverse engineer anything with agents, from app behavior down to native binaries.
440,817 starsopenclaw/openclaw
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
394,143 stars