• 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: Different NSCells in an NSOutlineView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Different NSCells in an NSOutlineView


  • Subject: Re: Different NSCells in an NSOutlineView
  • From: Andy Lee <email@hidden>
  • Date: Thu, 20 Oct 2005 07:13:14 -0400

On Oct 20, 2005, at 4:13 AM, malcom wrote:
Hi. Yes that's ok. I need to have different NSCell for each row. Where
is this delegate into NSOutlineView? I can't find it....

It's not a delegate method, it's an instance method of NSTableColumn:

dataCellForRow:

- (id)dataCellForRow:(int)row

Returns the NSCell object used by the NSTableView to draw values for the receiver. NSTableView always calls this method. By default, this method just calls dataCell. Subclassers can override if they need to potentially use different cells for different rows. Subclasses should expect this method to be invoked with row equal to –1 in cases where no actual row is involved but the table view needs to get some generic cell info.


--Andy

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Different NSCells in an NSOutlineView
      • From: Jerry Krinock <email@hidden>
References: 
 >Different NSCells in an NSOutlineView (From: malcom <email@hidden>)
 >Re: Different NSCells in an NSOutlineView (From: Jerry Krinock <email@hidden>)
 >Re: Different NSCells in an NSOutlineView (From: malcom <email@hidden>)

  • Prev by Date: Adding Platform-Specific Resources name list ?
  • Next by Date: The global string constant "U19"
  • Previous by thread: Re: Different NSCells in an NSOutlineView
  • Next by thread: Re: Different NSCells in an NSOutlineView
  • Index(es):
    • Date
    • Thread