Information Technology Reference
In-Depth Information
You can select multiple objects by dragging a rubber band box around them or by shift-clicking in the usual OS
X way. When you click the reveal triangle at the bottom of the vertical icon bar, you can group objects by name
in the list that appears.
Centering multiple objects moves the group to the common geometric center. The best way to understand the
other alignment options in the menu is to experiment with them. For example, you can align a group of objects
along their top, bottom, or center edges. You also can expand an object so it fills its container, which can be
useful when you're using an image view as a background.
NOTE
In Xcode 3, the Alignment options appeared as a group of cryptic geometric icons. This was useful for quick
single-click access to the centering function. In Xcode 4, the icons have gone and you have to select the alignment
functions from the menu.
Controlling autosizing
By default, autosizing is enabled. If your app supports multiple orientations, you'll find that autosizing breaks
the layout after a rotation.
Full support for multiple orientations can become complex in a busy UI and may require custom code. But you
can create a simple autorotating UI by disabling autosizing. Click all the anchor tags and the arrows in the Auto-
sizing box to toggle them. They should appear dashed. This disables all autosizing features for that object, and
it's likely (but not guaranteed) that the object will now support a different UI orientation.
Search WWH ::




Custom Search