会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
飞的更高
放下包袱,奔向新生命!
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
2015年9月2日
initWithFrame 和 initWithCoder 区别?
摘要: 当我们所写的程序里用代码创建控制视图内容,需要调用initWithFrame去初始化- (id)initWithFrame:(CGRect)frame{ if (self =[superinitWithFrame:frame]) { // 初始化代码 } return...
阅读全文
posted @ 2015-09-02 14:44 zakers
阅读(354)
评论(0)
推荐(0)
2015年8月26日
iOS CocoaPods安装与使用 好东西保存
摘要: http://www.cnblogs.com/daguo/p/4097263.htmlhttp://www.cnblogs.com/pican/p/3939941.html?utm_source=tuicool有时命令第一次没反应,重复几次就行了
阅读全文
posted @ 2015-08-26 00:06 zakers
阅读(265)
评论(0)
推荐(0)
2015年8月23日
AutoLayout自动布局之VFL语言代码实现(一个神奇的语言)
摘要: 一.什么是VFL语言?为什么要VFL语言?VFL全称是Visual Format Language,翻译过来是“可视化格式语言”VFL是苹果公司为了简化Autolayout的编码而推出的抽象语言代码分析:1 NSArray *arr = [NSLayoutConstraint constrai...
阅读全文
posted @ 2015-08-23 16:39 zakers
阅读(721)
评论(2)
推荐(2)
2015年8月22日
AutoLayout自动布局,NSLayoutConstraint 视图约束使用
摘要: 一.方法 NSLayoutConstraint *constraint = [NSLayoutConstraint constraintWithItem: attribute: relatedBy: toItem: attribute: multiplier: constant:]Item:要约束...
阅读全文
posted @ 2015-08-22 23:54 zakers
阅读(555)
评论(0)
推荐(0)
2015年8月20日
NSString 对象保存在哪? @“xxx”和 stringWithFormat:@"xxx" 区别?
摘要: NSString *str1=@"string";//这种是保存在常量池 NSString *str2=@"string"; NSLog(@"str1=%p;str2=%p); str1=[NSString stringWithFormat:@"string1"];//这种...
阅读全文
posted @ 2015-08-20 11:23 zakers
阅读(291)
评论(0)
推荐(0)
2015年8月19日
UIPopoverController 简单用法(全代码)
摘要: AppDelegate.m- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { self.window = [[UIWindo...
阅读全文
posted @ 2015-08-19 13:39 zakers
阅读(283)
评论(0)
推荐(0)
2015年8月12日
UIView 和 CALayer区别 为啥有UIView还要CALayer?
摘要: 今天,被坑了,面试的时候没回答出来,特此记录一下一.继承结构1: UIView的继承结构为: UIResponder : NSObject UIResponder是用来响应事件的,也就是UIView可以响应用户事件2:CALayer的继承结构为: NSObject。 直接从 NSObject继承,...
阅读全文
posted @ 2015-08-12 17:33 zakers
阅读(448)
评论(0)
推荐(0)
上一页
1
2
公告