• 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
NSOutlineView and valueForKey:identifier
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSOutlineView and valueForKey:identifier


  • Subject: NSOutlineView and valueForKey:identifier
  • From: Rob In der Maur <email@hidden>
  • Date: Fri, 17 May 2002 17:11:27 +0200

Can I use the smart coding as explained in Aaron Hillegass book on table's datasource also for outline views. I mean the
return [person valueForKey:identifier]
trick....

Above this line the pointer to a person object is created like
Person *person = [employees objectAtIndex:rowIndex]

however the objectValueForTableColumn equivalent for NSOutlineView has not a rowIndex as one of its argument; its signature is like
- (id)outlineView:(NSOutlineView *)ov
objectValueForTableColumn:(NSTableColumn *)tableColumn
byItem:(id)item

So how do I this same kind of trick for NSOutlineView.


cheers,

o#?
Rob In der Maur
_______________________________________________
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.

  • Follow-Ups:
    • Re: NSOutlineView and valueForKey:identifier
      • From: email@hidden
  • Prev by Date: Re: Hanging heartbeat thread on launch
  • Next by Date: Cocoa FBA
  • Previous by thread: Does NSTextView needsDisplay?
  • Next by thread: Re: NSOutlineView and valueForKey:identifier
  • Index(es):
    • Date
    • Thread