6. 如何对 NSMutableArray 进行 KVO
- (NSMutableArray *)mutableArrayValueForKey:(NSString *)key@property (nonatomic, strong) NSMutableArray *myItems;[[self mutableArrayValueForKey:@"myItems"] addObject:item];Last updated
Was this helpful?
- (NSMutableArray *)mutableArrayValueForKey:(NSString *)key@property (nonatomic, strong) NSMutableArray *myItems;[[self mutableArrayValueForKey:@"myItems"] addObject:item];Last updated
Was this helpful?
Was this helpful?