Xcode 4.1 Developer Preview 1 Release Notes
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
You can bind theobjectValueproperty 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:defaults write com.apple.InterfaceBuilder3 "IBKnownPluginPaths.3.2.7" -dict-add "<plug.in.identifier.string>" "<path_to_ibplugin>"
8920581
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 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
Xcode 4.0 GM Seed Release Notes
Resolved Issues
Editing Nib Files
- Refactoring: Xcode refactors Cocoa bindings. 8423815
Source Control and Snapshots
- On a project with no snapshots, new snapshots appear in the projects organizer. 8774085
Performance Measurement and Analysis
- Xcode 4.0 Developer Preview 6 installs a set of kernel extension with a version number of 9999, which hinders their upgrade.Before installing Xcode 4.0 GM Seed, perform these actions:
- In Terminal, execute these commands:
sudo rm -rf /System/Library/Extensions/AppleProfileFamily.kext/Contents/PlugIns/AppleIntelPenrynProfile.kextsudo rm -rf /System/Library/Extensions/AppleProfileFamily.kext/Contents/PlugIns/AppleIntelNehalemProfile.kextsudo touch /System/Library/Extensions
- Install Xcode.
- Restart your computer. 8844127
New Issues
Editing Nib Files
- Xcode disallows dragging objects in the Interface Builder canvas to the Object library. 8656363
Unit Testing
- The unit-test command-line tools in
/Developer/Toolsare deprecated.To use unit testing in your Xcode 3 projects, set the Test After Build build setting toNO. 8803198
Known Issues
General
- Interface Builder files with explicit Xcode 3 file types open in the source editor instead of in Interface Builder.Set the file type of the Interface Builder file in the Identity and Type inspector to “Default,” deselect it in the project navigator, and select it again. 8028406
- The task log viewer is empty when you select the last build task of a project or workspace in the log navigator and the viewer is set to show only recent operations.Set the task log viewer to show all operations. 8350930
Editing Nib Files
- Xcode cannot edit OS X–type Interface Builder documents comprised of objects from frameworks other than AppKit.You can compile and run these documents, however. 7470836
No comments:
Post a Comment