摘要:
Mark一下- (UIView*)duplicate:(UIView*)view{ NSData * tempArchive = [NSKeyedArchiver archivedDataWithRootObject: view]; return [NSKeyedUnarchiver unarchiveObjectWithData: tempArchive];} 阅读全文
摘要:
项目中自己搞了一个Log 记录一下.
N年的代码了 还是觉得好用 #ifdef DEBUG#define DLog(FORMAT, ...) fprintf(stderr,"%s:%d--> %s\n",[[[NSString stringWithUTF8String:__FILE__] lastPathComponent] UTF8String], __LINE__, [[NSString ... 阅读全文