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

Re: NSTreeControllerTreeNode not documented?


  • Subject: Re: NSTreeControllerTreeNode not documented?
  • From: Norbert Heger <email@hidden>
  • Date: Sun, 8 Jun 2008 13:31:29 +0200


On Jun 8, 2008, at 11:28 , Joan Lluch (casa) wrote:

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.


See this thread:
http://www.cocoabuilder.com/archive/message/cocoa/2008/3/25/202235

n.h.

_______________________________________________

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? [solved]
      • From: "Joan Lluch (casa)" <email@hidden>
References: 
 >NSTreeControllerTreeNode not documented? (From: Joan Lluch (casa) <email@hidden>)

  • Prev by Date: Re: Java and Objective-C
  • Next by Date: Re: Converting a MenuRef to a NSMenu
  • Previous by thread: NSTreeControllerTreeNode not documented?
  • Next by thread: Re: NSTreeControllerTreeNode not documented? [solved]
  • Index(es):
    • Date
    • Thread