Search code examples
iosxcode4.4

Connecting IBOutlet Xcode 4.4


I just finished upgrading to Xcode 4.4 because the previous version of Xcode would not let me develop/test applications for iOS>5.0

Anyhow, I started creating an application - a tab bar controller application. Inside the first view, I created a button (an IBOutlet) but now it seems that I am unable to make the connection between the scene and the view controller in the storyboard.

When I control-Click the view controller in the storyboard, under outlets I can only see searchDisplayViewController and View. I can't see the outlets I just created.

Thanks

EDIT - If the view is not connected to a scene in the tab bar item, it is working fine.


Solution

  • Have you tried ctrl dragging from the button to the View Controller? Try also ctrl dragging from the button to the header file of the view controller.

    Another possible solution would be to select the button, open the last tab of the right pannel and look for the connection there.