随笔 - 112  文章 - 0  评论 - 9  阅读 - 13万
09 2017 档案
IOS--时间 NSDate,NSTimeInterval的一些转换
摘要://1.时间格式 NSDateFormatter *_dateFormatter = [[NSDateFormatter alloc] init]; [_dateFormatter setDateFormat:@"YYYY年MM月dd天hh小时mm分ss秒"]; //2.获取系统时间 NSString *date = [_dateFormatter stringFromDate:[... 阅读全文
posted @ 2017-09-27 16:52 麦芽呀~ 阅读(4371) 评论(0) 推荐(0) 编辑
IOS--通过宽度算高度
摘要://通过宽度算高度 - (CGFloat)sugguestHeightForWidth:(CGFloat)width { NSLayoutConstraint *tempWidthConstraint = [NSLayoutConstraint constraintWithItem:self attribute:N... 阅读全文
posted @ 2017-09-26 14:20 麦芽呀~ 阅读(463) 评论(0) 推荐(0) 编辑

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5

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