• 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: Tree Data Structure in objc-C?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Tree Data Structure in objc-C?


  • Subject: Re: Tree Data Structure in objc-C?
  • From: Frank Illenberger <email@hidden>
  • Date: Wed, 30 Nov 2005 15:29:58 +0100

I am still having problems even though I am using the additional count key path.
This happens if you implement an indentation method on your tree structure (outline view). If you then indent a node and use undo (core data), the same wrong index exception occurs.
I have not been able to find a complete way to work around this problem yet.


Frank


The bug is not that serious though. You can solve this by
implementing a count method for the count key path of the
NSTreeController's attributes.

Regards,
Diederik

On 28-nov-2005, at 17:13, Hamish Allan wrote:



On Sun, 27 Nov 2005 21:12:28 -0800, Scott Stevenson <email@hidden> wrote:


Use Core Data and NSTreeController. This is what they're designed
for.


10.4.3 introduced a bad regression bug in NSTreeController. I wouldn't recommend using it until that's fixed, hopefully soon in 10.4.4!

Best wishes,
Hamish

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Prev by Date: bindings and NSNumberFormatter
  • Next by Date: How to interrupt a function
  • Previous by thread: Re: Tree Data Structure in objc-C?
  • Next by thread: How to Solve the Refreshing Problems of NSOpenGLView Placed in a NSScrollVIew
  • Index(es):
    • Date
    • Thread