Rupert

::Me(C#,VC,MonoTouch,MonoforAndroid);

导航

2014年6月12日

摘要: 在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) 编辑

摘要: NSFileManager中包含了用来查询单词库目录、创建、重命名、删除目录以及获取/设置文件属性的方法(可读性,可编写性等等)。每个程序都会有它自己的沙盒,通过它你可以阅读/编写文件。写入沙盒的文件在程序的进程中将会保持稳定,即便实在程序更新的情况下。如下所示,你可以在沙盒中定位文件目录://对于... 阅读全文

posted @ 2014-06-12 10:30 ArRan 阅读(233) 评论(0) 推荐(0) 编辑