2012-11-03から1日間の記事一覧

ARC forbids explicit message send of 'hoge'

明示的にretainCountを使おうとしたら怒られた。http://verba8888.wordpress.com/2011/11/03/arc-forbids-explicit-message-send-of-autorelease/Build SettingsからAllタブに移って Objective-C Automatic Reference Co... を YES から NO に変更する。

Objective-C2.0の特徴

Objective-C2.0コーディング http://data.main-loop.com/iphone_docs/chapter01.pdf

Objective-CのFoundationフレームワークとか

色々と歴史的な経緯があるようです。 http://news.mynavi.jp/column/objc/033/index.html・MacOS8の実装がクソだった(Pascal文字列を使用、メモリ保護なし、マルチタスク非対応) ・OS9にはOS8のコードを動かすためのCarbonフレームワークを作った ・OSXで…

Objective-Cのretainとassign

プロパティの属性。 retain、assign、copyの3種類があり、 ガベージコレクションが無効の状態では必ず指定が必要。 指定していない場合はウォーニングが出てassignが自動的に選択される。ダイナミックObjective-Cを参照。

Objective-Cのデリゲートとは

前にやったけど完全に忘れたので復習する。http://www.lifeaether.com/overtaker/blog/?page_id=1554

Objective-C勉強室

Objective-C勉強室 http://www.asahi-net.or.jp/~yy8a-imi/20040913/ipad/objectivec.htmが参考になりそう。

UIAlertViewを使ってみる

Objective-C未知すぎて面白い。Empty projectを作成。 とりあえずapplicationメソッドの中に以下を埋め込んでみた。 UIAlertView *alert = [[UIAlertView alloc]init]; alert.title = @"完了確認"; alert.message = @"設定しました"; [alert addButtonWithTi…

iOSプログラミングのキーワード

http://ameblo.jp/kitanoow/entry-11394074605.html という記事によると以下の10個が挙げられている。 1.UIAlertView 2.UIActionSheet 3. presentViewController / dismissViewControllerAnimated 4.pushViewController / popViewController 5.UIImagePicker…