Re: Good way to have default relationship to override nil?
Re: Good way to have default relationship to override nil?
- Subject: Re: Good way to have default relationship to override nil?
- From: Jerry Krinock <email@hidden>
- Date: Wed, 20 Aug 2014 14:14:20 -0700
> On 2014 Aug 20, at 12:41, Jim Thomason <email@hidden> wrote:
>
> I have a set of relationships:
>
> Foo.proxy <----> Foo.proxyFor
That’s a head-scratcher, Jim. A relationship is not between properties. A relationship is between objects,
Foo <——> Bar
In some cases, probably yours, the objects may be of the same type…
Foo <—> Foo
Now on to the real issue…
> [someFooObj setProxy:otherFooObj] ;
>
> All hell breaks loose
>
> I finally fixed this by -not- overriding the Core Data setter
You didn’t post your override of -setProxy:. Post that override, and maybe someone can answer your questions.
_______________________________________________
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