Files
yuyin_ios/SweetParty/第三方库/AvoidCrash/NSMutableArray+AvoidCrash.h

27 lines
674 B
C
Raw Permalink Normal View History

2025-08-08 11:05:33 +08:00
//
// 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
*/