Re: Table view data source methods order?
Re: Table view data source methods order?
- Subject: Re: Table view data source methods order?
- From: Chase Meadors <email@hidden>
- Date: Mon, 3 Aug 2009 10:39:08 -0500
No, both delegate and data source are connected, and they are all
getting called. This is why I believe the order is the problem.
On Aug 3, 2009, at 12:16 AM, Quincey Morris wrote:
On Aug 2, 2009, at 22:04, Chase Meadors wrote:
I'm having a bit of trouble here with table view data source
methods. I have implemented. I have these three:
1) - (NSCell *)tableView:(NSTableView *)sender
dataCellForTableColumn:(NSTableColumn *)tableColumn row:
(NSInteger)row;
2) - (id)tableView:(NSTableView *)sender objectValueForTableColumn:
(NSTableColumn *)tableColumn row:(NSInteger)row;
3) - (void)tableView:(NSTableView *)sender willDisplayCell:(id)cell
forTableColumn:(NSTableColumn *)tableColumn row:(NSInteger)rowIndex;
#1 and #3 are delegate methods, not data source methods. If the
table view's "delegate" outlet isn't connected, or is connected to a
different object, you'd expect to see something like the problem
you're having.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden