Question

In Xcode, does the interface builder have some sort of customisable rulers like in Photoshop to help me position elements correctly?

I know it does those red lines which appear, but I mean lines that you can position yourself.

Thanks, Dan.

Was it helpful?

Solution

I found the answer to my own question.

Basically click "Editor" on the menu bar. Then click "Add Horizontal Guide" or click "Add Vertical Guide".

Thats it, they are very good and they also show their position information. Very helpful :)

OTHER TIPS

For xcode 6 it is Editor>Canvas>Add Horizontal Guide

After xcode Version 6.4 you can find this option here.

enter image description here

Or you can also use shortcut as shown in image.

these are the keyboard shortcuts

⌘ _ : add Horizontal guide line
⌘ | : add Vertical guide line

to remove a vertical guide, drag it out of the view.. vertically

to remove a horizontal guide, drag it out of the view.. horizontally

remove Xcode guide

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top