大秘宝発見!iPhone SDKのサンプル

skitched-20080813-100750.png

この一週間の勉強+様々な試行錯誤で、ようやく「俺、入門してきたかなぁ」と思い始めた。だけと、問題調査にかかった時間より、進捗はちょっとかわいそうに見える。開発予定のアプリのブループリントはすでにできたが、その通りにプログラムを作れるまで、調査すべき内容はまだいっぱいのようだ。

英語は読めるだけと、まだ更新中のSDKのドキュメントはちょっと読みづらかった。SDKに付いているソースと内容の説明をもう一度チェックしてみたら、ほら、探しているほぼすべての答えはここにある!

ゲームを作る予定はまだないから、いくつ自分に必要なサンプルをピックアップ。

  • TableViewSuite
    UITableViewのCellをカスタマイズする例です(Shows how to use UITableView through a progression of increasingly advanced applications.)
  • EditableDetailView
    UITableViewをベースに内容の修正、 保存まで(EditableDetailView shows how to use UITableView’s APIs for inserting and deleting rows, editable content within table cells, and use of a UITableView to select an option from a predefined list.)
  • SeismicXML
    XMLの解析(Demonstrates how to use NSXMLParser to parse XML documents.)
  • PageControl
    UIScrollViewの改ページ機能(This application demonstrates use of UIScrollView’s paging functionality.)
  • TableSearch
    UITableViewとUISearchBarの連動(Demonstrates how to search the contents of a UITableView using UISearchBar, effectively filtering in and out the contents of that table.)
  • ViewTransitions
    動画つきのViewの切り替え(Demonstrates how to perform transitions between two views using built-in Core Animation transitions.)

要するに、iPhoneのアプリを作りたかったら、まずSDKのサンプルを読むだ!

  • トラックバック 停止中
  • コメント (0)
  1. コメントはまだありません。