Question

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?

Was it helpful?

Solution

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

OTHER TIPS

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

Have a look at the official documentation.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top