I've pulled the project from Git. Someone else was working on it and it works perfectly fine for them, they can edit every control and every constraint. On mine I can only edit what I have added, the controls which were already there are locked (grayed out on the image.)
I tried clicking the lock icon on the preview screen and it says this:
“Main.storyboard” is currently locked because it is a remote resource.
and when clicking Unlock
The file is a remote resource. Try making a local copy.
Literally have no idea what to do now. I've tried Editor->Localization Locking->Reset Locking Controls to no avail.
If I cut and then paste a locked control back into the scene, it works fine but I loose all the constraints previously set on it and it all needs to be rearranged again so it's more of an observation not a solution.
I think the controls were added to a different size class, that's why they are grayed out. You can verify this by selecting the grayed out object in the storyboard and in the attribute inspector you can check in what size classes is enabled. For example in the image is enabled just for Any width and Compact height, but not for Any-Any. You can add/remove the control to a different size class by checking/unchecking it.

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With