码迷,mamicode.com
首页 >  
搜索关键字:nsditionary nsmutableditionary nsset nsmutableset    ( 346个结果
ios的手势UIGestureRecognizer
一、概述iPhone中处理触摸屏的操作,在3.2之前是主要使用的是由UIResponder而来的如下4种方式:- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event- (void)touchesCancelled:(NSSet...
分类:移动开发   时间:2015-11-20 21:22:29    阅读次数:173
UIAlertController类--sheet上拉菜单1(基本的)
一、效果二、代码实现- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{ [self sheetTest1];}/**注意:不能在上拉菜单中添加文本框 如果强行添加了文本框,会报运行时错误: reason: 'Tex...
分类:其他好文   时间:2015-11-18 16:27:37    阅读次数:143
UIAlertController类--alert弹框3(文本对话框)
一、效果二、实现- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{ [self alertTest3];}/*** 文本对话框*/- (void)alertTest3{ //1.创建UIAlertController.....
分类:其他好文   时间:2015-11-18 10:34:58    阅读次数:160
Navigation1 PUSH & POP
//1.进入第一 push- (void)touchesEnded:(NSSet *)touches withEvent:(UIEvent *)event{ FirstViewController *firstVC = [[FirstViewController alloc] init]; [s.....
分类:其他好文   时间:2015-11-18 10:34:51    阅读次数:111
UIAlertController类--alert弹框2(Destructive “警示”)
一、效果二、实现- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{ [self alertTest2];}/*** Destructive :“警示”样式*/- (void)alertTest2{ //1.创建UIA.....
分类:其他好文   时间:2015-11-18 10:25:53    阅读次数:144
母传键老师课堂笔记 -----ViewController的生命周期
//1.手势,viewcontroller 进入下一页- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{ MCJViewController *mcjVC = [[MCJViewController alloc] in....
分类:其他好文   时间:2015-11-18 10:25:32    阅读次数:111
XML-SAX解析
- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{ // 创建网络请求 NSURL *url = [NSURL URLWithString:@"http://localhost/resources/vedios.x...
分类:其他好文   时间:2015-11-05 15:15:43    阅读次数:138
UIAlertController
- (void)viewDidLoad { [super viewDidLoad]; // Do any additional setup after loading the view, typically from a nib.}-(void)touchesBegan:(NSSet *)tou.....
分类:其他好文   时间:2015-11-04 17:39:43    阅读次数:240
【项目】视图点击事件的处理,视图之间消息传递
现在项目中有一个需求:首先我从第二个需求开始解决:一、需求2解决方案:1.首先,我们了解到ViewOne是继承自UIView,超类是UIResponeder,所以就会有这些特性。根据其中touchesBegin方法:- (void)touchesBegan:(NSSet *)touches with...
分类:其他好文   时间:2015-11-04 12:52:31    阅读次数:319
Objective-C集合初识
NSArray 有序的 自然顺序NSSet 无序的NSSet 中不能存储重复的数据,可以用它来去除重复的数据1.创建集合 1.1创建不可变集合 1 NSSet * set = [[NSSet alloc] initWithObjects:@"one",@"two",@"three",...
分类:其他好文   时间:2015-11-03 00:33:45    阅读次数:156
346条   上一页 1 ... 12 13 14 15 16 ... 35 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!