How to configure a simple table view in Cocoa


I was wondering if anyone could give me an example or point me to some example code of how to use an NSTableView. I know how to use it in core data but I would like to do this just using plain cocoa code. All I need is a simple add and remove button. Also is it possible to have cocoa write the data to a text file or plist?

Have a look at the Apple Sample Code. Type in table. At present it pulls up four relevant examples.