03 2016 档案
摘要:// NSFontAttributeName 设置字体属性,默认值:字体:Helvetica(Neue) 字号:12 // NSForegroundColorAttributeNam 设置字体颜色,取值为 UIColor对象,默认值为黑色 // NSBackgroundColorAttributeN
阅读全文
摘要:在打印窗口,打印视图View的子视图结构图,使用 po [self.view recursiveDescription];
阅读全文
摘要:计算两个NSDate之间,相隔多少秒数 //两个时间间隔秒数 - (NSInteger)intervalSecondsWithSmallDate:(NSDate*)smallDate bigDate:(NSDate*)bigDate { NSCalendar *calendar =[NSCalend
阅读全文