系统提示 您访问的页面未找到, 5秒后自动跳转到首页
iOS4からマルチタスクが導入されたことにより、アプリ終了時に呼ばれるデリゲートメソッドが変更されました。 保存処理などをそこで行っていたアプリは変更する必要があります。 これまではアプリ起動中にホームボタンをクリックすれば原則的にはアプリは終了していましたが、マルチタスクの導入によりホームボタンをクリックしただけではアプリは閉じるだけで終了はせず、一部機能を除き休止状態となります。 実際にアプリを終了させるためには、ホームボタンをダブルクリックしてタスク一覧からアプリを長押し削除します。 このようにマルチタスクの導入によりアプリの終了に関する操作が以前とは異なっているように、内部の処理も変更しています。 iPhone SDK 3 ではアプリ終了時(ホームボタンクリック)にUIApplicationDelegateの // - (void)applicationWillTerminat
ActionScriptのTipsやFlashで制作されているサイトの紹介など、やってみた系、試してみた系など、多くのFlashに関することを紹介していくサイトというわけでiPhoneアプリ制作エントリー2つ目です。 覚えることがいっぱいあって時間がいくらあっても足りないくらいですね。 さて、今回はWeb上のXMLを用いて各種データを読み込み、表示したいと思います。 超初心者あくせる・わーくのiPhoneアプリ開発メモ集第2弾です。 よろしい、ならばXMLをパースしよう Web上のXML使うiPhoneアプリにはXMLのパースは必要不可欠です。 みなさんはXMLパースの命令はNSXMLParser、libxml、TouchXML、KissXMLどれを使っていますか? 検証サイトでアレは遅い、こっちはアレより早いとか色々言われてますが、今回はKissXMLを使ってみます。 Kiss
最新版はこちらです。 http://d.hatena.ne.jp/uosoft/20091231/1262186194 前回の目次からエントリーが17個増えてます。 アプリの作り方 HTMLとJavaScriptでiPhoneアプリを簡単に作る方法 Android SDK インストールからHello World実行まで iPhone/iPod touchのSafariやUIWebViewのJavaScriptで使えるタッチイベントのメモ センサー等ハードウェア関連 iPhoneSDKでスリープさせない方法 iPhoneの加速度センサの使い方 iPhoneで緯度経度を取得する簡単な方法 iPhoneのGPSとMapKitを使った地図を連動させる方法 iPhoneSDKで端末IDを取得する方法 ビュー操作関連 iPhoneSDKのUIViewアニメーション iPhoneSDKのiPhoneSD
主にFlashのガベコレで脳が弛緩してる、ゆとりiPhoneプログラマ向けのメモリ管理術。しち面倒なRetainCountの管理を30秒で解決するよ。 1:とりあえず NSMutableDictionary を1個作る。このDictionaryはプロパティとして保持する。 2:alloc / init でインスタンスを作るときは、[[[ClassName alloc]init]autorelease] と必ずオートリリースをつける。 3:[NSString stringWith〜] のように、allocとinitを経ずにインスタンスを作る場合は、自分で勝手にretainをしない。 4:作成したインスタンスは持続的に必要な場合、NSMutableDictionary に突っ込む。 5:必要なくなったインスタンスは、NSMutableDictionary から remove する。 こうすると
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く