Archive for November 2008

A Bindable Custom NSView Subclass

In this post I’ll walk through writing a custom subclass of NSView that can bind to an NSArrayController to display information either from some generic array connected to the array controller, or from a Core Data object model.

The view we’ll be creating is a custom view to display a pie-chart; in the sample app the pie-chart will be drawn from data entered in an NSTableView. The finished application looks like the following:
The finished sample application showing the custom NSView subclass bound to a Core Data entity
Continue reading ‘A Bindable Custom NSView Subclass’ »

Share/Save/Bookmark