2011-07-01から1ヶ月間の記事一覧

買って間違い無し。Macの鉄板ソフト。

Coda (開発用) http://www.panic.com/jp/coda/ Subversionにも対応しています。 Transmit (データ転送用 FTP/SFTP) http://www.panic.com/jp/transmit/ 速度抜群。FTP,SFTPでだいたい何でも転送できます。 Xcode4 (Apple製品開発用) http://developer.apple.…

NSURL, NSURLRequest, NSURLConnectionの基本

- (void)main { NSURL * url = [[NSURL alloc] initWithString:@"http://www.yahoo.co.jp"]; NSURLRequest * req = [[NSURLRequest alloc] initWithURL:url]; NSURLConnection * conn = [[NSURLConnection alloc] initWithRequest:req delegate:self]; if(co…

UIApplicationのプロパティ

UIApplicationのプロパティ一覧 // ステータスバーを隠す [UIApplication sharedApplication].statusBarHidden = YES; // スリープ・アイドルしないようにする [UIApplication sharedApplication].idleTimerDisabled = YES; // アプリケーションのバッジ数字…

シンセプリセット:中田ヤスタカプリセット Capsule Eternity

DTM

私と同じ金沢出身の中田ヤスタカはデジタルシンセで有名なNative Instrumentsのプリセットを多用していることがよく知られている。NIのMassiveやPro-53のプリセットをよく耳にしたりする。音色一つ一つを作っていってこそ面白いという時代ではないのは明らか…

UIImageにURLからイメージを読み込ませる

NSURLからNSDataにデータを入れてそのままUIImageに投げればいいだけです。 簡単ですが忘れがち。非同期にするにはちょっと工夫がいりますね。ここでは実装してません。 UIImageView * imageView = [[UIImageView alloc]init]; NSURL *url = [NSURL URLWithS…

touchesBeganなどUIResponderのメソッドをdelegateする

- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event; - (void)touchesMoved: (NSSet *)touches withEvent:(UIEvent *)event; - (void)touchesEnded: (NSSet *)touches withEvent:(UIEvent *)event; - (void)touchesCancelled:(NSSet *)touch…

NSTimerとuserInfoの使い方。

よく使うのにたまに忘れがちなのでNSTimerの使い方かきました。userInfoの使い方とか参考になれば。 http://developer.apple.com/library/mac/#documentation/Cocoa/Reference/Foundation/Classes/NSTimer_Class/Reference/NSTimer.html#//apple_ref/doc/uid…