TIANKONGHAIHUO

导航

2016年2月3日 #

回顾触摸事件

摘要: Main.storyboard CZView.m // // CZView.m // 7A01.回顾触摸事件 // // Created by huan on 16/2/3. // Copyright © 2016年 huanxi. All rights reserved. // #import " 阅读全文

posted @ 2016-02-03 12:47 日月行程 阅读(98) 评论(0) 推荐(0) 编辑

2016年2月2日 #

手势解锁

摘要: ViewController.m // // ViewController.m // 6A08.手势解锁 // // Created by huan on 16/2/1. // Copyright © 2016年 huanxi. All rights reserved. // #import "Vi 阅读全文

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

涂鸦

摘要: Main.storyboard 下面四个颜色设置在右边的view中background ViewController.m // // ViewController.m // 6A06.涂鸦 // // Created by huan on 16/1/30. // Copyright © 2016年 阅读全文

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

触发事件续

摘要: Main.storyboard CZView.h #import <UIKit/UIKit.h> @interface CZView : UIView @end CZView.m // // CZView.m // 6A05.触摸事件 // // Created by huan on 16/1/30 阅读全文

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

触摸事件基本介绍

摘要: iOS中的事件 响应者对象 ● 在iOS中不是任何对象都能处理事件,只有继承了UIResponder的对象才能接收并处理事 件。我们称之为“响应者对象” ● UIApplication、UIViewController、UIView都继承⾃自UIResponder,因此它们都 是响应者对象,都能够接 阅读全文

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

背景平铺

摘要: ViewController.m // // ViewController.m // 6A04.北京平铺 // // Created by huan on 16/1/30. // Copyright © 2016年 huanxi. All rights reserved. // #import "V 阅读全文

posted @ 2016-02-02 16:10 日月行程 阅读(139) 评论(0) 推荐(0) 编辑

屏幕截图

摘要: Main.storyboard ViewController.m // // ViewController.m // 6A03.屏幕截图 // // Created by huan on 16/1/30. // Copyright © 2016年 huanxi. All rights reserve 阅读全文

posted @ 2016-02-02 16:06 日月行程 阅读(157) 评论(0) 推荐(0) 编辑

图片的裁剪

摘要: Main.storyboard ViewController.m // // ViewController.m // 6A01.图片的裁剪(位图上下文) // // Created by huan on 16/1/29. // Copyright © 2016年 huanxi. All rights 阅读全文

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

图片水印

摘要: Main.storyboard ViewController.m // // ViewController.m // 5B04.图片水印 // // Created by huan on 16/1/29. // Copyright © 2016年 huanxi. All rights reserve 阅读全文

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

UIKit绘图方法

摘要: Main.storyboard CustomView.h #import <UIKit/UIKit.h> @interface CustomView : UIView @end // // CustomView.m // 5B03.UIKit绘图方法 // // Created by huan on 阅读全文

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