タイムスタンプなどの用途に、
UNIX 時間( UNIX エポック[=1970年1月1日0時0分0秒]からの経過秒数)のミリ秒版
( = UNIX エポックを起点としたシステム時間(システム時刻)をミリ秒で表現した値)
を取得する方法です。
例えば Java では System.currentTimeMillis() といったメソッドでさくっと取得できるのですが、Objective-C ではいくつか注意点があります:
2010-05-28
iPhoneアプリ開発: UNIX時間、エポックからのミリ秒の取得
http://ishidak.blogspot.com/2010/05/iphone-unix.htmliPhoneアプリ開発: UNIX時間、エポックからのミリ秒の取得
2010-05-24
小さなチーム、大きな仕事—37シグナルズ成功の法則
ジェイソン フリード, デイヴィッド・ハイネマイヤー ハンソン / 早川書房 / 売り上げランキング: 1125
おすすめ度の平均: 






posted with amazlet at 2010.07.17
という本の備忘録。
37シグナルズ社の経験をベースに、小さい規模でシンプルに利益をあげていくソフトウェアビジネスについて述べられている。
37シグナルズ社とは:
2010-05-18
iPhoneアプリ開発: CGImageRefを回転する
CGImageRefをアフィン変換で回転させる方法。
ググったらいい感じのコードが見つかったのですが、今作成に関わっているアプリのソースコード(たぶん座標系が普通と違います。90度回転してそう)に単純にコピペしてみたら微妙に上手くいきませんでした。
コピー元:How can I modify this code, which rotates a CGImage, not to crop the image on rotate? - Stack Overflow
とりあえず次のように修正したら、思い通りに動いたのでメモ。
ググったらいい感じのコードが見つかったのですが、今作成に関わっているアプリのソースコード(たぶん座標系が普通と違います。90度回転してそう)に単純にコピペしてみたら微妙に上手くいきませんでした。
コピー元:How can I modify this code, which rotates a CGImage, not to crop the image on rotate? - Stack Overflow
とりあえず次のように修正したら、思い通りに動いたのでメモ。
http://ishidak.blogspot.com/2010/05/iphone-cgimageref.htmliPhoneアプリ開発: CGImageRefを回転する
登録:
投稿 (Atom)