Objective-C有3個動態特性 1,動態類型Dynamic typing—determining the class of an object at runtime運行時決定物件類型 2,動態綁定Dynamic binding—determining the method to invoke at runtime運行時決定方法調用 3,動態載入Dynamic loading—adding new modules
昨天下午,同事用xcode4.2向appStore提交應用程式時,提示如下的錯誤:iPhone/iPod Touch: application executable is missing a required architecture. At least one of the following architecture(s) must be present: armv6如下:產生這個錯誤,很是疑惑,嘗試了幾個辦法,都失敗了,無奈之下,只好求助偉大的stackoverflow。解決辦法翻譯如下:
Now here is the question: How much memory does the iPhone have? How much memory is OK for applications to use? Curious as I am I did some research and wrote a little test project. This got me some odd results.According to what you find on the net
注意事項顯示在本指南中的隱藏細節這個風格指南包含很多最初不可見的細節。它們被標記為三角形表徵圖,你可以在左邊看到。現在點擊它,你應該會看到“萬歲”出現在下面。背景Objective-C是一種很動態、物件導向的C語言擴充。它被設計成易用易讀,同時支援複雜的物件導向設計。它是Mac OS X和iPhone上開發新應用的主要開發語言Cocoa是在Mac OS X平台上的一個主要的應用程式框架。這是一個提供給全功能Mac OS X應用程式的快速開發的Objective-C類集合。
今天調試IOS代碼,一直提示“has no segue with identifier” 的錯誤。更加詭異的是,在模擬器上調試一切正常,在真機上調試才會出這個錯誤。開發IOS相當一段時間,對於storyboard中segue的操作、頁面的跳轉估計已經做過上百次,所以不覺得自己會漏寫identify或者對destination view和resource