笔记备忘
brian0516
这个作者很懒,什么都没留下…
展开
-
使用CocoaPods之后的头文件包含问题
使用了一段时间CocoaPods来管理Objective-c的类库,方便了不少。但是有一个小问题,当我在xcode输入import关键字的时候,没有自动联想补齐代码的功能,需要手工敲全了文件名,难以适应。 在stackoverflow上找到了解决办法: Go to the Target > \”Build Settings\” tab and find the \”User Hea转载 2014-03-29 14:32:17 · 411 阅读 · 0 评论 -
代码创建布局约束
UIButton *btn = [UIButton buttonWithType:UIButtonTypeRoundedRect]; [btn setTitle:@"button" forState:UIControlStateNormal]; [self.view addSubview:btn]; //1.先关掉autoresize原创 2014-07-29 09:19:48 · 307 阅读 · 0 评论 -
(个人笔记)block的使用传值回调
需求1,使用block 从VCb像VCa传值原创 2014-07-29 08:33:18 · 338 阅读 · 0 评论