码迷,mamicode.com
首页 >  
搜索关键字:nsset    ( 340个结果
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
Object-C NSSet类型
自己的撰写。如有错误的地方,请指出!
分类:其他好文   时间:2015-11-02 15:21:18    阅读次数:108
GCD"牛逼的中枢调度器"
GCD的基本使用:- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{ // dispatch_sync : 同步,不具备开启线程的能力 // dispatch_async : 异步,具备开启线程的能力 ...
分类:其他好文   时间:2015-10-30 20:26:27    阅读次数:171
340条   上一页 1 ... 12 13 14 15 16 ... 34 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!