RE: NSTableView event handlers not there
RE: NSTableView event handlers not there
- Subject: RE: NSTableView event handlers not there
- From: "Jonathan E. Jackel" <email@hidden>
- Date: Fri, 13 Jun 2003 13:32:25 -0400
What book is that?
It sounds like you are referring to methods that should be implemented by
the table view's
datasource: -numberOfRowsInTableView:, -tableView:objectValueForTableColumn:
row:, and
-tableView:setObjectValue:forTableColumn:row:.
When a table view needs to display data, it will ask its datasource (if it
has one) for the data using the first two methods. The third method is used
to update the datasource when the user changes the data in the table.
You'd probably be better off consulting apple's docs:
http://developer.apple.com/techpubs/macosx/Cocoa/TasksAndConcepts/Programmin
gTopics/TableView/index.html#//apple_ref/doc/uid/10000026i
In particular, you'll want to look at Using a Table Data Source.
Jonathan
>
-----Original Message-----
>
From: email@hidden
>
[mailto:email@hidden]On Behalf Of tom taylor
>
Sent: Saturday, June 14, 2003 2:30 PM
>
To: email@hidden
>
Subject: NSTableView event handlers not there
>
>
>
I am referring to a book which states that NSTableView has a two
>
handlers 'cell value' & 'number of rows' under Table view. When I bring
>
up my version of the object, I do not have these handlers. I'm assuming
>
I have a older version of the object. Is there a way to get the latest
>
Objects?
>
>
>
Thank you,
>
>
Thomas P. Taylor
>
17106 76th Ave
>
Minnesota, MN 55311
>
(763) 420-4078
>
email@hidden
>
_______________________________________________
>
cocoa-dev mailing list | email@hidden
>
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.