DataSource protocol
DataSource protocol
- Subject: DataSource protocol
- From: Marinus van der Lugt <email@hidden>
- Date: Sat, 19 Jan 2002 14:04:10 +0100
Hi All,
I experience great difficulties in getting a NSTableView to work
properly.
I have put the NSTableView object into a NSWindowController. And have
set the same NSWindowController as the DataSource.
The objects that I pass on to the NSTableView via the DataSource
protocol seem to be released by the NSTableView. When I try to
access these objects later the app crashes.
Is there additional documentation about the DataSource protocol
beside the framework reference documentation?
Or is there an Example that shows how to "properly" use NSTableViews
and the dataSource protocol?
(And I don't mean the one in "Learning Cocoa" as it does not put the
NSTableView in a WindowController.)
I have been trying to solve this problem for over a week now, any hints
would be greatly appreciated.
Rien.