• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Table view data source methods order?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Table view data source methods order? (From: Chase Meadors <email@hidden>)
 >Re: Table view data source methods order? (From: Quincey Morris <email@hidden>)

  • Prev by Date: Non-blocking custom event loop?
  • Next by Date: Re: Table view data source methods order?
  • Previous by thread: Re: Table view data source methods order?
  • Next by thread: Re: Table view data source methods order?
  • Index(es):
    • Date
    • Thread