2
votes

I have included Tab Bar Controller in my application. I have declared Outlet in the App Delegates' .h and .m file. When I am right clicking on File's Owner, It doesn't show me Outlet. OR If I double click on the Tab Bar Controller I could not see the Outlet. How to connect it... I have Included the XIB file in an empty app. I am using Xcode 4. Any body can tell me how to get APPLICATION DELEGATE icon when clicking on xib file...??

3

3 Answers

2
votes

Click on the app delegate icon and not on the file's owner.

enter image description here

Did you set the class for that xib or not. you can check that in the custom class group like in this pic. If not than you should set it with a class name of your choice.

1
votes

Arpit, Instead of declaring Outlet in ProjectNameAppDelegate.h file that is being shown in side list... declare in .h file with the same name as .xib file... Same problem has been faced my me also... Hope this will help you...

0
votes

You need to get the the type "'Object'" and drag it to the Below the File's Owner Window. Set it's Class to your present appln delegate..this is the way you can create app delegate if not present by default near file's owner.