"The test tip was loaded, but the socket was not installed."

I can’t understand what happened: I am trying to switch to another view using the UIAction button.

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

In this .xib, I configured the class as my SettingsController class.

But now, with this configuration (I have scrollView, searchDisplayController and view as my outputs), I don’t know how I should connect this to make it work. Please, help!

Thanks so much for your advice.

+5
source share
3 answers

As I can see from your post, you did not associate some properties with objects in your nib file.

.xib Interface Builder. , UIView . , ( cmd + ) UIView view. ( , , UIView , )

+8

- - View Controller :

  • MyViewController.h
  • MyViewController.m
  • MyViewController.xib

, .xib , .

.xib → File Owner Placeholder → , (, Identity Inspector) (, MyViewController) . .xib.

UITabBarController UIViewControllers ( nib), UIViewController UITabBarController nib ViewController.

viewcontrollerclass

.

" Xcode": http://developer.apple.com/library/ios/#documentation/IDEs/Conceptual/Xcode4TransitionGuide/InterfaceBuilder/InterfaceBuilder.html

, .

+5

Omg, which was such a noob ... but I just skipped setting the right class to the file owner.

Thank you anyway.

0
source

All Articles