New Features
Editing Nib Files
- You can create and edit view-based
NSTableViewinstances.
Just drag anNSViewsubclass (usuallyNSTableCellView) from the Object library into each table column. After connecting the datasource and delegate outlets, implement at least these methods:
– (NSInteger)numberOfRowsInTableView:(NSTableView *)tableView– (id)tableView:(NSTableView *)tableView objectValueForTableColumn:(NSTableColumn *)tableColumn row:(NSInteger)row
objectValueproperty of anNSTableCellViewinstance in Interface Builder. You can also make action connections from a cell to the cell’s owner, which is usually the table view’s delegate.
By assigning identifiers to the view cells, you can use theNSTableViewmethod–makeViewForIdentifier:owner:in the implementation of the table-view delegate method–viewForTableColumn:row:. 7465869
Enhancements
General
- If Xcode or
xcodebuildfail to launch:
- Hold down Shift while launching Xcode
- Use the
xcodebuild -clearPlugInCacheoption. 9013457
Editing Nib Files
- Building products that require Interface Builder 3 plug-ins may fail because the
ibtoolcommand-line tool is unable to locate the requiredibpluginplug-in.
If you have the Xcode 3 toolset installed on your computer, load the plug-in using the Interface Builder 3 preferences window. Otherwise, use this command:
8920581defaults write com.apple.InterfaceBuilder3 "IBKnownPluginPaths.3.2.7" -dict-add "<plug.in.identifier.string>" "<path_to_ibplugin>"
Changes
Building: xcodebuild
- The
xcodebuild -activetargetoption is not supported. 8361726
Performance Measurement and Analysis
- MallocDebug is replaced by the Allocations and Leaks instruments, and the
libgmalloc(GuardMalloc) andleakscommand-line tools. 4388187
New Issues
Performance Measurement and Analysis
- When using the Mac OS X Core Data template, Instruments may hang or stop tracing. 9031942
- When you profile an application running in iOS Simulator, Instruments collects no data.
To have Instruments collect data, click the Instruments icon in the Dock after it starts recording. 8909180
Known Issues
General
- Nib files with explicit Xcode 3 file types open in the source editor instead of in Interface Builder.
Set the file type of the nib file in the Identity and Type inspector to “Default,” deselect it in the project navigator, and select it again. 8028406
Editing Nib Files
- Xcode disallows dragging objects in the Interface Builder canvas to the Object library. 8656363
Unit Testing
- Projects that use the Xcode 3 unit-testing tools cannot use the Xcode 4 unit-testing infrastructure.
To use unit testing in your Xcode 3 projects, set the Test After Build build setting to No. 8803198
No comments:
Post a Comment