タグ

サンプルに関するssetanのブックマーク (2)

  • iPhone Programming Tutorials

    I was recently working on an internal project for Burnside Digital, and decided it was time to do some memory profiling to make sure that I didn’t have any leaks. I ran the program with the ‘Leaks’ tool of instruments, and as I was watching the Live Bytes column, I saw the number of Bytes being used, slowly but surely increasing as time went on. Instruments wasn’t detecting any leaks, so I knew th

  • iOS 4の新機能13選&AssetsLibraryで作る画像ビューア

    「AssetsLibrary」で画像ライブラリを自由自在に iOS 4で追加された「AssetsLibraryフレームワーク」を使ってフォトライブリから写真を読み込み、付加情報を付けて保存をする方法について解説します。連載第5回の「Core Graphicsで作るiPad向けお絵かきアプリの基礎」で作成したお絵かきアプリに対して、これらの機能を追加していきましょう。 AssetsLibraryフレームワークでできること 第5回記事では、「UIImageWriteToSavedPhotosAlbum」関数を用いてアプリ内からフォトアルバムへ写真を追加する方法を解説しました。ここまではiOS 4以前でも可能でしたが、新しく追加されたAssetsLibraryフレームワークを使用すると、以下のことが可能になります。 AssetsLibraryフレームワークのインポート それでは、お絵かきアプリの

    iOS 4の新機能13選&AssetsLibraryで作る画像ビューア
  • 1