摘要:
@implementation NSArray (Log) - (NSString *)descriptionWithLocale:(id)locale indent:(NSUInteger)level { NSMutableString *mStr = [NSMutableString string]; NSMutableString *tab = [NSMutableStri... 阅读全文
posted @ 2017-06-29 11:55
dawn_wdf
阅读(258)
评论(0)
推荐(0)
摘要:
项目中用到了自定义的model:Person(栗子)。此model需要可以实现归档的功能,但是属性非常多,且类似的model很多。如果按照常规去写归档的代码,那么无论是写起来还是维护起来都非常困难。 由于model继承自NSObject,所以给NSObject添加了扩展用来实现自定义model的归档 阅读全文
posted @ 2017-06-29 11:46
dawn_wdf
阅读(1966)
评论(0)
推荐(0)

浙公网安备 33010602011771号