上一页 1 ··· 37 38 39 40 41 42 43 44 45 ··· 49 下一页

2015年10月18日

OC--类型为ID 的类的名称

摘要: NSString *str = [[view class] description]; 阅读全文

posted @ 2015-10-18 16:32 大木哥 阅读(186) 评论(0) 推荐(0) 编辑

2015年10月16日

Cell.reuseIdentifier 指什么

摘要: Cell.reuseIdentifier 指的是默认为空,如果不定义,在执行[_tableView registerNib:templateCellNib forCellReuseIdentifier:_templateCell.reuseIdentifier];时,提示must pass a va... 阅读全文

posted @ 2015-10-16 16:01 大木哥 阅读(670) 评论(0) 推荐(0) 编辑

2015年10月15日

OC--设置视图控制器,从导航栏的下边缘开始

摘要: self.edgesForExtendedLayout = UIRectEdgeNone; 阅读全文

posted @ 2015-10-15 14:07 大木哥 阅读(431) 评论(0) 推荐(0) 编辑

OC--初始化UINavigationController

摘要: - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions{ // create a navigation controller and pe... 阅读全文

posted @ 2015-10-15 13:48 大木哥 阅读(462) 评论(0) 推荐(0) 编辑

2015年10月14日

Reactive 网络状态 Activity indicator view

摘要: 转动属性;AnimatingRAC(self.searchActivity, hidden) = [self.m_viewModel.m_searchCommand.executing not]; 阅读全文

posted @ 2015-10-14 11:02 大木哥 阅读(191) 评论(0) 推荐(0) 编辑

Reactive 手机网络状态

摘要: RAC([UIApplication sharedApplication], networkActivityIndicatorVisible) 阅读全文

posted @ 2015-10-14 10:53 大木哥 阅读(212) 评论(0) 推荐(0) 编辑

2015年10月13日

RACSingle 有效的两种方式

摘要: 第一种当然是subscribeNext另外还有一种就是作为Command的enablesingle也相当于被订阅了。 阅读全文

posted @ 2015-10-13 17:09 大木哥 阅读(324) 评论(0) 推荐(0) 编辑

ReactiveCocoa 设置绑定注意事项

摘要: 要在ViewLoad里面进行绑定,因为在init中还没有初始化界面,所有绑定会无效 阅读全文

posted @ 2015-10-13 17:06 大木哥 阅读(278) 评论(0) 推荐(0) 编辑

UIStackView属性解释

摘要: Distribution 分布:Fill:填充,会根据优先级来压缩或伸长元素Fill Equal:全都相等,并且都填充满Fill Proportionally:按比例填充,根据元素的内容多少的比例填充Equal Centering:根据元素的中心点间的距离分布,默认是不压缩的。但是,如果空间不够,则... 阅读全文

posted @ 2015-10-13 17:04 大木哥 阅读(443) 评论(0) 推荐(0) 编辑

全局文件 pch

摘要: 在 bulding setting 里面 搜prefix header然后添加自己的pch 路径, 类似 $(SRCROOT)/...还要把 precompile prefix header 设置为 YES 阅读全文

posted @ 2015-10-13 15:49 大木哥 阅读(189) 评论(0) 推荐(0) 编辑

上一页 1 ··· 37 38 39 40 41 42 43 44 45 ··· 49 下一页

导航