How do you nudge in Xcode interface builder?

interface-builder, xcode

Solution

Well I figured it out... one way at least, just by experimenting with every possible modifier combination. :) Turns out if you hold Shift and Right-Click in the layout view (or Ctrl-Shift-Click) you get a menu of all objects under the cursor:

And thankfully picking one of these keeps the layout pane focused so you can actually nudge objects around. Still not particularly intuitive but it works!

Problem

I have a view that I want to nudge a few pixels, but I can't seem to select it in any way that allows nudging. The easiest way for me to select it is by clicking its name in the object list on the left: But using the arrow keys just moves the selection in that list up and down, selecting different things. If I actually click the view in the preview window, it ends up selecting something behind it (there is a full-size background image that get selected no matter what I click on). If I select the name in the object list and hit Tab (thinking to change focus to the layout pane) it just enters a name-edit mode (?!). Hitting Tab multiple times never seems to give focus to the layout pane: Seriously, this UI is defective. How do I select an object to nudge it with the arrow keys? Is there a way?

Original source