16th January 2010
Source Lists feature in many Mac OS X applications. From iTunes to iCal to Versions, they are a great navigation control.
But for us Cocoa developers, they aren’t that easy to implement. You can easily create an NSOutlineView and set its highlight mode to “Source List” but none of the other Source List features come built in out of the box, such as the ability to display badges or icons for items.
I created PXSourceList to help address this issue. It is a reusable control (within the context of Source Lists) compatible with Mac OS X 10.5 and higher. It makes implementing Source Lists in your applications easier by adding the following main features:
The source is available to download from GitHub.
More information about PXSourceList is available from the project page.
There is also documentation available – a link to this can be found on the main project page or from the page on GitHib.
If you have any other questions then feel free to get in touch and I’ll be happy to help.