Xcode Tip: Shift+right-click

Just learned this useful Xcode tip (works in Xcode 4.4+ I believe but I’m on Xcode 4.5.2):

If you shift+right-click on a view (or control+shift+left-click to simulate a shift+right-click) you will get a popup of all the views under the click and can choose any of them (to edit properties or what  not).

This is especially useful with complex view hierarchies with multiple layers of nested views.

Here’s a screenshot showing you what it looks like.  I shift+Right-clicked on a NSTableCellView embedded inside an NSTableView in an NSSplitView in a root NSView in an NSWindow.  Navigating through the outline hierarchy would be slow but this is very quick.



One thought on “Xcode Tip: Shift+right-click”

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: