升级IOS5.0之后出现的问题总结如下: 新的SDK发布以后一定要用新sdk 阿,不然你的程序就不支持ios5了。。 1.[self.parentViewController dismissModalViewControllerAnimated:YES]不起作用 据我观察,原因是由于 self.parentViewController  失效 需要修改为: [self dismissModalViewControl”阅读全文”
国际汇款汇款需要的信息主要有以下几项: Beneficiary name. Beneficiary address. Beneficiary Bank Identifier Code (BIC) or Routing Code. Beneficiary International Bank Account Number (IBAN) or Account Number. 其中,name和IBAN大家都是知道的,address并不重要,填自己的地址或者开”阅读全文”
  原文地址:http://www.linuxpig.com/2012/01/ios-treeview-design002/ 在第一节中介绍了创建树的结点方法,本节介绍应用UITableView来展示 treeview 。主要需要解决的问题是如何在 UITabeView 中展示合理的缩进。 1)结点计数 2)没有展开的结点的子结点隐藏 3)确定每一个结点的缩进”阅读全文”
,
  原文地址:http://www.linuxpig.com/2012/01/ios-treeview-design001/ Apple 没有提供默认的 treeview 类,本文介绍一种自己创建的方法。 最终效果是这样的: Root >Node1 >Node1a >Node1a1 >Node1b >Node1b1 >Node1b2 >Node1b3 &g”阅读全文”
, ,
学习过程当中查找到的资料,做一个记录,以便更多朋友查看。 开发的过程有时候是简单的,因为我们可以站在巨人的肩上,跳得更高,走得更远。 如何用Facebook graphic api上传视频: http://developers.facebook.com/blog/post/532/ Keychain保存数据封装: https://github.co”阅读全文”
, ,
iphone加粗字体     正常情况是:Helvetica,Arial 加粗效果有:"Helvetica-Bold", "TimesNewRomanPS-BoldMT", "Arial-BoldMT", "CourierNewPS-BoldMT", "Georgia-Bold" eg:   UILabel.font = [UIFont fontWithName:@"Arial-BoldMT" size:14]; 
, ,
button字体竖排显示 UIButton *button=[[UIButton alloc] initWithFrame:CGRectMake(0, 0, 30, 200)]; button.titleLabel.font=[UIFont fontWithName:@"Helvetica" size:24]; [button setTitle:@"TEST" forState:UIControlStateNormal]; [button setTitleColor:[UIColor blackColor] forState:UICo”阅读全文”
, ,
<?php $pattenURL = '@http:\/\/[\w|\/|\.]+@'; $resultURL = array(); $visitedURL = array(); function getData($startURL,$level){         global $pattenURL;         global $resultURL;         global $visitedURL;         //if the url is a image, don`t get the cont”阅读全文”
,
调试cocoa程序在程序出错时,不会马上停止。使用宏NSAssert可以让程序出错时马上抛出异常。 在debug情况下,所有NSAssert都会被执行。在release下不希望NSAssert被执行,我们通常在release种将断言设置成禁用。 设置方法:在targets种选择build,选择release。在gcc preprocessing下增加Preprocessor”阅读全文”
, , ,
  Some of these are completely internal, some rely on free (or "freemium") third party services, some rely on fee-based third party services. Some provide UI enhancements and some are transparent to the end user. Name Releases Description Usage (Aug 1st) ”阅读全文”
关于建立索引的几个准则: 1、合理的建立索引能够加速数据读取效率,不合理的建立索引反而会拖慢数据库的响应速度。 2、索引越多,更新数据的速度越慢。 3、尽量在采用MyIsam作为引擎的时候使用索引(因为MySQL以BTree存储索引),而不是InnoDB。但MyISAM不支持Transcation。 4、当你的程”阅读全文”
过滤内容比较全面的 php xss 过滤函数 function sacarXss($val){     $val = preg_replace('/([\x00-\x08][\x0b-\x0c][\x0e-\x20])/', '', $val);     $search = 'abcdefghijklmnopqrstuvwxyz';     $search .= 'AB”阅读全文”
,