Kyu Kyu - 3 years ago 140
Swift Question

How do I 'Lock Selection' like Photoshops in Xcode StoryBoard

When I edit

ImageView
,
UIButton
, or other objects on the StoryBoard Canvas,
it is very hard to select the layer behind them. I want to lock selection for top layer like Photoshop, or in 3DMax what is known as Freeze Selection.

Freeze Selection explanation:


You can freeze any selection of objects in your scene. By default,
frozen objects, whether wireframe or rendered, turn a dark gray. They
remain visible, but can’t be selected, and therefore can’t be directly
transformed or modified. Freezing lets you protect objects from
accidental editing and speeds up redraws.

Answer Source

About the best you can currently do is switch the upper view to NOT Installed at which point the offending view will completely vanish until you switch it back on again

enter image description here

The disadvantage is that its really easy to leave it uninstalled and drop a bug into your app. The only indication of this situation is normally a warning in your project file.

enter image description here

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download