03 2016 档案

摘要:// NSFontAttributeName 设置字体属性,默认值:字体:Helvetica(Neue) 字号:12 // NSForegroundColorAttributeNam 设置字体颜色,取值为 UIColor对象,默认值为黑色 // NSBackgroundColorAttributeN 阅读全文
posted @ 2016-03-28 23:01 滴水微澜 阅读(1006) 评论(0) 推荐(2) 编辑
摘要:在打印窗口,打印视图View的子视图结构图,使用 po [self.view recursiveDescription]; 阅读全文
posted @ 2016-03-09 23:04 滴水微澜 阅读(216) 评论(0) 推荐(1) 编辑
摘要:计算两个NSDate之间,相隔多少秒数 //两个时间间隔秒数 - (NSInteger)intervalSecondsWithSmallDate:(NSDate*)smallDate bigDate:(NSDate*)bigDate { NSCalendar *calendar =[NSCalend 阅读全文
posted @ 2016-03-01 09:55 滴水微澜 阅读(575) 评论(0) 推荐(1) 编辑

点击右上角即可分享
微信分享提示