TIANKONGHAIHUO

导航

2016年2月15日 #

图层的核心动画(CABaseAnimation)

摘要: Main.storyboard // // ViewController.m // 7A14.图层的核心动画 // // Created by huan on 16/2/4. // Copyright © 2016年 huanxi. All rights reserved. // #import " 阅读全文

posted @ 2016-02-15 19:47 日月行程 阅读(261) 评论(0) 推荐(0) 编辑

核⼼心动画的基本介绍

摘要: 核⼼心动画(Core Animation) Core Animation是⼀一组⾮非常强⼤大的动画处理API,使⽤用它能做出⾮非常炫丽的动画 效果,⽽而且往往是事半功倍,使⽤用它需要先添加QuartzCore.framework和引⼊入 对应的框架<QuartzCore/QuartzCore.h> 阅读全文

posted @ 2016-02-15 19:43 日月行程 阅读(184) 评论(0) 推荐(0) 编辑

图层的隐藏动画

摘要: Main.storyboard ViewController.m // // ViewController.m // 7A13.图层的隐式动画 // // Created by huan on 16/2/4. // Copyright © 2016年 huanxi. All rights reser 阅读全文

posted @ 2016-02-15 19:22 日月行程 阅读(121) 评论(0) 推荐(0) 编辑

Position和anchorPoint

摘要: Main.storyboard ViewController.m // // ViewController.m // 7A12.position和anchorPoint // // Created by huan on 16/2/4. // Copyright © 2016年 huanxi. All 阅读全文

posted @ 2016-02-15 19:18 日月行程 阅读(133) 评论(0) 推荐(0) 编辑

图层的transform属性

摘要: Main.storyboard // // ViewController.m // 7A11.图层的transform属性 // // Created by huan on 16/2/4. // Copyright © 2016年 huanxi. All rights reserved. // #i 阅读全文

posted @ 2016-02-15 19:15 日月行程 阅读(237) 评论(0) 推荐(0) 编辑

图层的基本使用

摘要: Main.storyboard ViewConroller.m // // ViewController.m // 7A10.图层基本使用 // // Created by huan on 16/2/3. // Copyright © 2016年 huanxi. All rights reserve 阅读全文

posted @ 2016-02-15 19:09 日月行程 阅读(255) 评论(0) 推荐(0) 编辑

CALayer图层的基本介绍

摘要: 掌握 ● CALayer的基本属性 ● CALayer和UIView的关系 ● position和anchorPoint的作⽤用 CALayer ● 在iOS中,你能看得见摸得着的东西基本上都是UIView,⽐比如⼀一个按钮、⼀一个⽂文本标签、⼀一 个⽂文本输⼊入框、⼀一个图标等等,这些都是UIVi 阅读全文

posted @ 2016-02-15 18:59 日月行程 阅读(183) 评论(0) 推荐(0) 编辑

手势的应用

摘要: Main.storyboard 1.敲击手势 ViewController.m #import "ViewController.h" @interface ViewController ()<UIGestureRecognizerDelegate> @property (weak, nonatomi 阅读全文

posted @ 2016-02-15 17:43 日月行程 阅读(222) 评论(0) 推荐(0) 编辑

2016年2月3日 #

响应者链条

摘要: 1.什么是响应者 继承了UIResponder的对象就是响应者 面试题 响应者的链条是什么? 1.它是一种事件处理机制,由多个响应者对象连接起来的链条,使得事件可以沿着这些对象进行传递。 2.如果一个响应者对象不能处理某个事件或动作消息,则将该事件消息重新发给链中的上一个响应者。 3.消息沿着响应者 阅读全文

posted @ 2016-02-03 13:26 日月行程 阅读(208) 评论(0) 推荐(0) 编辑

触摸事件的传递

摘要: 提示:UIImageView的userInteractionEnabled 默认就是NO,因此UIImageView以及它的子控件默认是不能接触事件的 Main.storyboard ViewController.m // // ViewController.m // 7A02.触摸事件的传递 // 阅读全文

posted @ 2016-02-03 13:14 日月行程 阅读(146) 评论(0) 推荐(0) 编辑