views:

63

answers:

3

Hello,

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?

Thanks for any help

+2  A: 

Have a look at the official documentation.

Macmade
+2  A: 

Table views are the same with or without core data, but your array controller should manage objects instead of entities.

Graham Lee
+1  A: 

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

TechZen
Thanks thats a nice example.
happyCoding25