2012年5月24日
摘要: UISearchBar是无法修改其 textField的大小的 http://stackoverflow.com/questions/556814/changing-the-size-of-the-uisearchbar-textfield The text field used in UISearchBar is a subclass of UITextField called UISearc... 阅读全文
posted @ 2012-05-24 18:42 easonoutlook 阅读(546) 评论(0) 推荐(0) 编辑
  2012年5月23日
摘要: http://cnbeta.com/articles/188721.htm 集成开发环境(IDE)可以给程序员提供很大的帮助。大多数的IDE包含编译器和解释器。例如微软的 Visual Studio 本身内置的编译器和解释就是很好的例子,Eclipse 是另一个很好的例子。鼓励程序员使用IDE的主要原因是开发软件应用程序的各个组成部分之间可方便的进行切换。 一般一个特定的IDE是负责处理一种编... 阅读全文
posted @ 2012-05-23 19:25 easonoutlook 阅读(200) 评论(0) 推荐(0) 编辑
摘要: http://blog.sina.com.cn/s/blog_677089db0100us05.html http://hi.baidu.com/popln/blog/item/a8f3921e2944701f304e15c3.html // Implement viewDidLoad to do additional setup after loading the view, typical... 阅读全文
posted @ 2012-05-23 17:51 easonoutlook 阅读(431) 评论(0) 推荐(0) 编辑
  2012年5月21日
摘要: rm -rf three20 http://www.flutterstudio.com/internet/2610.html rm 删除命令。即remove的缩写,它后面有两个参数。-r 删除文件夹内的子文件夹及内容,一般情况下rm只能删 除文件或者空的文件夹。-f 强制删除参数如果需要了解rm命令的更多参数。请输入:man rm 阅读全文
posted @ 2012-05-21 23:46 easonoutlook 阅读(576) 评论(0) 推荐(0) 编辑
  2012年5月14日
摘要: http://blog.csdn.net/x1135768777/article/details/7505903 MPMoviePlayerController 与AVAudioPlayer有点类似,前者播放视频,后者播放音频,不过也有很大不同,MPMoviePlayerController 可以直接通过远程URL初始化,而AVAudioPlayer则不可以。不过大体上用起来感觉差不多。 在这... 阅读全文
posted @ 2012-05-14 19:12 easonoutlook 阅读(261) 评论(0) 推荐(0) 编辑
摘要: sudo vi /etc/hosts 然后提示输入系统密码 hosts文件就自动打开了 接着输入 i 进入编辑模式 将添加的网站,ip拷贝进去 编辑完成之后,按esc,输入 : wq 这样就更改完成了. w! 或者 wq! 进行强制写入然后退出 http://www.douban.com/group/topic/7726277/ 阅读全文
posted @ 2012-05-14 14:28 easonoutlook 阅读(191) 评论(0) 推荐(0) 编辑
  2012年5月11日
摘要: self.tableView.rowHeight = kThumbnailRowHeight; self.tableView.separatorStyle = UITableViewCellSeparatorStyleNone; 阅读全文
posted @ 2012-05-11 15:13 easonoutlook 阅读(124) 评论(0) 推荐(0) 编辑
  2012年5月10日
摘要: scrollView 的ContentSize一定要比 它的frame大,否则无法响应滑动的事件 http://www.iphonedevsdk.com/forum/iphone-sdk-development/102099-uiscrollview-tabbar-application.html Let's say you put a scroll view on the screen,... 阅读全文
posted @ 2012-05-10 15:32 easonoutlook 阅读(218) 评论(0) 推荐(0) 编辑
  2012年5月9日
摘要: [[UIApplication sharedApplication] openURL:[NSURL URLWithString:@"http://www.google.com/"]]; 记住前面的http:// 以及后面的 / 否则无法调用打开,很郁闷 阅读全文
posted @ 2012-05-09 17:07 easonoutlook 阅读(410) 评论(0) 推荐(0) 编辑
摘要: http://stackoverflow.com/questions/1553118/adding-image-to-navigation-bar loadView里面 无法添加,只能在 viewWillAppear里面进行添加 阅读全文
posted @ 2012-05-09 15:55 easonoutlook 阅读(331) 评论(0) 推荐(0) 编辑