iOS 如何在自定义类中支持 "[]" 运算符
- (id)objectForKeyedSubscript:(NSObject <NSCopying> *)key;
- (void)setObject:(id)object forKeyedSubscript:(NSObject <NSCopying> *)key;
someObject[@"xxx"] = someValue
- (id)objectAtIndexedSubscript:(NSUInteger)index;
- (void)setObject:(id)object atIndexedSubscript:(NSUInteger)index;
someObject[0] = someValue
无论遇到什么困难、一往直前