Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Xcode items greyed out in the Document Outline

Tags:

xcode

ios

I've been using iCloud to 'sync' Xcode projects I'm working on from my laptop to my desktop. It doesn't seem to work that well unfortunately. I opened up a project today on the desktop that I worked on the laptop yesterday.

If I open the file on the desktop certain buttons and labels in the storyboard are missing. Looking at the document ouline I can see these but they are greyed out (see pic). However when I when I build the file, they appear as normal in the simulator. Any idea why or how to get them showing up normally?enter image description here (If I open this up on the laptop these aren't greyed out and all looks normal)

like image 948
Yunti Avatar asked Dec 09 '14 14:12

Yunti


1 Answers

Items in the Document Outline become greyed out when they are not installed for the size class that you have selected at the bottom center of the storyboard view.

size class selector

You can see if the item is installed by selecting the item in the Document Outline and opening up the Attributes inspector.

Uninstalled:

enter image description hereenter image description here

Installed:

enter image description hereenter image description here

like image 80
Addison Avatar answered Oct 21 '22 19:10

Addison