• 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: Core Data migration: how to delete some managed objects?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Data migration: how to delete some managed objects?


  • Subject: Re: Core Data migration: how to delete some managed objects?
  • From: Sean McBride <email@hidden>
  • Date: Wed, 06 Mar 2013 13:52:19 -0500
  • Organization: Rogue Research Inc.

On Tue, 5 Mar 2013 18:56:32 -0800, Jerry Krinock said:

>> I take it you are using your technique successfully in practice?
>
>Maybe not.  I'd pasted in some of my code but modified it for your
>case.  Although I have done a lot of stuff in that method, I'm not sure
>if I have ever used that specific technique of *not* invoking super, to
>"delete" an object.

OK, well, it seems to be working well at least!

>If you invoked associateSourceInstanc
>e:withDestinationInstance:forEntityMapping: per the documentation, you'd
>pass nil for destinationInstance.  And then it will either (1)
>degenerate internally to a no-op, (2) raise an exception, or (3) crash.
>You can figure it out from there :)

As I said in my previous post, it goes boom. :(  I'll just not invoke super, it seems the right stuff is happening...

Thanks!

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada



_______________________________________________

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


References: 
 >Core Data migration: how to delete some managed objects? (From: Sean McBride <email@hidden>)
 >Re: Core Data migration: how to delete some managed objects? (From: Jerry Krinock <email@hidden>)
 >Re: Core Data migration: how to delete some managed objects? (From: Sean McBride <email@hidden>)
 >Re: Core Data migration: how to delete some managed objects? (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: Turning off screen shot ability
  • Next by Date: Re: Turning off screen shot ability
  • Previous by thread: Re: Core Data migration: how to delete some managed objects?
  • Next by thread: getting ivar of fundamental types with object_getInstanceValue
  • Index(es):
    • Date
    • Thread