摘要:
記錄一下在Objective-C由NSString轉換為NSDate或NSDate轉換為NSString的方法。很簡單,使用NSDateFormatter就可以令NSString和NSDate互相轉換。由NSDate轉換為NSString:NSDateFormatter *dateFormatter = [[NSDateFormatter alloc] init];[dateFormatter setTimeZone:[NSTimeZonetimeZoneWithName:@"GMT"]]; //设置时区[dateFormatter setDateFormat:@" 阅读全文
摘要:
[转]http://blog.csdn.net/ysy441088327/article/details/7432151摘要:记录一些网上非常牛的人写的博文.收藏起来. 以备日后需要时学习备用.1:iOS中UIWebView的Javascript与Objective-C通信http://imchao.net/2012/03/18/uiwebview-javascript-communicate-with-cocoa-in-ios/2:UIView 你知道多少?http://www.cnblogs.com/likwo/archive/2011/06/18/2084192.html3:UIWebV 阅读全文
摘要:
1.安装http://stackoverflow.com/questions/16459028/rvm-install-error-running-requirements-osx-port-install-porthttp://www.inferjay.com/blog/2013/05/09/how-to-install-ruby-1-dot-9-3-in-mac-osx/http://www.cnblogs.com/superhappy/archive/2013/04/23/3038493.htmlhttp://www.cnblogs.com/dyingbleed/archive/2013 阅读全文
摘要:
[转自]http://idevchina.com/t/20code4app.com 这网站不错,收集各种 iOS App 开发可以用到的代码示例cocoacontrols.com/ 英文版本的lib收集objclibs.com/ 精品lib的收集网站http://www.ityran.com/forum-61-1.html 泰然代码仓库---------------------- emoji ----------------------http://www.easyapns.com/category/just-for-funhttp://www.emoji-cheat-sheet.com/-- 阅读全文
摘要:
Q:I want to add some views to UIButton, for example multiple UILabels, UIImages etc. One I add those view they do not get the touch events. How can I pass the touch events to UIButton?Thanks--------A:Set the userInteractionEnabled property of each of the subviews you added to your UIButton to NO. 阅读全文
摘要:
When thesearchBar:textDidChange:method of the UISearchBarDelegate gets called because of the user tapping the 'clear' button, the searchBar hasn't become the first responder yet, so we can take advantage of that in order to detect when the user in fact intended to clear the search and no 阅读全文
摘要:
207.97.227.239 github.com 65.74.177.129 www.github.com 207.97.227.252 nodeload.github.com 207.97.227.243 raw.github.com 204.232.175.78 documentcloud.github.com 204.232.175.78 pages.github.com 阅读全文
摘要:
1.git clone --recursive URL 递归下载git上工程 阅读全文