UITabBarController error - loaded the "YourView" nib but the view outlet was not set
Tech-Today

UITabBarController error - loaded the "YourView" nib but the view outlet was not set


Working on a simple UITabBarController I encountered the above error "nib but the view outlet was not set".

This usually happens when you create a new nib file and forgot to change the File's Owner class in the interface builder.

So for example we have a UITabBarController and add 2 views to it. FirstView and SecondView. You will notice that the default class is NSOBject. See attached.

What you need to do is to change the class from NSOBject to UIViewController then link the File's Owner view outlet into the View object. See attached.

Click save in interface builder go back to xcode and run. See if you still have the error.




- Display Time Picker On Textfield Click In Xcode
Open Xcode and create a new Single View Application. For product name, use TextFieldTimePicker and then fill out the Organization Name and Company Identifier with your customary values. Select iPhone for Devices. For setting up the user interface, first,...

- Webview Tutorial In Ios 8 With Swift
The UIWebView class is use to embed web content in an application. It can be done by simply creating a UIWebView object and attaching it to a window and then sending it a request to load web content. Open Xcode and create a new Single View Application....

- Create An Image Slide Show In Iphone Using Xcode
Here's how you can create image slide show from xcode - iphone Requirement:  -3 png images. 1.) Create a new View-based application project. Name it AnimationDemo. 2.) Once the new project is created. Add the 3 png images to the Resources folder....

- Iphone Touch Event Programming Stanford's Stalker Project
Moving on with Stanford's set of exercise, here I am working on how to handle iPhone's touch events. I will replicate the Stalker class created by Paul? Steps: 1.) Create a new WIndow-based Application project, Stalker 2.) Create a new class TouchResponder...

- Open A View In The Eclipse-rcp's Extension Tab Using The Showviewhandler Class
Let's do this quick. 1.) Create a new HelloWorld Plug-in Project and name it CommandParameter. 2.) Open the plugin.xml and click the Extensions tab. 3.) In the All Extensions tab click the Add button and under the Extension Point Filter: search "view"....



Tech-Today








.