Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Loaded the controller nib but the view outlet was not set." [closed]

I can't figure what's wrong : I'm trying to get to another view with a button's UIAction.

My view controller contains a UIScrollView IBOutlet. I created a .xib file for this view controller.

In this .xib I customized the class as my SettingsController class.

But now, with this configuration (I have scrollView, searchDisplayController and view as my outlets) I don't know how I must connect this to get it work. Please help !

Thanks a lot for your advices

like image 328
Rob Avatar asked May 25 '12 07:05

Rob


1 Answers

As i can see from you post, you have not connected some properties with objects in you nib file.

Open you second .xib in Interface Builder. Check if UIView is connected to your File's owner. If not, just drag with right mouse button (or cmd+left mouse button) from File's owner to UIView and connect to view property. (May be you should drag in another direction, from UIView to File's owner, i cannot remember now)

like image 172
Victor Rudkov Avatar answered Sep 28 '22 14:09

Victor Rudkov