
iOS
文章平均质量分 78
chenglong_abc
这个作者很懒,什么都没留下…
展开
-
Object-C学习
1、C++中#include需要再加#ifdef来判断是否该头文件已包含过。而Object-c中的#import则不用判读2、cocoa的内存管理方式有三种:a、garbage collection(同Java,but编写设备不适用)b、reference counted(类似于COM中的Release/AddRef,适应于多线程,使用时计数器加1,直到计数器释放为0时由foundation释原创 2011-12-30 10:40:03 · 490 阅读 · 0 评论 -
iphone-private framework
https://github.com/rpetrich/iphoneheaders转载 2012-03-17 09:17:05 · 780 阅读 · 0 评论 -
iphone模拟触屏 svn/ trunk/ KeyMouseRelay/ KeyMouseRelay.mm
/*** Name: KeyMouseRelay* Type: iPhone OS 2.x SpringBoard extension (MobileSubstrate-based)* Description: Extension to allow sending keyboard/mouse events to SpringBoard转载 2012-03-17 09:13:52 · 2501 阅读 · 2 评论 -
iPhone开发-创建、读取、写入文件
创建与删除: //创建文件管理器 NSFileManager *fileManager = [NSFileManager defaultManager]; //获取路径 //参数NSDocumentDirectory要获取那种路径 NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDo转载 2012-05-04 09:25:58 · 469 阅读 · 0 评论