OC给字典的值添加ToString
#import "NSObject+ToString.h"
@implementation NSObject (ToString)
- (NSString *)toString {
return [NSString stringWithFormat:@"%@", self];
}
@end
#import "NSObject+ToString.h"
@implementation NSObject (ToString)
- (NSString *)toString {
return [NSString stringWithFormat:@"%@", self];
}
@end
发表回复