摘要:
在Cocoa 中创建线程使用NSThread类的detachNewThreadSelector: toTarget:withObject:方法[html]view plaincopyNSPort*port1=[NSPortport];NSPort*port2=[NSPortport];NSArray... 阅读全文
posted @ 2014-06-12 17:42 ArRan 阅读(326) 评论(0) 推荐(0) 编辑
|
||
摘要:
在Cocoa 中创建线程使用NSThread类的detachNewThreadSelector: toTarget:withObject:方法[html]view plaincopyNSPort*port1=[NSPortport];NSPort*port2=[NSPortport];NSArray... 阅读全文
posted @ 2014-06-12 17:42 ArRan 阅读(326) 评论(0) 推荐(0) 编辑
摘要:
NSString *tempA = @"123";NSString *tempB = @"456";1,字符串拼接NSString *newString = [NSString stringWithFormat:@"%@%@",tempA,tempB];2,字符转intint intString =... 阅读全文
posted @ 2014-06-12 11:36 ArRan 阅读(163) 评论(0) 推荐(0) 编辑 |
||