Chapter 12 Error: View Outlet Not Set


Hi All

Can anyone help with this? What have I missed. I have finished the chapter but I could n’t solve this.

2011-11-28 17:23:49.328 Homepwner[6370:b303] *** Terminating app due to uncaught exception ‘NSInternalInconsistencyException’, reason: ‘-[UIViewController _loadViewFromNibNamed:bundle:] loaded the “ItemDetailViewController” nib but the view outlet was not set.’

I think my mistake is around pages 215 to 218 but I can’t see anything specifically on the view outlet.

Thanks in advance



Hi All

I solved this by trying selecting the ItemsDetailViewController, then right clicking View and dragging the link to File’s Owner, then selecting View on the pop-up box. Rebuilt and Ran and all is well with the world again - "it works.’’

Why? Does anyone know where I missed the detail in the book to make this work?

Thanks in advance.