1234567891011121314151617181920212223242526 |
- //
- // NSMutableArray+AvoidCrash.h
- // https://github.com/chenfanfang/AvoidCrash
- //
- // Created by mac on 16/9/21.
- // Copyright © 2016年 chenfanfang. All rights reserved.
- //
- #import <Foundation/Foundation.h>
- #import "AvoidCrashProtocol.h"
- @interface NSMutableArray (AvoidCrash)<AvoidCrashProtocol>
- @end
- /**
- * Can avoid crash method
- *
- * 1. - (id)objectAtIndex:(NSUInteger)index
- * 2. - (void)setObject:(id)obj atIndexedSubscript:(NSUInteger)idx
- * 3. - (void)removeObjectAtIndex:(NSUInteger)index
- * 4. - (void)insertObject:(id)anObject atIndex:(NSUInteger)index
- * 5. - (void)getObjects:(__unsafe_unretained id _Nonnull *)objects range:(NSRange)range
- */
|