5

When trying to run my iPhone app that I am currently building the build succeeds but the application crashes after the start up image and gives me an error that looks like this:

2011-04-06 20:31:38.562 My App[3438:207] * Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: '-[UIViewController _loadViewFromNibNamed:bundle:] loaded the "GalleryView" nib but the view outlet was not set.'

I cannot figure out whats going on here.. Please help!

yuji
  • 16,695
  • 4
  • 63
  • 64
Dan
  • 61
  • 1
  • 3

1 Answers1

10

In Interface Builder, with the GalleryView.xib file open, make sure you CTRL+drag from your File's owner to your view and set the file's owner view outlet.

Ken Pespisa
  • 21,989
  • 3
  • 55
  • 63