Re: NSArrayController in entity mode and permutations (CoreData question)
Re: NSArrayController in entity mode and permutations (CoreData question)
- Subject: Re: NSArrayController in entity mode and permutations (CoreData question)
- From: Kyle Sluder <email@hidden>
- Date: Mon, 12 Apr 2010 13:22:53 -0700
On Mon, Apr 12, 2010 at 12:12 PM, vincent habchi <email@hidden> wrote:
> 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?
You're advocating an explicit violation of MVC. Why not instead move
the code into the model where it belongs and have the controller ask
the model to perform the operation?
--Kyle Sluder
_______________________________________________
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