• 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
NSTreeControllerTreeNode not documented?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSTreeControllerTreeNode not documented?


  • Subject: NSTreeControllerTreeNode not documented?
  • From: Joan Lluch (casa) <email@hidden>
  • Date: Sun, 8 Jun 2008 11:28:28 +0200

An NSOutlineView which is binded to a NSTreeController gives instances of NSTreeControllerTreeNode in the item (or items) parameter of their datasource or delegate methods. For example:

- (BOOL)outlineView:(NSOutlineView *)outlineView writeItems:(NSArray *)items toPasteboard:(NSPasteboard *)pboard

would give an array of NSTreeControllerTreeNode objects in the items parameter.

- (BOOL)outlineView:(NSOutlineView *)sender isGroupItem:(id)item

would give an instance of a NSTreeControllerTreeNode

As far as I know, this class is not documented. How can I access (or know) the actual object in the NSTreeController that the item is refering to.

I will appreciate any help.

_______________________________________________

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: NSTreeControllerTreeNode not documented?
      • From: Norbert Heger <email@hidden>
  • Prev by Date: zlib in 10.4 and 10.5
  • Next by Date: Re: Cocoa n00b frustrations
  • Previous by thread: Re: zlib in 10.4 and 10.5
  • Next by thread: Re: NSTreeControllerTreeNode not documented?
  • Index(es):
    • Date
    • Thread