Xcode 6.1 - I cannot change xib elements
I have Xcode 6.1 version on Yosemite.
I downloaded the Xcode project from git and when I select the xib file (build with Xcode version 6.1) I see that all elements of the xib file are disabled:
I try to load the project again and I clean the project but the problem persists.
Any ideas?
source to share
This is because something is called "size classes". It is a very useful tool for setting specific constraints based on device and orientation.
Each view controller gets 2 hoard sizes: horizontal and vertical, each with 3 possible values: compact, regular, or whatever. For example: "wCompact hRegular" for all iPhones in portrait, and "wAny hAny" is the base configuration (all layouts).
A project can assign these constraints to a specific combination of them.
You probably have something blue at the bottom of the view that says "wCompact hCompact" (or "wCompact hRegular" ...). Click on the label and switch it to other combinations until restrictions are enabled.
source to share