TIANKONGHAIHUO

导航

随笔分类 -  iOS

1 2 3 下一页

常用小功能(打电话、发短信、发邮件)
摘要:打电话-⽅方法1 ● 最简单最直接的⽅方式:直接跳到拨号界⾯面 NSURL *url = [NSURL URLWithString:@"tel://10010"]; [[UIApplication sharedApplication] openURL:url]; ● 缺点 电话打完后,不会⾃自动回到 阅读全文

posted @ 2016-02-15 21:43 日月行程 阅读(231) 评论(0) 推荐(0)

block的复习
摘要:main.m // // main.m // 8A10.Block的复习 // // Created by huan on 16/2/8. // Copyright © 2016年 huanxi. All rights reserved. // #import <Foundation/Foundat 阅读全文

posted @ 2016-02-15 21:30 日月行程 阅读(127) 评论(0) 推荐(0)

动画总结(UIView的动画)
摘要:Main.storyboard ViewController.m // // ViewController.m // 8A08.动画总结 // // Created by huan on 16/2/6. // Copyright © 2016年 huanxi. All rights reserved 阅读全文

posted @ 2016-02-15 21:28 日月行程 阅读(183) 评论(0) 推荐(0)

底部旋转菜单
摘要:Main.storyboard ViewController.m // // ViewController.m // 8A07.底部旋转菜单 // // Created by huan on 16/2/6. // Copyright © 2016年 huanxi. All rights reserv 阅读全文

posted @ 2016-02-15 21:24 日月行程 阅读(296) 评论(0) 推荐(0)

车小弟
摘要:Main.storyboard ViewController.m // // ViewController.m // 8A06.车小弟 // // Created by huan on 16/2/5. // Copyright © 2016年 huanxi. All rights reserved. 阅读全文

posted @ 2016-02-15 21:18 日月行程 阅读(316) 评论(0) 推荐(0)

核心动画 (CAAnimationGroup)
摘要:Main.storyboard ViewController.m // // ViewController.m // 8A05.核心动画 CAAnimationGroup // // Created by huan on 16/2/5. // Copyright © 2016年 huanxi. Al 阅读全文

posted @ 2016-02-15 21:14 日月行程 阅读(196) 评论(0) 推荐(0)

图片浏览(CATransition)转场动画
摘要:Main.storyboard ViewController.m // // ViewController.m // 8A04.图片浏览(转场动画) // // Created by huan on 16/2/4. // Copyright © 2016年 huanxi. All rights re 阅读全文

posted @ 2016-02-15 21:11 日月行程 阅读(360) 评论(0) 推荐(0)

图片的抖动
摘要:Main.storyboard ViewControlller.m // // ViewController.m // 8A03.图片的抖动 // // Created by huan on 16/2/4. // Copyright © 2016年 huanxi. All rights reserv 阅读全文

posted @ 2016-02-15 21:06 日月行程 阅读(136) 评论(0) 推荐(0)

核心动画(CAKeyframeAnimation)
摘要:Main.storyboard ViewController.m // // ViewController.m // 8A02.核心动画 - CAKeyframeAnimation // // Created by huan on 16/2/4. // Copyright © 2016年 huanx 阅读全文

posted @ 2016-02-15 21:03 日月行程 阅读(250) 评论(0) 推荐(0)

图层的核心动画(CABaseAnimation)续
摘要:Main.storyboard ViewController.m // // ViewController.m // 8A01.核心动画 // // Created by huan on 16/2/4. // Copyright © 2016年 huanxi. All rights reserved 阅读全文

posted @ 2016-02-15 20:59 日月行程 阅读(203) 评论(0) 推荐(0)

图层的核心动画(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 日月行程 阅读(269) 评论(0) 推荐(0)

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

posted @ 2016-02-15 19:43 日月行程 阅读(212) 评论(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 日月行程 阅读(132) 评论(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 日月行程 阅读(139) 评论(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 日月行程 阅读(246) 评论(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 日月行程 阅读(270) 评论(0) 推荐(0)

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

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

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

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

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

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

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

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

1 2 3 下一页