Saturday, February 05, 2011

loaded the "xxxx" nib but the view outlet was not set

I was tired at night and was getting the error:

loaded the "xxxx" nib but the view outlet was not set

It was simply because I forgot to connect the View. To solve it:

1. Open the nib in "Interface Builder"

2. Right click on "File's Owner"

3. Connect the 'view' outlet to the respective view.

4. Important -> Save the interface.

It should work now :)

1 comment: