码迷,mamicode.com
首页 >  
搜索关键字:selector    ( 3894个结果
IOS NSNotificationCenter 通知的使用
1.注册通知[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(notify) name:@"myNotify" object:nil];-(void)notify{ NSLog(@"notify");}....
分类:移动开发   时间:2014-05-23 10:02:56    阅读次数:306
NSTimer 详解
NSTimer的使用方法1、初始化+ (NSTimer *)timerWithTimeInterval:(NSTimeInterval)ti target:(id)aTarget selector:(SEL)aSelector userInfo:(id)userInfo repeats:(BOOL)...
分类:其他好文   时间:2014-05-23 07:01:44    阅读次数:224
__NSArrayI removeObjectAtIndex:]: unrecognized selector sent to instance
同样是删除cell问题,帮我看看问题出现在哪,谢谢!我的类文件myFile是继承UIViewController的(目的是为了能够在一个view里切换不同的tableView),在myFile.h中定义一个可变数组editContactsList,然而在IB里面添加了一个view,两个tableVi...
分类:其他好文   时间:2014-05-23 03:21:49    阅读次数:380
iOS 定时器的用法 NSTimer ------5.20
1、初始化+ (NSTimer *)timerWithTimeInterval:(NSTimeInterval)ti target:(id)aTarget selector:(SEL)aSelector userInfo:(id)userInfo repeats:(BOOL)yesOrNo;+ (N...
分类:移动开发   时间:2014-05-22 05:38:01    阅读次数:320
android RadioGroup中设置selector后出现多个别选中的RadioButton的解决办法
在一个RadioGroup组中假如有三个或者以上的RadioButton,当然你需要给这些RadioButton设置selector。设置其中的一个为默认选中状态(在xml中设置)。当程序在手机上运行时你会发现,那个设置默认选中的RadioButton总是被选中的。那么怎样解决它呢?办法:既然在xm...
分类:移动开发   时间:2014-05-22 03:27:11    阅读次数:262
jQuery ----学习笔记(一)
jQuery 是一个JavaScript函数库特性:HTML元素选取 HTML元素操作 CSS操作 HTML事件函数 JavaScript特效和动画 HTML DOM遍历和修改 AJAX Utilities 标签引用: jQuery基础语法:$(selector).action()实...
分类:Web程序   时间:2014-05-21 22:11:03    阅读次数:370
转:jQ函数after、append、appendTo的区别
1、after函数定义和用法:after() 方法在被选元素后插入指定的内容。参考:http://keleyi.com/a/bjac/cfyxd60g.htm语法:$(selector).after(content)实例效果体验:http://keleyi.com/keleyi/phtml/jque...
分类:移动开发   时间:2014-05-19 21:41:21    阅读次数:471
JQuery日记_5.14 Sizzle选择器(七)
上篇说道,tokenize方法会把selector分割成一个个selector逻辑单元(如div a是两个逻辑单元)并为之片段赋予对应类型的过滤函数。 for ( type in Expr.filter ) { if ( (match = matchExpr[ type ].exec( soFar )) && (!preFilters[ type ] ||...
分类:Web程序   时间:2014-05-18 13:42:59    阅读次数:393
IOS 中NSTimer使用注意事项
1、初始化 + (NSTimer *)timerWithTimeInterval:(NSTimeInterval)ti target:(id)aTarget selector:(SEL)aSelector userInfo:(id)userInfo repeats:(BOOL)yesOrNo; + (NSTimer *)scheduledTimerWithTimeInterval:(NSTim...
分类:移动开发   时间:2014-05-18 08:52:17    阅读次数:327
android中非阻塞socket通信
1、什么是...
分类:移动开发   时间:2014-05-18 04:01:56    阅读次数:389
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!