• 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: Core Data + NSOutlineView + Sorting without NSTreeController
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Data + NSOutlineView + Sorting without NSTreeController


  • Subject: Re: Core Data + NSOutlineView + Sorting without NSTreeController
  • From: Seth Willits <email@hidden>
  • Date: Tue, 10 Jul 2007 13:19:40 -0700

On Jul 8, 2007, at 11:57 AM, Marcus S. Zarra wrote:

If you are going to do that then I would extend the NSManagedObjects and add the tree functionality to them. This would avoid the need to keep a parallel set of objects. Then your parents/branches could have a method that returns the sorted array of children.


The problem with that is I'd only get one tree. The reason to be parallel is that I can have multiple parallel trees showing the same data in different fashions (sorting, filtering, etc) in different views. If I manage the sorting etc in the data model itself, I'm hosed.


-- Seth Willits


_______________________________________________

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


References: 
 >Re: Core Data + NSOutlineView + Sorting without NSTreeController (From: Conor <email@hidden>)
 >Re: Core Data + NSOutlineView + Sorting without NSTreeController (From: Seth Willits <email@hidden>)
 >Re: Core Data + NSOutlineView + Sorting without NSTreeController (From: "Marcus S. Zarra" <email@hidden>)

  • Prev by Date: Re: Core Data and Document Packages
  • Next by Date: Re: New Finder
  • Previous by thread: Re: Core Data + NSOutlineView + Sorting without NSTreeController
  • Next by thread: RS: basic sound tool
  • Index(es):
    • Date
    • Thread