iPhone SDK開發範例大全

  • warning: Declaration of views_handler_argument::init(&$view, &$options) should be compatible with views_handler::init(&$view, $options) in /home/xnvgu7/public_html/sites/all/modules/views/handlers/views_handler_argument.inc on line 745.
  • warning: Declaration of views_handler_filter::options_validate(&$form, &$form_state) should be compatible with views_handler::options_validate($form, &$form_state) in /home/xnvgu7/public_html/sites/all/modules/views/handlers/views_handler_filter.inc on line 585.
  • warning: Declaration of views_handler_filter::options_submit(&$form, &$form_state) should be compatible with views_handler::options_submit($form, &$form_state) in /home/xnvgu7/public_html/sites/all/modules/views/handlers/views_handler_filter.inc on line 585.
  • warning: Declaration of views_handler_filter_boolean_operator::value_validate(&$form, &$form_state) should be compatible with views_handler_filter::value_validate($form, &$form_state) in /home/xnvgu7/public_html/sites/all/modules/views/handlers/views_handler_filter_boolean_operator.inc on line 149.
  • warning: Declaration of views_plugin_style_default::options(&$options) should be compatible with views_object::options() in /home/xnvgu7/public_html/sites/all/modules/views/plugins/views_plugin_style_default.inc on line 25.
  • warning: Declaration of views_plugin_row::options_validate($form, &$form_state) should be compatible with views_plugin::options_validate(&$form, &$form_state) in /home/xnvgu7/public_html/sites/all/modules/views/plugins/views_plugin_row.inc on line 135.
  • warning: Declaration of views_plugin_row::options_submit($form, &$form_state) should be compatible with views_plugin::options_submit(&$form, &$form_state) in /home/xnvgu7/public_html/sites/all/modules/views/plugins/views_plugin_row.inc on line 135.

iPhone SDK開發範例大全:2010年05月13i日星期四

iPhone SDK開發範例大全是本中文書,用途為開發iPhone程式,悅知文化2009年五月首版一刷,羅友志譯。本書譯自

"The iPhone Developer's Cook Book / Building Application with the iPhone SDK 1st Edition"

原作者:Erica Sadun

可由erica網站下載其1st Edition上的Sample code。

讀後感:

本書的結構很好,共十一章,使用Xcode來開發iPhone程式的基本技巧都涵蓋了,例如:

  1. 第一章-iPhone SDK:Xcode、Interface Builder
  2. 第二章-視圖界面:UIView、UIWindow
  3. 第三章-視圖控制:UIViewController
  4. 第四章-使用者提醒:UIActionSheet、UIAlertView
  5. 第五、六章-表格:UITableView
  6. 第七章-媒體:Document、UIImage、UIWebView、UIImagePickerController、MPMoviePlayer、MPMoviePlayerController
  7. 第八章-控制界面:UIButton、UIControl、UITextField、UITextView、UISearchBar、UICalloutView、UIPageControl、UITabBar
  8. 第九章-聯絡、定位、狀態:AddressBook.framework、AddressBookUI.framework、ABPerson、CLLocationManager、NSXMLParser、NSScanner、UIDevice、UIAccelerometer
  9. 第十章-線上服務:CFBundleURLTypes、CFBundleURLName、CFBundleURLSchemes、sqlite3_prepare_v2...、SecItemAdd、SecItemUpdate、SecItemCopyMatchin、SecItemDelete、UIApplicationDelegate(Puch Notification)
  10. 第十一章:封面辰示Cover Flow: UICoverFlowLayer

翻譯的文字有些不清楚,有些太簡略,對初學者不利,最好是由erica網站下載其1st Edition上的Sample code,對照著看。在本網站中,我已試圖將Sample code一一拿出來解析,並集結成冊,尚未完成,目標是將erica網站該中1st Edition的每個sample code化為一篇文字,說明該sample code, 以幫助閱讀本書。

基本上,這本書既適合初學者也適於作為日後工具書之用,需注意兩點:

  1. 針對OS2.0。有些在OS3.0已不適用。
  2. 配合erica網站sample code才易懂。