我知道我可以这样做:
NSMutableArray *objects = [@[objectOne, objectTwo] mutableCopy];
NSObject *someObject = [NSObject new];
objects[0] = someObject;
但是有没有办法让新的文字语法模仿 addObject:?
我知道我可以这样做:
NSMutableArray *objects = [@[objectOne, objectTwo] mutableCopy];
NSObject *someObject = [NSObject new];
objects[0] = someObject;
但是有没有办法让新的文字语法模仿 addObject:?