|
| 1 | + |
| 2 | +* NSObject(UnrecognizedSelectorHook) |
| 3 | + |
| 4 | +``` |
| 5 | +- (NSMethodSignature *)methodSignatureForSelector:(SEL)aSelector; |
| 6 | +- (void)forwardInvocation:(NSInvocation *)anInvocation; |
| 7 | +``` |
| 8 | + |
| 9 | +* NSObject(KVOCrash) |
| 10 | + |
| 11 | +``` |
| 12 | +- (void) addObserver:(NSObject *)observer forKeyPath:(NSString *)keyPath |
| 13 | + options:(NSKeyValueObservingOptions)options context:(void *)context; |
| 14 | +- (void) removeObserver:(NSObject *)observer forKeyPath:(NSString *)keyPath; |
| 15 | +- (void) removeObserver:(NSObject *)observer forKeyPath:(NSString *)keyPath context:(nullable void *)context; |
| 16 | +``` |
| 17 | + |
| 18 | +* NSString |
| 19 | + |
| 20 | +``` |
| 21 | ++ (NSString*) stringWithUTF8String:(const char *)nullTerminatedCString; |
| 22 | ++ (nullable instancetype) stringWithCString:(const char *)cString encoding:(NSStringEncoding)enc; |
| 23 | +- (nullable instancetype) initWithCString:(const char *)nullTerminatedCString encoding:(NSStringEncoding)encoding; |
| 24 | +- (NSString *)substringFromIndex:(NSUInteger)from; |
| 25 | +- (NSString *)substringToIndex:(NSUInteger)to; |
| 26 | +- (NSString *)substringWithRange:(NSRange)range; |
| 27 | +``` |
| 28 | + |
| 29 | +* NSMutableString |
| 30 | + |
| 31 | +``` |
| 32 | +- (nullable instancetype) safeInitWithCString:(const char *)nullTerminatedCString encoding:(NSStringEncoding)encoding; |
| 33 | +- (void) appendString:(NSString *)aString; |
| 34 | +- (void) insertString:(NSString *)aString atIndex:(NSUInteger)loc; |
| 35 | +- (void) deleteCharactersInRange:(NSRange)range; |
| 36 | +- (NSString *)stringByAppendingString:(NSString *)aString; |
| 37 | +``` |
| 38 | + |
| 39 | +* NSArray |
| 40 | + |
| 41 | +``` |
| 42 | ++ (instancetype) arrayWithObject:(id)anObject; |
| 43 | +- (id) objectAtIndex:(NSUInteger)index; |
| 44 | +- (NSArray<ObjectType> *)subarrayWithRange:(NSRange)range; |
| 45 | +- (id) objectAtIndexedSubscript:(NSInteger)index |
| 46 | +``` |
| 47 | + |
| 48 | +* NSMutableArray |
| 49 | + |
| 50 | +``` |
| 51 | +- (void) addObject:(id)anObject; |
| 52 | +- (id) objectAtIndex:(NSUInteger)index; |
| 53 | +- (void) insertObject:(id)anObject atIndex:(NSUInteger)index; |
| 54 | +- (void) removeObjectAtIndex:(NSUInteger)index; |
| 55 | +- (void) replaceObjectAtIndex:(NSUInteger)index withObject:(id)anObject; |
| 56 | +- (void) removeObjectsInRange:(NSRange)range; |
| 57 | +``` |
| 58 | + |
| 59 | +* NSDictionary |
| 60 | + |
| 61 | +``` |
| 62 | ++ (instancetype) dictionaryWithObject:(id)object forKey:(id)key; |
| 63 | +- (id) objectForKey:(id)aKey; |
| 64 | +``` |
| 65 | + |
| 66 | +* NSMutableDictionary |
| 67 | + |
| 68 | +``` |
| 69 | +- (void) setObject:(id)anObject forKey:(id)aKey; |
| 70 | +- (void) removeObjectForKey:(id)aKey; |
| 71 | +``` |
| 72 | + |
| 73 | +* NSSet |
| 74 | + |
| 75 | +``` |
| 76 | ++ (instancetype)setWithObject:(id)object; |
| 77 | +``` |
| 78 | + |
| 79 | +* NSMutableSet |
| 80 | + |
| 81 | +``` |
| 82 | +- (void) addObject:(id)object; |
| 83 | +- (void) removeObject:(id)object; |
| 84 | +``` |
0 commit comments