上一页 1 ··· 4 5 6 7 8 9 下一页
  2017年1月2日
摘要: 1. git init 2. git config user.name "" git config user.name "" 3. 现实隐藏文件 4. touch mian.m 查看文件状态 git status Initial commit Untracked files: (use "git a 阅读全文
posted @ 2017-01-02 20:13 1018475062 阅读(222) 评论(0) 推荐(0)
  2017年1月1日
摘要: -(void)touchesBegan:(NSSet*)touches withEvent:(UIEvent *)event { NSString *doc = [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomai 阅读全文
posted @ 2017-01-01 20:59 1018475062 阅读(132) 评论(0) 推荐(0)
  2016年12月31日
摘要: 阅读全文
posted @ 2016-12-31 14:27 1018475062 阅读(584) 评论(0) 推荐(0)
  2016年12月26日
摘要: 主谓宾 主谓 主系表 I love you. I enjoy teaching. He said he would come. It is interesting. The dish smells good. Leaves turn yellow in fall. What happened hap 阅读全文
posted @ 2016-12-26 18:29 1018475062 阅读(342) 评论(0) 推荐(0)
  2016年12月21日
摘要: I like the movie. I saw you yesterday.// the other day/two days ago I have finished my homework. I am reading a newspaper. // 谓语 The sun sets early. / 阅读全文
posted @ 2016-12-21 11:32 1018475062 阅读(425) 评论(0) 推荐(0)
  2016年12月20日
摘要: 核心动画和UIView动画的区别 1.核心动画制作用在Layer 2.核心动画的修改的属性都是假象,他的真实位置没有发生变化() 阅读全文
posted @ 2016-12-20 16:28 1018475062 阅读(123) 评论(0) 推荐(0)
摘要: 把view添加到某个视图的虾面 [self.superview insertSubview:smallCircle belowSubview:self]; // 返回两个数的根 return sqrt(offsetX * offsetX + offsetY * offsetY); } view的ce 阅读全文
posted @ 2016-12-20 10:30 1018475062 阅读(80) 评论(0) 推荐(0)
  2016年12月11日
摘要: 莎士比亚说:世间事,也有涨潮时节,及时把握,终可功成名就。 罗曼·罗兰说“人们常觉得准备的阶段是在浪费时间,只有当真正的机会来临,而自己没有能力把握的时候,才能觉悟到自己平时没有准备才是浪费了时间。” 梭罗在《瓦尔登湖》里说过:“神圣的经典里有黄金般的文字,是古代最聪明的智者说出来的话,它们的价值是 阅读全文
posted @ 2016-12-11 09:42 1018475062 阅读(321) 评论(0) 推荐(0)
  2016年12月1日
摘要: 1. NSTimer 不是很精确 2.CADisplayLink 屏幕 3.通过GCD来实现定时间器 //定时循环执行事件 //dispatch_source_set_timer 方法值得一提的是最后一个参数(leeway),他告诉系统我们需要计时器触发的精准程度。 所有的计时器都不会保证100%精 阅读全文
posted @ 2016-12-01 19:03 1018475062 阅读(443) 评论(0) 推荐(0)
摘要: 在NSObject.h中找到三个方法 + (void)load; + (void)initialize; - (instancetype)init 1. 可知三个方法类型,两个类方法,一个对象方法 2.load和initialize的区别 + (void)load: 程序运行时候会把相关的类都加载, 阅读全文
posted @ 2016-12-01 18:22 1018475062 阅读(192) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 下一页