Xcode 4 has made leaps and bounds in stability and usability. Unfortunately, in Xcode 4.3 the ill-documented and obtuse Auto Layout feature has been turned on by default in the project templates.
I get it. Drive adoption. But without clearer documentation on it, you will not drive adoption.
Coders tend to like the sense of being-in-control. Auto Layout means giving up control. To make things more annoying, autolayout is still quite buggy within Interface Builder…
Example? Try using an NSSplitView containing a pair of items (such as NSTextView objects in their default NSScrollView containers). It builds and runs fine, and probably does just what you wanted it to do.
Ok, so what?
So try now to adjust the location of the splitter within the NSSplitView. Watch in horror as the contained views do weird things and the right edge of the NSSplitView moves with the splitter move…
Now try to find documentation that explains how to use the constraints and what the settings mean. Yeah. Good luck with that.
Ok. It IS improving, but let’s turn it off so we can do things for real.
In the left sidebar, click on your nib.
In the right sidebar click on the File Inspector. Locate the Use Auto Layout checkbox, uncheck it and save your file.
Back to familiar and more reliable struts & springs…