• 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: NSArrayController in entity mode and permutations (CoreData question)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSArrayController in entity mode and permutations (CoreData question)


  • Subject: Re: NSArrayController in entity mode and permutations (CoreData question)
  • From: vincent habchi <email@hidden>
  • Date: Mon, 12 Apr 2010 21:12:53 +0200

Quincey,

thanks a lot

> Surely it would be more robust to make the order explicit in your data model (with a transient property if the order really is transient) and let the array controller keep the displayed content sorted according to that order?

Sure, I could do that. In fact I have done it: This order is not a property of the inserted object, but of one liked therewith. But tell me, would drag-and-drop work by just rearranging an object ID?

Besides, the proxy solution has one advantage: since the object in the NSArrayController reacts to actions performed on buttons linked to it, I think it is better to have code in the proxy object rather than on the NSManaged one, that gets overwritten every time I alter it, even slightly. What do you think?

Thanks again,
Vincent


_______________________________________________

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: NSArrayController in entity mode and permutations (CoreData question)
      • From: Quincey Morris <email@hidden>
    • Re: NSArrayController in entity mode and permutations (CoreData question)
      • From: Kyle Sluder <email@hidden>
References: 
 >NSArrayController in entity mode and permutations (CoreData question) (From: vincent habchi <email@hidden>)
 >Re: NSArrayController in entity mode and permutations (CoreData question) (From: Quincey Morris <email@hidden>)
 >Re: NSArrayController in entity mode and permutations (CoreData question) (From: Quincey Morris <email@hidden>)

  • Prev by Date: Re: Data managment
  • Next by Date: Re: Data managment
  • Previous by thread: Re: NSArrayController in entity mode and permutations (CoreData question)
  • Next by thread: Re: NSArrayController in entity mode and permutations (CoreData question)
  • Index(es):
    • Date
    • Thread