Interface Builder 3.1.1 Release Notes

Contents:

Enhancements
Known Issues


Enhancements

UIViewController NIB Name

The UIViewController attributes inspector's NIB Name combo box auto-populates and completes with the names of Interface Builder documents from the project containing the edited document. The design window for a view controller also contains a hyperlink that can be used to quickly navigate to the nib file loaded by a view controller.

UIScrollView

The Interface Builder library has been updated to contain an instance of UIScrollView for direct use in Interface Builder documents. To use a scroll view in a nib file, simply drag it from the library window, configure it with the inspector, and then optionally add subviews in Interface Builder or provide content at runtime. Remember to set the scroll view's content size at runtime.

Simulated Metrics Support for Top-Level UIViews

To aid in laying out UIViews that are loaded from UIViewControllers, this release of Interface Builder introduces the concept of simulated metrics for top-level UIViews. The simulated metrics allow you to specify the styles of the various bars that will be present on the window that will house the view that is being designed. For example, while working with a view that is intended to be loaded by a view controller that will be used in a tab bar controller, the simulated bar metrics can specify a simulated status bar and a simulated tab bar. In addition to giving a more accurate visual preview of the final interface, the simulated metrics will also constrain the layout of the view and aid in correct alignment and positioning of the subviews. The simulated metrics have no bearing on the view at runtime, they are simply a visual aid at design time.

Simulated Rotation Support for Top-Level UIViews

With this release of Interface Builder, UIViews have the same rotation preview control that UIWindows have. A top-level view's title bar presents a rotation button in the upper-right corner. Clicking the rotation button provides a preview of how the rotated view will look at runtime. This feature is intended to be used to validate the auto-resizing settings of the subviews of the top-level view.

Known Issues

CompileXIB Fails Because of Missing Plug-ins

If the Xcode CompileXIB build step fails because of a missing plug-in, follow these steps to workaround the issue:

  1. Open the xib file that is failing to build. Interface Builder should prompt you to load the missing plug-in.

  2. Choose to locate the plug-in and navigate to /System/Library/Frameworks.

  3. Choose the framework for the missing Interface Builder plug-in. See the table below for a list of plug-ins and their related frameworks.

  4. Save the document and quit Interface Builder.

  5. Return to Xcode and rebuild.

Interface Builder plug-ins and their related frameworks

AddressBook

com.apple.AddressBook.ibplugin

AddressBook.framework

Automator

com.apple.automator.AutomatorPalette

Automator.framework

ImageKit

com.apple.imagekit.ibplugin

Quartz.framework

QuartzComposer

com.apple.QuartzComposerIBPlugin

Quartz.framework

PDFKit

com.apple.pdfkit.ibplugin

Quartz.framework

QTKitIB

com.apple.QTKitIBPlugin

QTKit.framework

OSAKit

com.apple.OSAKit.IBPlugin

OSAKit.framework

DiscRecording

com.apple.InterfaceBuilder.DiscRecordingPlugin.ibplugin

DiscRecordingUI.framework





© 2008 Apple Inc. All Rights Reserved. (Last updated: 2008-09-09)


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.