摘要:
子视图是以栈的方式存放的。每次addsubview时都是在最后面添加。每次在addsubview前和addsubview后可以看看[self.view.subViews count];你看看你的子视图是被添加到哪个位置了。另外[self.view addSubView:xx.view] 其实就等于[... 阅读全文
posted @ 2015-10-28 20:16
吃饭了吗
阅读(317)
评论(0)
推荐(0)
摘要:
/* NSDateFormatter的作用 1.NSString -> NSDate 2.NSDate -> NSString */void fmt_date_to_string();void fmt_string_to_date();void fmt_string_to_date2();void ... 阅读全文
posted @ 2015-10-28 17:29
吃饭了吗
阅读(373)
评论(0)
推荐(0)
摘要:
#import "NSDate+XMGExtension.h"@implementation NSDate (XMGExtension)/** * 是否为今天 */- (BOOL)isToday{ NSCalendar *calendar = [NSCalendar currentCalen... 阅读全文
posted @ 2015-10-28 16:59
吃饭了吗
阅读(234)
评论(0)
推荐(0)
摘要:
专题 UIAlertController// iOS8之前 // UIAlertView // UIActionSheet; // iOS8开始 // UIAlertController == UIAlertView + UIActionSheet UIAler... 阅读全文
posted @ 2015-10-28 16:34
吃饭了吗
阅读(152)
评论(0)
推荐(0)
摘要:
UIScrollView的属性总结属性 TableView作用separatorStyle分割线rowHeight行高属性作用CGPoint contentOffSet监控目前滚动的位置CGSize contentSize滚动范围的大小UIEdgeInsets contentInset视图在scro... 阅读全文
posted @ 2015-10-28 16:02
吃饭了吗
阅读(324)
评论(0)
推荐(0)
浙公网安备 33010602011771号