- Fix #40: Editing titles on cell based source list causes exception.
- Fix issue in view-based source list example where items created with the add button couldn't be dragged.
- Fix #39: Badges not drawn correctly when Source List row is selected.
- Add missing note to the 2.0.0 release notes about marking
-[PXSourceList delegate]and-[PXSourceList dataSource]as unavailable using __attribute__.
- Added support for view-based mode to
PXSourceList, whilst retaining legacy cell-based support. (View-based delegate methods added are detailed below). - Added a new view-based Source List example target which includes an example of how to use drag-and-drop in the Source List.
- Added
PXSourceListTableCellView, anNSTableCellViewsubclass which is useful when usingPXSourceListin view-based mode. - Added
PXSourceListBadgeView, which can be used inPXSourceListTableCellViews to display badges. This class's drawing is done by the internalPXSourceListBadgeCellclass. - Added a generic
PXSourceListItemdata source model class which can be used for easily constructing data source models without having to implement your own class.
- *Incompatible change. Marked
-[PXSourceList delegate]and -[PXSourceList dataSource]` as unavailable using the “unavailable” __attribute__. These methods shouldn’t be used because of the internal implementation of PXSourceList, and have been documented as such since version 0.8. However, adding this __attribute__ is more robust because a compile-time error will be generated if you use either of these methods. - Added view-based Source List delegate methods to
PXSourceListDelegate, namely:-sourceList:viewForItem:-sourceList:rowViewForItem:-sourceList:didAddRowView:forRow:-sourceList:didRemoveRowView:forRow:
- Added missing
PXSourceListDelegatemethods which map to theirNSOutlineViewDelegatecounterpart methods, namely:-sourceList:toolTipForCell:rect:item:mouseLocation:-sourceList:typeSelectStringForItem:-sourceList:nextTypeSelectMatchFromItem:toItem:forString:-sourceList:shouldTypeSelectForEvent:withCurrentSearchString:
- Moved the Source List delegate notification methods that were previously part of an
NSObjectcategory intoPXSourceListDelegate. The methods affected are:-sourceListSelectionIsChanging:-sourceListSelectionDidChange:-sourceListItemWillExpand:-sourceListItemDidExpand:-sourceListItemWillCollapse:-sourceListItemDidCollapse:-sourceListDeleteKeyPressedOnRows:
- Fixed a huge bug where several delegate methods which weren't being called in version 0.x and 1.x of PXSourceList, by removing explicit implementations of
NSOutlineViewDelegatemethods inPXSourceListwhich are now forwarded using a shiny new proxy-based implementation. The stub method implementations removed fromPXSourceListare:-outlineView:numberOfChildrenOfItem:-outlineView:child:ofItem:-outlineView:isItemExpandable:-outlineView:objectValueForTableColumn:byItem:-outlineView:setObjectValue:forTableColumn:byItem:-outlineView:itemForPersistentObject:-outlineView:persistentObjectForItem:-outlineView:writeItems:toPasteboard:-outlineView:writeItems:toPasteboard:-outlineView:validateDrop:proposedItem:proposedChildIndex:-outlineView:acceptDrop:item:childIndex:-outlineView:namesOfPromisedFilesDroppedAtDestination:forDraggedItems:-outlineView:pasteboardWriterForItem:-outlineView:draggingSession:willBeginAtPoint:forItems:-outlineView:draggingSession:endedAtPoint:operation:-outlineView:updateDraggingItemsForDrag:-outlineView:shouldExpandItem:-outlineView:shouldTrackCell:forTableColumn:item:-outlineView:heightOfRowByItem:-outlineView:selectionIndexesForProposedSelection:-outlineView:dataCellForTableColumn:item:-outlineView:willDisplayCell:forTableColumn:item:
- Fixed the PXSourceList framework's
CFBundleIdentifier. It should have beencom.alexrozanski.PXSourceList.
- Updated documentation for all public members of
PXSourceListand its related classes and protocols. - Added documentation for new classes and
PXSourceListDelegatemethods. - Added documentation for
PXSourceListdelegate notifications. - Added a Documentation target to the Xcode project, which can be used to build documentation from source using appledoc.
- Removed
SourceListItemfrom the old example project as it has been superseded byPXSourceListItem. - Removed the TODO.rtf file from the project as all issues are now being tracked through GitHub.
- Upgraded the Xcode project to the Xcode 5 project format.
LastUpgradeCheckwas updated from0450to0500. - Added a Release Notes file ;)