• 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 and NSTreeNode
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSTreeController and NSTreeNode


  • Subject: Re: NSTreeController and NSTreeNode
  • From: Gordon Apple <email@hidden>
  • Date: Tue, 20 Nov 2007 12:58:28 -0600

    Maybe it was pure dumb beginners luck, but I got it working just fine on
10.4.  The only issue was that I had to use the undocumented "[item
observedObject]" in NSOutlineView.  I do edits (add, delete, addChild, etc),
except I never added drag/drop.  I will probably use 10.5 for that.


> On 20/11/2007, at 5:42 PM, norio wrote:
>
>> I'm looking at SourceView sample. This is nice example but it
>> doesn't run on 10.4.
>>
>> I'd like the app run on 10.4. For the purpose, would you tell me the
>> following things?
>>
>> 1. Is NSTreeController's selectedNodes the same as
>> NSTreeController's selectedObjects?
>>
>> 2. How do you implement functions for 10.4, instead of using
>> NSTreeNode class which is introduced on 10.5?
>>
>> I do especially like to know how to implement codes like
>> NSTreeNode's parentNode and indexPath.
>
>
> Having spent a lot of time working with NSTreeController on 10.4 I can
> tell you that if you want to use it for anything more than very basic
> things, you will find that it is buggy, unreliable and many of the
> features are only available in private methods.
>
> Leopard's implementation is a dream in comparison and if you want to
> do extensive work with NSTreeController then if possible I highly
> recommend targeting Leopard. You will not regret it.
>
> --
> Rob Keniger
>

_______________________________________________

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 and NSTreeNode
      • From: Rob Keniger <email@hidden>
  • Prev by Date: Re: Why is Leopard annoying my users?
  • Next by Date: Re: Custom binding not being updated
  • Previous by thread: Re: NSTreeController and NSTreeNode
  • Next by thread: Re: NSTreeController and NSTreeNode
  • Index(es):
    • Date
    • Thread