码迷,mamicode.com
首页 >  
搜索关键字:nsset    ( 340个结果
UIActionSheet动态添加按钮
效果图:代码://点击任何处,弹出UIActionSheet-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{ UIActionSheet *sheet=[[UIActionSheet alloc]initWithT...
分类:其他好文   时间:2014-12-02 14:54:22    阅读次数:232
NSSet与NSArray区别
NSSet与NSArray区别 NSSet到底什么类型,其实它和NSArray功能性质一样,用于存储对象,属于集合;NSSet , NSMutableSet类声明编程接口对象,无序的集合,在内存中存储方式是不连续的,不像NSArray,NSDictionary(都是有序的集合)类声明编程接口...
分类:其他好文   时间:2014-11-27 18:05:41    阅读次数:116
iOS中创建数组的简易方法与手势的使用
其实做外包也是挺不错,虽然累点,但是一天天的知识的扩展不少,下面是今天的收获 ①初始化数组一字典的方法 @[] 初始化不可变数组 @{} 初始化不可变字典 ②手势的使用 iOS中处理手势之前是用四个方法: - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event   -...
分类:移动开发   时间:2014-11-25 23:47:57    阅读次数:302
[OC Foundation框架 - 21] NSSet集合 & 集合之间的转换
A.NSSet跟NSArray一样,不可变NSArray 自然顺序NSSet是无序的NSSet不允许存入重复元素,可以用来过滤重复元素也有可变的NSMutableSetB.集合转换 1 // 1.NSArray 转换成 NSMutableArray 2 NSArray *ar...
分类:其他好文   时间:2014-11-24 20:40:44    阅读次数:163
带输入框的UIAlertView
-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{ UIAlertView *dialog = [[UIAlertView alloc] initWithTitle:@"请输入分组名称" message:@"\n" de....
分类:其他好文   时间:2014-11-24 17:06:04    阅读次数:160
UIActionSheet 选择按钮列表
-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event{ UIActionSheet * sheet = [[UIActionSheet alloc] initWithTitle:@"确定要清空图片缓存?" delegate:....
分类:其他好文   时间:2014-11-24 16:45:49    阅读次数:147
IOS触摸事件和手势识别
IOS触摸事件和手势识别目录概述触摸事件手势识别概述为了实现一些新的需求,我们常常需要给IOS添加触摸事件和手势识别触摸事件触摸事件的四种方法-(void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event 一开始触摸所触发的方法-(v....
分类:移动开发   时间:2014-11-24 15:15:42    阅读次数:144
ios 网络请求
-(void)touchesBeGan:(NSSet *)touches withEvent:(UIEvent *)event{ //1.url NSURL *url = [NSURL URLWithString:@"http://m.baidu.com"]' //2.request NSU...
分类:移动开发   时间:2014-11-24 15:11:21    阅读次数:146
NSArray,NSDictionary,NSSet总结
NSArray,NSDictionary,NSSet总结 够全面...
分类:其他好文   时间:2014-11-23 13:08:09    阅读次数:236
中文手写输入法在iOS8.1上的崩溃问题
在中文手写输入法输入时,会导致app崩溃,报-[UIKBBlurredKeyView candidateList]: unrecognized selector sent ,经折腾证实为- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event 错误重载所致。...
分类:移动开发   时间:2014-11-19 11:01:21    阅读次数:208
340条   上一页 1 ... 26 27 28 29 30 ... 34 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!