调用NSObject的方法[selfperformSelector:@selector(run)withObject:nilafterDelay:2.0];// 2秒后再调用self的run方法使用GCD函数dispatch_after(dispatch_time(DISPATCH_TIME_NOW...
分类:
移动开发 时间:
2014-08-28 22:39:56
阅读次数:
274
http://stackoverflow.com/questions/6528724/xmppframework-ios-and-configuring-authentication-types if?([self?supportsDigestMD5Authentication])
{
???//?send?the?digest?data?along?with?wit...
分类:
移动开发 时间:
2014-08-28 18:24:45
阅读次数:
245
self.navigationController.view.layer.cornerRadius
= 0;...
分类:
其他好文 时间:
2014-08-28 16:14:39
阅读次数:
146
class Solution: # @param matrix, a list of lists of integers # @param target, an integer # @return a boolean def searchMatrix(self, matrix...
分类:
编程语言 时间:
2014-08-28 11:24:19
阅读次数:
216
- (void)imageBg{ UIImage *oldImage = [UIImage imageNamed:@"me"]; UIGraphicsBeginImageContextWithOptions(self.view.frame.size, NO, 0.0); [oldImage dra....
分类:
移动开发 时间:
2014-08-27 21:55:28
阅读次数:
228
- (void)addStripe{ [super viewDidLoad]; // self.view.backgroundColor = [UIColor redColor]; // 1.创建一行背景图片 CGFloat rowW = self.view.frame.size.width;//....
分类:
移动开发 时间:
2014-08-27 21:54:28
阅读次数:
364
PHP_SELF、 SCRIPT_NAME、 REQUEST_URI区别$_SERVER[PHP_SELF], $_SERVER[SCRIPT_NAME], $_SERVER['REQUEST_URI'] 在用法上是非常相似的,他们返回的都是与当前正在使用的页面地址有关的信息,这里列出一些相关的例....
分类:
Web程序 时间:
2014-08-27 20:24:18
阅读次数:
180
class Solution: # @param num, a list of integer # @return a list of lists of integers def permute(self, num): length=len(num) i...
分类:
编程语言 时间:
2014-08-27 20:11:28
阅读次数:
200
## SMART 简介 S.M.A.R.T.,全称为“Self-Monitoring Analysis and Reporting Technology”,即“自我监测、分析及报告技术”。是一种自动的硬盘状态检测与预警系统和规范。通过在硬盘硬件内的检测指令对硬盘的硬...
分类:
其他好文 时间:
2014-08-27 19:04:18
阅读次数:
1094