TapCommon-Unity/Plugins/iOS/TapCommonSDK.framework/Headers/NSMutableArray+Safe.h

24 lines
500 B
C
Raw Normal View History

2023-10-26 20:05:12 +08:00
//
// NSMutableArray+Safe.h
// TapAchievement
//
// Created by TapTap-David on 2020/9/24.
// Copyright © 2020 taptap. All rights reserved.
//
#import <Foundation/Foundation.h>
NS_ASSUME_NONNULL_BEGIN
@interface NSMutableArray (Safe)
- (void)tt_safeAddObject:(id)anObject;
- (void)tt_addNonNullObject:(id)anObject;
- (void)tt_safeInsertObject:(id)anObject atIndex:(NSUInteger)index;
- (void)tt_safeReplaceObjectAtIndex:(NSUInteger)index withObject:(id)anObject;
@end
NS_ASSUME_NONNULL_END