07 2012 档案

摘要:UITableView的强大更多程度上来自于可以任意自定义UITableViewCell单元格。通常,UITableView中的Cell是动态的,在使用过程中,会创建一个Cell池,根据每个cell的高度(即tableView:heightForRowAtIndexPath:返回值),以及屏幕高度计算屏幕中可显示几个cell。而进行自定义TableViewCell无非是采用代码实现或采用IB编辑nib文件来实现两种方式,本文主要收集代码的方式实现各种cell自定义。如何动态调整Cell高度- (UITableViewCell *)tableView:(UITableView *)tableVi 阅读全文
posted @ 2012-07-13 10:35 暗夜精灵nightelf 阅读(342) 评论(1) 推荐(1) 编辑
摘要:根据实践操作经验,提供.ipa的生成和安装方法:方法1:a. 新建Payload资料夹b. 将编译生成.app放入Payload中c. 右键生成压缩档,将.zip后缀名改为.ipad. 连接jailbreak的iPod或iPhone,双击.ipa文件,同步即可安装成功方法2:1)建立 IPA 資料夾2)在 IPA 資料夾內建立 Payload 資料夾3)把編譯好的 .app 拷到 Payload 內4)利用 BBEdit 打開 .app 資料夾內的 info.plist 檔5)在 </dict> 之前加入以下句子並儲存:<key>SignerIdentity</k 阅读全文
posted @ 2012-07-04 09:01 暗夜精灵nightelf 阅读(3872) 评论(0) 推荐(0) 编辑
摘要:Installing Apps WirelesslyiOS 4 supports over-the-air installation of enterprise applications, allowing you to distribute in-house software to your users without having to use iTunes or iPhone Configuration Utility.Requirements A secure web server accessible by authenticated users In-house iOS... 阅读全文
posted @ 2012-07-04 08:58 暗夜精灵nightelf 阅读(1028) 评论(0) 推荐(1) 编辑
摘要:对UIPopoverController的使用(2011-06-2018:07:21)效果如下:实现如下:首先加入委托:UIPopoverControllerDelegate先创建一个popover和实例化tableview的类(该类的xib文件中,view中就放了一个tablview):UIPopoverController*popover;popTableViewController*popoverContent;在CustomerDetailVC.m放入:#import"CustomerDetailVC.h"#import"popTableViewContr 阅读全文
posted @ 2012-07-02 07:31 暗夜精灵nightelf 阅读(580) 评论(0) 推荐(0) 编辑
摘要:Finder---位置----apple(mac)---application support---iphone sinulator---4.3---Applications--模拟器--下面分为***.app Documents Library tmp1,app root 可以用 NSHomeDirectory() 访问到;2,Documents 目录就是我们可以用来写入并保存文件得地方获取方式:NSArray *paths=NSSearchPathForDirectoriesInDomains(NSDocumentDirectory,NSUserDomainMask,YES);获取docu 阅读全文
posted @ 2012-07-01 17:28 暗夜精灵nightelf 阅读(392) 评论(0) 推荐(0) 编辑