2011年1月28日
摘要: for (int index = 0; index < [_accountGroup count]; index++) { NSMutableArray *accountArrayForSection = [theAccountSection objectAtIndex:index]; NSSortDescriptor *sortDescriptor = [[NSSortDescriptor alloc] initWithKey:@"name" ascending:YES]; NSArray *sortDescriptors = [[NSArray alloc] in 阅读全文
posted @ 2011-01-28 11:56 fairycao 阅读(704) 评论(0) 推荐(0)
  2011年1月19日
摘要: 先删除安装的随手记,然后进入/var/mobile/Library/Preferences/删除里面文件夹内后后缀为plist的全部文件,重刷新一下机子,重调一下语言,再安装就能用。有的不需要重新刷机的。呵呵 阅读全文
posted @ 2011-01-19 16:41 fairycao 阅读(238) 评论(0) 推荐(0)
  2010年11月30日
摘要: tableview,如果数据量少时,会出现很多横线,为此添加footview,就可以去掉多余的横线。CGRect theFooterRect = theRect; theFooterRect.size.height -= 46; UIView * newFooterView = [[UIView alloc] initWithFrame:theFooterRect]; self.tableView... 阅读全文
posted @ 2010-11-30 16:26 fairycao 阅读(2523) 评论(0) 推荐(0)
  2010年11月19日
摘要: First, open the Utilities folder in the Finder. You can use ⌘⇧U to navigate directly to it. Look for the Terminal application and run it. In Terminal, enter the following command exactly a... 阅读全文
posted @ 2010-11-19 15:21 fairycao 阅读(362) 评论(1) 推荐(0)
  2010年11月11日
摘要: Xcode does not add NS_BLOCK_ASSERTIONS for release mode automatically.To add it, go to Project | Edit Project Settings. You need to be on the Build tab and choose Configuration Release. Add a new Pr... 阅读全文
posted @ 2010-11-11 16:02 fairycao 阅读(835) 评论(0) 推荐(0)
  2010年8月27日
摘要: build+archive--->share application-->保存为.ipa文件 然后双击安装 在itune同步即可(记得选择device 和ad-hoc, 且最后把ad-hoc认证文件和ipa包一起托到itune上)发布distribution 版本 直接build生成破解包:1. 在 Xcode 工程文件中, 点击 .bulid -> Release-iphoneos -> 找到要发布的应用 2. 通过 BBEdit 打开 该应用中的 info.plist (假设你已经安装了 BBEdit) 3. 在 </dict> 之前 添加 : < 阅读全文
posted @ 2010-08-27 10:52 fairycao 阅读(711) 评论(0) 推荐(0)
  2010年8月20日
摘要: http://www.lashou.com/index.phptuan.qq.com http://www.tuan800.com/shenzhen 阅读全文
posted @ 2010-08-20 11:57 fairycao 阅读(254) 评论(1) 推荐(0)
  2010年8月13日
摘要: command+control+T本地批量修改变量名command+shift+D 快速查找command+shift+3 全屏截图command+shift+4 选择截图 option+control+1 最近打开的文件 option+control+2 该文件结构接口command+| 添加/删除断点command+alt+| disable断点 ⌘⇧E 关闭/打开右边... 阅读全文
posted @ 2010-08-13 09:40 fairycao 阅读(272) 评论(0) 推荐(0)
  2010年7月15日
摘要: 最近在官方网上下载了win 7的英文版,安装后,输入序列号,就是正版的了,但是想转化为中文版的,因此在网上搜了一个软件vistalizator 汉化后,安装一些软件如360浏览器 招商银行专业版都会出现乱码,后来才知道是显示编码的问题,因此 control panel > region and language tab "administrative" there is a setting ... 阅读全文
posted @ 2010-07-15 14:28 fairycao 阅读(863) 评论(0) 推荐(0)
  2010年5月27日
摘要: 请教一下哦 大家有没有遇过 在tableview 里创建uilabel 然后uilabel的值 要多次修改的 我是这样做的在(void)viewWillAppear:(BOOL)animated 调用[self.tableView reloadData]; 然后在cellForRowAtIndexPath:里if (cell == nil){// a new cell needs to be c... 阅读全文
posted @ 2010-05-27 17:36 fairycao 阅读(773) 评论(0) 推荐(0)