object-c category
在类中添加新方法,新添加的方法优先级最高
@interface NSMutableDictionary (Taobao)
- (NSString*)urlString;
@end
@implementation NSMutableDictionary (Taobao)
- (NSString*)urlString
{
return @"test";
}
@end
- (NSString*)urlString;
@end
@implementation NSMutableDictionary (Taobao)
- (NSString*)urlString
{
return @"test";
}
@end