Re: Core Data Abstractions
Re: Core Data Abstractions
- Subject: Re: Core Data Abstractions
- From: mmalcolm crawford <email@hidden>
- Date: Mon, 30 May 2005 21:32:37 -0700
On May 30, 2005, at 6:37 PM, T Reaves wrote:
On May 30, 2005, at 6:43 PM, mmalcolm crawford wrote:
(a) It's a perfectly respectable design pattern, not a "nasty hack".
(b) The whole point is to not have to create and manage
collections manually -- you simly use the relationship.
Well then perhaps I misunderstand your solution. I thought you
were saying to create an entity with a to-many relationship to
another entity. Then, on the first entity, you could call
myCollection, or whatever named accessor. This would certainly be
a nasty hack (adding objects to an application not for business
reasons, but ill-fitting implementation reasons), and would require
adding instances of the second entity to the collection of the
first entity, wether by explicit adding or via a factory method
would be irrelevant.
Yes, I do mean add another entity, and no, it's not a nasty hack.
mmalc
_______________________________________________
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