2016年4月18日

摘要: 1.现在睡觉的话会做梦 而现在学习的话会让梦实现 This moment will nap, you will have a dream; But this moment study,you will interpret a dream. 2.我无所事事地度过的今天是昨天死去的人们所奢望的明天 I 阅读全文
posted @ 2016-04-18 15:40 爱你久久iOS 阅读(342) 评论(0) 推荐(0) 编辑
摘要: // // ViewController.m // 04-CABasicAnimation // // Created by mac on 16/4/18. // Copyright © 2016年 mac. All rights reserved. // #import "ViewController.h" @interface ViewController () @propert... 阅读全文
posted @ 2016-04-18 14:45 爱你久久iOS 阅读(143) 评论(0) 推荐(0) 编辑
摘要: // // ViewController.m // 01-CALayer创建 // // Created by mac on 16/4/18. // Copyright © 2016年 mac. All rights reserved. // /* 1. position:确定当前图层的锚点到父视图层坐标到原点的相对偏移量,在当前图层上找出锚点位置,将两者对齐 2. 绘制直线三部曲:... 阅读全文
posted @ 2016-04-18 11:44 爱你久久iOS 阅读(174) 评论(0) 推荐(0) 编辑
摘要: // // ViewController.m // 01-CALayer创建 // // Created by mac on 16/4/18. // Copyright © 2016年 mac. All rights reserved. // /* 1. position:确定当前图层的锚点到父视图层坐标到原点的相对偏移量,在当前图层上找出锚点位置,将两者对齐 2. 绘制直线三部曲:... 阅读全文
posted @ 2016-04-18 11:07 爱你久久iOS 阅读(241) 评论(0) 推荐(0) 编辑
摘要: /* 1. position:确定当前图层的锚点到父视图层坐标到原点的相对偏移量,在当前图层上找出锚点位置,将两者对齐 2. 绘制直线三部曲:创建可变路径(pathCreateMutable) : 添加到context(addPath) :开始绘制(drawPath) 途径阶段2:起始点确定, 属性 阅读全文
posted @ 2016-04-18 11:03 爱你久久iOS 阅读(398) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2016-04-18 10:33 爱你久久iOS 阅读(80) 评论(0) 推荐(0) 编辑

导航