Posts

Showing posts with the label iOS develop

Swift 開啟網頁

Swift 開啟網頁,可以看看下面這幾行 var   urlString =  " http:/ /5945.tw" var   url =  NSURL (string: urlString) UIApplication .sharedApplication().openURL(url!)

uiwebview exc_bad_access

Image
iOS UIWebView crash in “WebThread” if loading Office documents (docx, xls), looks like issue in iOS5 wait for apple solve in iOS6 but if want to learn how to debug bad address please read this How to debug EXC_BAD_ACCESS Other related discuss UIWebView crashing only on second load EXC_BAD_ACCESS in UIWebView

iOS Objective-C Block 初心者

官方文件 Getting Started with Blocks Using Blocks 探討Objective-C Block (part 1) - block的使用 探討Objective-C Block (part 2) - block變數 探討Objective-C Block (part 3) - block的記憶體管理 iOS blocks - 三個會造成retain cycle的anti patterns

iOS exception - Collection was mutated while being enumerated

iOS exception - Collection was mutated while being enumerated some related discuss issue sample1 Before you loop over the array, you can create a new array with the elements. So when the original looped array is mutated (either by you, or by its owner) the array you loop over stays intact. issue sample2 The error occurs because you are adding new objects to termsArray within the for loop Create a new empty array (e.g.newTermsArray) In the first loop create and add these new items to newTermsArray Then you will need a second loop to add the items from newTermsArray back into the original termsArray other solution  @synchronized ( yourobject )     {     //do something with your object     } and for how to analyze Call Stack Symbols, you need to know iOS crash report  

iOS URL decode 及 encode

在開發過android 現在改開發iOS,在文件上,真的iOS做得比android好很多。像是  About iOS App Programming 。 而關於iOS URL decode 及 encode的討論。其中什么是url encode参见 http://www.stringfunction.com/url-decode.html 官方文件 NSURL Class Reference NSString Class Reference Understanding characters A string object presents itself as an array of Unicode characters (Unicode is a registered trademark of Unicode, Inc.). You can determine how many characters a string object contains with the  length  method and can retrieve a specific character with the  characterAtIndex:  method. These two “primitive” methods provide basic access to a string object. Most use of strings, however, is at a higher level, with the strings being treated as single entities: You compare strings against one another, search them for substrings, combine them into new strings, and so on. If you need to access string objects character by character, you must understand the Unicode character encoding, specifically issues related to composed charac...

iOS開發 名詞解釋

針對iOS開發也該來開一篇名詞解釋做做記錄。 Mac developer website  https://developer.apple.com/library/mac/navigation/ iPad iPhone iOS message Objective-C (學習資源整理 http://yehnan.blogspot.tw/2012/03/objective-cios.html ) receiver Declare in @interface Define in @implementation - (Void) setNumber:  (int) n; method type     ( - 實體方法  + 類別方法) return type method name method takes argument argument type argument name @property ( nonatomic ) NSManagedObject vs NSObject NSManagedObject #import <CoreData/CoreData.h> 在Mac上使用git ? http://blog.mugunthkumar.com/articles/tutorial-setting-up-git-on-your-mac/ Apple Version Control https://developer.apple.com/library/ios/#documentation/ToolsLanguages/Conceptual/Xcode4UserGuide/SCM/SCM.html

iOS 新手上路

要開始學iOS,需要把之前Android那一整套,好好的在iOS練習一下。 重點應該是Objective-C [iOS & Objective-C] 無痛入門篇 :01. 類別、物件、方法與訊息傳遞 - 基礎概論 Objective-C 與iOS5 教學文件 收集 ... 不簡單阿 還有學會Xcode Xcode 常用技巧與按鍵 整理了一些 iOS 5 電子書收集 ,還需要多多加強有關多媒體的知識 ex.  關於Audio開發需要了解的事情 ,要開始新生活了阿。

關於Audio開發需要了解的事情

關於Audio開發需要了解的事情 Data Formats (or Audio Encoding) File Formats (or Audio Containers) Bit Rates Sample Rates 本來想要找一下Android跟iOS的 Audio開發相關文章做比較,才發現Android 跟iOS跟官方教學網站真是不能比。 Android Android Supported Media Formats Multimedia and Camera : Media Playback Multimedia and Camera : Audio Capture iOS Audio & Video Starting Point Multimedia Programming Guide - Using Audio 2010 Audio 101 for iPhone Developers: File and Data Formats 2010 Sound on iOS: Best Practices

iOS 5 電子書收集

iOS 5 電子書收集 iOS 5 Recipes iOS 5 programming cookbook 個人推薦這篇 學習資源整理 http://yehnan.blogspot.tw/2012/03/objective-cios.html 看完會比較知道有哪些可用的資源。 加油!

Objective-C 與iOS5 教學文件 收集 ... 不簡單阿

Image
Objective-C 教學文件 收集 2011 Become an Xcoder 正體中文版  Learn Objective-C  http://cocoadevcentral.com/d/learn_objectivec/  Steve Kochan 著作  Programming in Objective-C .   繁體中文版 當然目前最經典的是史丹佛大學 iOS5 開發教學課程 for iPhone, iPad Apps ( CS193P ) , CS193P是Stanford與Apple合作提供iPhone開發課程,全系列的課程影片、講義均在網路上以CC授權開放網友使用。 老師還很認真的說要先會 Object-Oriented Programming CS106A 及  CS106B required 而 CS107 recommended 超級認真 Inside部落格在2010年春季的時候曾經刊載了一系列的心得筆記,在這篇文章中做一個簡短的回顧,讓首次接觸的讀者能夠獲得一個整體的全貌。 http://www.inside.com.tw/2010/04/06/cs193p-review 課程綱要 以下是CS193P的課程綱要,以及Inside上筆記的連結: 第一堂: iPhone開發平台概論 第二堂: Objective-C以及Foundation framework 第三堂: 自訂類別、記憶體管理以及Property 第四堂: iPhone程式週期及MVC架構 第五堂: View以及其繪圖、動畫效果 第六堂: iPhone中的MVC原理以及ViewController 第七堂: NavigationController以及TabBarController 第八堂: TableView以及ScrollView 第九堂: 本機、遠端的資料存取 第十堂: 效能優化及多執行緒 第十一堂: Modal View以及軟體鍵盤 第十二堂: WebView、Map Kit和Core Location 第十三堂: Core Foundation及AddressBook 第十四堂: 多點觸控事件處理 第十五堂: iPhone上的硬體元件操作 第十六堂: 多媒體以及設定面板 第十七堂: 網路服務以...

搜尋

Agoda

熱門文章

[社會觀察] 一生順遂與命途乖舛

新鮮人找工作:職場名詞解釋 AE FAE Pre-sales Post-sales

日本旅行 去東京可以在哪邊買羽球相關用品?WEMBLEY/WINDSOR/梭家/Victoria/Alpen TOKYO/

中華民國2024 總統、副總統選舉公告發布 連署參選門檻28萬9667人 可以推薦候選人的政黨包括民進黨、國民黨、民眾黨和時力

什麼是 OTA ?

[FAANG面試] 如何準備Google Technical Program Manager (TPM) 面試

[HMD Global] Nokia 2020 新手機發布 首款 5G 手機 Nokia 8.3 預計夏季開賣 !

關於中國:202X年

[表特][Passion Sisters] 中信兄弟PS女孩 浮誇甜心 凱蒂 炸裂全場~ 小許瑋甯

[音樂] 霖霖 新單曲:給你了