2012年10月10日水曜日

Main Nib Fileの意味

application’s Info.plist内に記載されている、
key:Main nib file base name
value:MainMenu
にて設定されるMainMenu.xibはアプリケーションのローンチ時にロードされるxibファイルとなる。

Interface builderで見ると、プレースホルダー(nibファイル内にないが、実態はファイル外に存在するとの意味)と、nib内のオブジェクトがある

プレースホルダにはThe File’s Owner proxy object、The First Responder proxy object、A representation of the singleton instance of NSApplication(Aの形をしたアイコン)がある。

nib内のオブジェクトには[A menu]、[A window]、[An instance of AppDelegate]、[An instance of NSFontManager]などがある。

0 件のコメント:

コメントを投稿