原创 iPad app應用開發系列文章之三 -- iOS的多核編程和內存管理

 隔上一次寫iPad app開發文章已經是10個月,那篇iPad app開發概述還不錯,曾經成爲了google關鍵字“iPad app 開發”搜索的第一位,可能是大牛們都太忙於賺app store的錢了,留下我這個小蝦來寫文章。這次的文章集

原创 Mac下配置svn服務器

  Mac自帶了svn服務端和客戶端,所以只需要簡單配置一下就可以使用。   1、創建svn repository   Shell代碼   svnadmin create /Users/gaohf/svn/repository  

原创 使用NSClassFromString

 NSClassFromString是一個很有用的東西,尤其在進行iPhone toolchain的開發上。 正常來說, id myObj = [[NSClassFromString(@"MySpecialClass") alloc] in

原创 ASIHTTPRequest-其他特性

  設置user agent 這樣設置用戶代理:   1 [ASIHTTPRequest setDefaultUserAgentString:@"MyApp 1.0"] 如果不設置user agent,ASIHTTP

原创 ipad 應用閃一下就關了

 換上你的apple id在app store裏隨便下個軟件應該就能解決了

原创 mac 10.8.1 系統svn

  sudo ln -s /Applications/Xcode.app/Contents/Developer/usr/bin/svn /usr/bin/svn sudo ln -s /Applications/Xcode.app/Con

原创 xcode5 provisioning profile path

xcode5 provisioning profile path: ~/Library/MobileDevice/Provisioning Profiles

原创 xcode4的NSLog中文亂碼問題

 http://blog.cnrainbird.com/index.php/2012/03/25/xcode4_de_nslog_zhong_wen_luan_ma_wen_ti/

原创 "std::ios_base::Init::~Init()", referenced from:

Undefined symbols for architecture armv6:"std::ios_base::Init::~Init()", referenced from:  ___tcf_0 in libmyCppLib_dev.a

原创 ASIHTTPRequestErrorDomain Code=8. Cannot move file from temp directory to docs

  Something that often catches people out is that you have to create the directory that you're downloading into yoursel

原创 UIView 的 autoresizingMask 屬性 詳解。

 在 UIView 中有一個autoresizingMask的屬性,它對應的是一個枚舉的值(如下),屬性的意思就是自動調整子控件與父控件中間的位置,寬高。 enum {    UIViewAutoresizingNone         

原创 怎樣刪除macbook 的管理員密碼

  怎樣刪除macbook 的管理員密碼   如果沒有系統安裝盤,可以採用下面的幾種方法:首先,啓動機器,啓動時按住Apple和S鍵,以單用戶模式(single user mode)進入系統。輸入:mount -uv / 然後回車。接下來

原创 "_OBJC_CLASS_$_CALayer", referenced from:

 Make sure you also add the QuartzCore framework to your target. Just importing the header isn't enough.

原创 在真機運行程序的時候提示“Could not launch 'app name'”

 在真機運行程序的時候提示“Could not launch 'app name'”,No such file or directory (/Users/apple/Library/Developer/Xcode/DerivedData/m

原创 設置SVN,Git忽略MAC的.DS_Store文件的方法

  設置SVN,Git忽略MAC的.DS_Store文件的方法 I. 顯示Mac隱藏文件的命令: defaults write com.apple.finder AppleShowAllFiles -bool true 隱藏顯示Mac隱