• 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: NSTreeController's arrangedObjects returning _NSControllerTreeProxy for KVC path?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTreeController's arrangedObjects returning _NSControllerTreeProxy for KVC path?


  • Subject: Re: NSTreeController's arrangedObjects returning _NSControllerTreeProxy for KVC path?
  • From: "Danny Price" <email@hidden>
  • Date: Thu, 12 Jun 2008 16:35:49 +0100

> That's what I used to think, too, until someone on this list pointed out to
> me that this snippet is in the header for NSTreeController:
>
> // proxy for the root tree node responds to -childNodes and
> -descendantNodeAtIndexPath:(NSIndexPath *)indexPath
> - (id)arrangedObjects;
>
> So whereas prior to 10.5 this method returned an opaque root node, in
> Leopard you at least are promised that it will respond to -childNodes and
> -descendantNodeAtIndexPath:.
>

So the object is single-level tree where each leaf is the actual item
selected?

What I don't understand is why the same binding returns a different object
in two cases? Why don't get this proxy object when I bind the view directly
to the controller?
_______________________________________________

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: NSTreeController's arrangedObjects returning _NSControllerTreeProxy for KVC path?
      • From: Quincey Morris <email@hidden>
    • Re: NSTreeController's arrangedObjects returning _NSControllerTreeProxy for KVC path?
      • From: "Hamish Allan" <email@hidden>
References: 
 >NSTreeController's arrangedObjects returning _NSControllerTreeProxy for KVC path? (From: Daniel Price <email@hidden>)
 >Re: NSTreeController's arrangedObjects returning _NSControllerTreeProxy for KVC path? (From: Ken Thomases <email@hidden>)
 >Re: NSTreeController's arrangedObjects returning _NSControllerTreeProxy for KVC path? (From: Charles Srstka <email@hidden>)

  • Prev by Date: Authentication and NSURLConnection sendSynchronousRequest
  • Next by Date: Re: NSTextView and changing the selected text's color
  • Previous by thread: Re: NSTreeController's arrangedObjects returning _NSControllerTreeProxy for KVC path?
  • Next by thread: Re: NSTreeController's arrangedObjects returning _NSControllerTreeProxy for KVC path?
  • Index(es):
    • Date
    • Thread