The magic is definitely in the NSArrayController. NSArray does not have methods like selectedObject, and requires binding to an NSTableColumn. NSArrayController, as the name implies, is part of the MVC controller, where the model is an NSArray.
Secondly, NSArrayController is useful for any view that supports the NSArray model. Admittedly, this is usually an NSTableView, but it can be any view that uses the same data.
source
share