码迷,mamicode.com
首页 >  
搜索关键字:nsset    ( 340个结果
POP-一个点击带有放大还原的动画效果
原理监听屏幕的点击事件- (void)touchesBegan:(NSSet *)touches withEvent:(nullable UIEvent *)event;- (void)touchesEnded:(NSSet *)touches withEvent:(nullable UIEvent...
分类:其他好文   时间:2015-12-09 19:29:37    阅读次数:185
OC Foundation框架—字符串
一、Foundation框架中一些常用的类字符串型:NSString:不可变字符串NSMutableString:可变字符串集合型:1)NSArray:OC不可变数组NSMutableArray:可变数组2)NSSet:NSMutableSet:3)NSDictioraryNSMutableDict...
分类:其他好文   时间:2015-12-08 14:13:53    阅读次数:153
Error Domain=com.alamofire.error.serialization.response Code=-1016 "Request failed: unacceptable con
AFHTTPSessionManager * manager = [AFHTTPSessionManager manager]; manager.responseSerializer.acceptableContentTypes = [NSSet setWithObjects:@"applicat....
分类:其他好文   时间:2015-12-05 17:30:54    阅读次数:270
12-5 NSSet
原文:http://rypress.com/tutorials/objective-c/data-types/nssetNSSetNSSet,NSArray, andNSDictionaryare the three core collection classes defined by the Fo...
分类:其他好文   时间:2015-11-30 17:43:57    阅读次数:174
iOS开篇——UI之UIGestureRecogzier_手势
一.UITouch 1 //任何视图都可以触发此方法 2 - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{ 3 NSLog(@"视图被触摸了"); 4 } 5 6 - (void)touchesCancel...
分类:移动开发   时间:2015-11-29 22:54:38    阅读次数:445
OS开发 touch事件的优先级和事件传递
界面类的对象一般都是可以接触点击事件的,只不过有的默认接受,有的需要设定属性。userInteractionEnabled属性设置为YES的时候就可以接受点击事件了 -(void)touchesBegan:(NSSet*) touches withEvent:(UIEvent*) event- (....
分类:其他好文   时间:2015-11-24 20:14:04    阅读次数:118
直角瓦片地图坐标转换算法记录(OC)
瓦片地图-(void) ccTouchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{ CCNode* node = [self getChildByTag:TileMapNode]; CCTMXTiledMap* tileMap ...
分类:编程语言   时间:2015-11-24 16:14:02    阅读次数:205
iOS 收起键盘的几种方式
iOS 收起键盘的几种方式1.一般的view上收起键盘// 手势- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{ [self.cellphone resignFirstResponder]; [self.passw.....
分类:移动开发   时间:2015-11-21 14:25:02    阅读次数:281
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
340条   上一页 1 ... 11 12 13 14 15 ... 34 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!