- 浏览: 265802 次
- 性别:
- 来自: 大连
-
文章分类
最新评论
//延迟执行
[self performSelector:@selector(hidenSelf) withObject:nil afterDelay:2];
//取消延迟执行
[[self class] cancelPreviousPerformRequestsWithTarget:self selector:@selector(hidenSelf) object:nil];
[self performSelector:@selector(hidenSelf) withObject:nil afterDelay:2];
//取消延迟执行
[[self class] cancelPreviousPerformRequestsWithTarget:self selector:@selector(hidenSelf) object:nil];
发表评论
-
发送短信,发邮件,打电话代码实现
2012-03-12 12:11 2360基础代码: + (void)alert:(NSSt ... -
iphone"此证书是由未知颁发机构签名的"的解决办法
2012-01-10 20:46 13747由于误删除,将开发证书给弄没了,导致Certificates中 ... -
Xcode4 常用快捷键
2011-12-21 20:14 987基础篇 command + arr ... -
NSOperationQueue用法
2011-12-14 17:03 1352operationQueue = [[NSOper ... -
Delegate与Notification区别
2011-12-09 17:54 1496Delegate: 消息的发送者(sender)告知接收者(r ... -
实现对UITextField ,UITextView等输入框的 字数限制
2011-12-08 18:30 40301. 如何实现对UITex ... -
切分字符串转数组
2011-12-05 14:46 1106使用-componentsSeparatedByString: ... -
线程循环
2011-12-02 20:06 904@selector(xxxThread)方法以后,在方法中添加 ... -
使用及关闭线程
2011-12-02 20:00 1082-(void)startRtsp{ // ... -
判断touch在一个View上
2011-12-02 19:41 852UIView *temomoveView = [[UIView ... -
Xcode4 下设置 NSZombieEnabled 的方法
2011-12-02 09:39 1689点击 Xcode4 菜单 Product -> Edit ... -
创建颜色交替的table view cell
2011-11-23 19:34 0- (void)tableView:(UITableView ... -
关于block的学习笔记
2011-11-22 23:50 0现在是多核时代了,所以IOS也得跟上潮流,所谓block就是把 ... -
Thread、Process和Task的解释
2011-11-22 23:45 01、线程(Thread):用于引用执行代码的一个独立的路径。M ... -
cocoa 文件操作
2011-11-18 21:38 0打开查看文件 NSOpenPanel *openPanel=[ ... -
Button按下状态
2011-11-18 21:21 0[myButton setEnabled:YES]; ... -
延时函数和Timer的使用
2011-11-18 20:30 1624//延时函数: [NSThread sleepForTi ... -
iphone程序中实现截屏的一种方法
2011-11-18 20:29 925//导入头文件 #import QuartzCore/Q ... -
截取屏幕图片
2011-11-18 20:28 950//创建一个基于位图的图形上下文并指定大小为CGSizeM ... -
自定义按钮
2011-11-18 20:26 909UIButton *Btn; CGRect frame; ...
评论