Search code examples
iphoneinterface-builderxcode4

How to draw a line in interface builder in Xcode 4


I'd like to draw a simple inset line in Interface Builder to separate some items in a list and make the UI a bit more tidy. I don't see any "line" or similar objects in the objects library and can't seem to find any drawing commands in Interface builder.


Solution

  • I use a very narrow UIView with backgroundColor set to the appropriate color.