私はIBOutletsとしてApp内に2つのUITextFieldを持っていますが、File's Ownerからこれらに接続しました... Build and Goを実行するとiphoneシミュレータがクラッシュします。 ...と、コンソールでUITextFieldでシンプルなアプリケーションを実行しようとしています - シミュレータがクラッシュしています
2009-08-22 18:11:40.869 Control_Fun[1138:20b] *** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '-[UIViewController _loadViewFromNibNamed:bundle:] loaded the "Control_FunViewController" nib but the view outlet was not set.'
しかし、私は明示的にビューとして定義されているすべてのアウトレット(IBOutlet)を有するわけではない...その次は私を示す...(デバッグ後)...この何かが隠されているのですか?私は、ファイルの所有者をクリックして、UITextFieldsにドラッグコントロールするとき、それは私
1. nameField (declared as IBOutlet property in the header file)
2. numberField (declared as IBOutlet property in the header file)
3. view (where is this coming from?)
に接続するには、グレーのポップアップメニューの3つのオプションを与えるのおかげ