nib2objcはMac OSXで作成したインタフェースファイルをObjective-Cに変換するソフトウェア。 nib2objcはMac OSX用のフリーウェア(ソースコードは公開されている。ライセンスはTHE BEER-WARE LICENSE)。iPhoneは年々進化しているが、それでもデスクトップなどに比べると速度は遅い。多少もたつく時もあるため、ストレスに感じることもあるかも知れない。より高いパフォーマンスを求めだすと、徐々に標準のやり方から脱線していく。 Interface Builderを使えばiPhone向けの画面をグラフィカルに設計ができる。だがよりパフォーマンスを求めたり、プログラムから動的にインタフェースを変更したいといったニーズがある時にはnib2objcを使って変換してみよう。 元ファイル nib2objcはXIBファイルを引数にし、Objective-Cのコード
概要 Objective-Cは、Smalltalkを基礎とした非常に動的な言語で、コンパイラはオブジェクト自体について多くの情報を実行時まで決定しない (動的バインディング) 可能な限り多くの決定が、コンパイル時とリンク時ではなく実行時に行われる Objective-CはC言語を拡張したものなので、CocoaのC言語の関数とかも混ぜて使う。 オブジェクト指向プログラミングをサポートするために、(Smalltalkから派生した)構文とセマンティクスにかかわるいくつかの機能が拡張されている ↑ Cocoa OPENSTEPを基に開発されているMac OS X向けのフレームワーク(API) Objective-Cはコンパイル時ではなく実行時に決定できる事項が多い。これこそが、同じく動的な特性をフルに活用している、Cocoaフレームワークとベストマッチとなる ↑
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く