• 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: Cocoa-dev Digest, Vol 10, Issue 388
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cocoa-dev Digest, Vol 10, Issue 388


  • Subject: Re: Cocoa-dev Digest, Vol 10, Issue 388
  • From: Flavio Donadio <email@hidden>
  • Date: Mon, 24 Jun 2013 10:55:41 -0300

Hello, people!


After reading all this thread and watching it deviate from the problem at hand into a philosophical argument, I think it's time to answer the unanswered question...

Rick Mann, I don't understand why you need a separate relationship to retrieve the active Child objects. Please, consider doing this:

Parent
 children     to-many to Child

Child
 parent       to-one to Parent
 active      (boolean)

And then create an activeChildren: method in Parent with returns only the active children.

Sorry if this is not acceptable. I am just trying to help.


Cheers,
Flavio


On 24/06/2013, at 04:07, email@hidden wrote:

> On Jun 23, 2013, at 09:11 , Gordon Apple <email@hidden> wrote:
>
>> On the original question asked in this thread,  I have several similar
>> places where I use a root object to also persist an object selection in the
>> referenced collection.  I could not see burdening the collection objects
>> with another inverse relationship, so I just let these dangle, and ignore
>> the compiler¹s complaints, because this is something that can usually be
>> recovered from if there is a problem.


_______________________________________________

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


  • Prev by Date: Re: Why is it wrong to have relationships without an inverse in Core Data?
  • Next by Date: Re: Why is it wrong to have relationships without an inverse in Core Data?
  • Previous by thread: Re: How to determine the Http Method type being implemented for web service API
  • Next by thread: Re: Why is it wrong to have relationships without an inverse in Core Data?
  • Index(es):
    • Date
    • Thread