• 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: Quincey Morris <email@hidden>
  • Date: Sun, 2 Aug 2009 22:16:43 -0700

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


  • Follow-Ups:
    • Re: Table view data source methods order?
      • From: Chase Meadors <email@hidden>
References: 
 >Table view data source methods order? (From: Chase Meadors <email@hidden>)

  • Prev by Date: Table view data source methods order?
  • Next by Date: Design Paterns: +/- Initializers and Subclassing
  • Previous by thread: Table view data source methods order?
  • Next by thread: Re: Table view data source methods order?
  • Index(es):
    • Date
    • Thread