Reputation: 16639
The app was working normally, till I committed my code using Git for pushing the code online. The views were hidden from the interface builder (storyboard) suddenly.
It shows the views this way:
the interface builder does not show the faded views as well:
I tried to check for the source code of the storyboard but nothing looks wrong. what can be a possible error that cause this problem ?
Upvotes: 0
Views: 177
Reputation: 535945
You are looking at what happens when you have designed your views in a particular size class and then, when you look at the storyboard, you are not in that size class.
For example, let's say you happened to be in size class H:Regular W:Compact when you put "top line" into its superview in Interface Builder. At that time, the bottom of your Interface Builder canvas would have shown something like this:
That blue is supposed to be a warning that you are working in a specialized size class! But you, I am postulating, paid no attention to that warning.
Okay, so now you come back later and you are in size class H:Any W:Any. What you are showing in your screen shots is just what I would expect to see.
You would also see something like this at the bottom of the attributes inspector when you select one of the views:
That would show that you've accidentally installed your view in a specialized size class and not in the size class you are in.
Upvotes: 2