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