Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

"Installed" checkbox in Xcode Storyboard Attributes Inspector

In Xcode Interface Builder there is an option Installed in the Attributes Inspector.

I am unsure of it's meaning. Does it mean that the element will be present in any size class?

installed checkbox

like image 316
potato Avatar asked Nov 28 '15 19:11

potato


People also ask

How do I see storyboard in Xcode?

To get this, open the storyboard, click the 'assistant' editor, click the 'assistant editor menu button' (immediately to the right of the > arrow at the top left of the assistant window) and select Preview. This shows how the ViewController will look in landscape/portrait 568/480 high modes.

How do I hide an element in Xcode?

Select one of your views to 'hide' and in Utilities Pane, select Size inspector and set your X (horizontal) value to 1000 - which will slide the view off the screen, allowing you access to layers below.

What is size inspector in Xcode?

Recall that the Size inspector appears when you select the fifth button from the left in the inspector selector bar. It lets you edit the size and position of an object in your storyboard.


1 Answers

It is for adding that specific view to the corresponding size class. If the installed is checked it will be added to the view hierarchy of that size class, else it won't be added. You can check more about this option in Enable And Disable Views.

like image 124
Midhun MP Avatar answered Oct 12 '22 23:10

Midhun MP