• 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: Good way to have default relationship to override nil?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Good way to have default relationship to override nil?
      • From: Jim Thomason <email@hidden>
References: 
 >Good way to have default relationship to override nil? (From: Jim Thomason <email@hidden>)

  • Prev by Date: Re: AutoLayout textfield against accessory view
  • Next by Date: Re: Issuing NSTextField action message
  • Previous by thread: Good way to have default relationship to override nil?
  • Next by thread: Re: Good way to have default relationship to override nil?
  • Index(es):
    • Date
    • Thread