UIViewController content not displaying on storybord - ios

All the content of one of my UIViewControllers suddenly stop show in my storyboard, all the objects are grey out in my documents outline and the view controller in question is completely blank, however when I run the code it displays fine in my phone and/or simulator.
I try clean and build the project without any success, any ideas how to fix it?

From your interface builder check the property for specific hidden view as Installed (From Utilities)

Related

Cant control drag a reference object to the ViewController in Xcode 9.2 (9C40b) iOS project

How to a create an outlet for an iOS control on the storyboard that is connected to my swift ViewController code?
All the tutorials for iOS development show that you can control drag a UI element to your ViewContoller swift code for an outlet. However it never works for me, it shows the blue line from the storyboard, but on the drop it never brings up the dialog to add a new outlet.
Creating a new Action drag and drop works just fine for buttons. I have seen many ask this question and there seems to be no definite answer.
Is there something different with iOS projects?
I tried to set the View Controller custom class to my specific ViewController class, and then I can drag and drop a new outlet. However the project fails to compile.
LaunchScreen.storyboard: error: Illegal Configuration: Launch screens may not set custom classnames
I seem to be missing something here, but all the tutorials I watch/read (none seem to cover Xcode 9 or swift 4) all show this behavior as being the normal way to create an outlet.
Launch screens are not able to have outlets attached to them. They are static. If you'd like to have a "launch screen" that you can manipulate, duplicate your launch screen layout into an initial view controller and do what you like there.
I think this is because you are connecting it from the LaunchScreen.xib instead of the main.storyboard files.

Main interface can not be changed to my own storyboard

I'm happy to know that zero code is needed to create interface for iOS app using storyboard somehow, but failed to show my own storyboard by changing 'main interface' of project setting in XCode.
Launching app brought me to a black screen which is expected to be a tableview within a navigation.
Having set Colorboard.storyboard as interface should add a grey arrow line pointing to navigation controller in the storyboard....however there wasn't such line.
Xcode I am using is 6.3...I am wondering if there is something I missed?
As far as I see you didn't set the initial view controller for storyboard.
In Attributes inspector select the param called "Is Initial Controller"
More details in documentation.

UI items do not show up in interface builder

I have a strange issue here about interface builder.
I added some views, buttons to my view controller and they were displayed well in the interface builder some hours before. But now, they disappeared.
I mean, they are not displayed in the interface builder while showing up perfectly when running. Below images is the view controller in my interface builder.
Here is some other view controller in the same project. Items in it are showing normally.
Could anyone tell me the reason of this ?
EDIT: They disappeared after I installed some libraries using cocoapods. Can it be the reason?
Check the size class,you may add views in one size class and see it in another
Also,selected the hidden view to check if it is installed in this size class

Storyboard gets rid of `customModuleProvider="target"` on XML and stops finding class

I am trying to debug a problem that is happening on my Xcode install that makes my Main Storyboard not find my custom classes. Steps to reproduce:
Create a single view application
Run the app without any modifications, ensuring everything still works as supposed
Go to the main storyboard, click the yellow icon for the view controller, then focus the custom class input where ViewController is already filled. Hit enter.
When I do this, Xcode removes an attribute customModuleProvider="target" from the viewController node in my Storyboard, which causes the app to not find the custom class ViewController anymore.
How can I fix the project, allowing the Storyboard my classes again?

xcode: Problems connecting main storyboard

I am following the tutorial here. I just created my first storyboard and tried to set it as the main storyboard. After following the tutorial I clicked the run button and the simulator doesn't render any of the changes ive created.
I have a screen shot of my xcode project here(not sure how else to display it): https://app.box.com/s/okw7jlzq5zmcetd5cehu
What am I doing wrong?
Here is another screenshot of the storyboard itself: https://app.box.com/s/jt6i0an3maowwvgsamk7
Place a checkmark in the box "Is Initial View Controller" for the view controller you want to load.
I think your problem is the code in the app delegate. When you use a storyboard, you don't need anything in there except "return YES". The storyboard creates the window, so the code you have in there is making another window, not the one that your storyboard controller is a subview of.
Using this tutorial might teach you some things about the structure of an iOS app, but if you just want to make an app with a storyboard, you should start with the "single view" template instead of the "empty" one. It will give you a storyboard and an initial controller.

Resources