• 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: CoreData, OutlineView, and NSTreeController
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CoreData, OutlineView, and NSTreeController


  • Subject: Re: CoreData, OutlineView, and NSTreeController
  • From: Johnny Deadman <email@hidden>
  • Date: Fri, 20 May 2005 08:42:58 -0400

one way of fixing this is to implement a 'managed linked list' and use that for ordered sets of objects. That's what I did, anyway.

On 20-May-05, at 12:22 AM, Lee Morgan wrote:

This is similar to a problem, expect mine is CoreData entities being ordered incorrectly in menus. I'm having to "correct" this over and over again in my app. Unlike an array where items are ordered by the order that you add them to the array in, the NSSet that CoreData uses isn't - best guess is NSSet has some performance gain over NSArray? In turn I've been having to implement Sort Descriptors (NSSortDescriptor) all over the place. This is quite annoying, but I haven't found a better way.

- lee


On May 20, 2005, at 12:01 AM, Steve Moore wrote:


So, after all of that, we breathlessly arrive at the question: How do I make sure that the brahmans are presented in the same order each time the document is opened?


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


This email sent to email@hidden



_______________________________________________ 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
References: 
 >CoreData, OutlineView, and NSTreeController (From: Steve Moore <email@hidden>)
 >Re: CoreData, OutlineView, and NSTreeController (From: Lee Morgan <email@hidden>)

  • Prev by Date: Re: Length of a file
  • Next by Date: Re: Length of a file
  • Previous by thread: Re: CoreData, OutlineView, and NSTreeController
  • Next by thread: Re: CoreData, OutlineView, and NSTreeController
  • Index(es):
    • Date
    • Thread