
IOS开发
文章平均质量分 67
doublefly87jjyy
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
NSArray,NSMutableArray,NSDictionary,NSMutableDictionary总结
NSArray,NSDictionary只能读,不能写。NSMutableArray,NSMutableDictionary可读写 NSMutableArray的主要方法如下: 增加:addobject: 删除:removeAllObjects,RemoveObjecAtIndex,RemoveObject 修改:replaceObjectAtIndex原创 2013-12-31 17:35:19 · 949 阅读 · 0 评论 -
Nsstring用法大全
//1、创建常量字符串。 NSString *astring = @"This is a String!"; //2、创建空字符串,给予赋值。 NSString *astring = [[NSString alloc] init]; astring = @"This is a String!"; [astring release];转载 2013-12-31 17:51:43 · 516 阅读 · 0 评论 -
关于performSelector调用和直接调用区别
下面两段代码都在主线程中运行,我们在看别人代码时会发现有时会直接调用,有时会利用performSelector调用,今天看到有人在问这个问题,我便做一下总结, [delegate imageDownloader:self didFinishWithImage:image]; [delegate performSelector:@selector(imageDownloade转载 2014-09-02 11:07:39 · 288 阅读 · 0 评论