• 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 : Splitting an Entity : Source Fetch ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Data Migration : Splitting an Entity : Source Fetch ?


  • Subject: Re: Core Data Migration : Splitting an Entity : Source Fetch ?
  • From: Jerry Krinock <email@hidden>
  • Date: Tue, 14 Sep 2010 21:02:52 -0700

On 2010 Sep 13, at 15:38, Jerry Krinock wrote:

> …I found that Xcode accepted my input if I set "Source Fetch" to Default and entered one of these as "Filter Predicate":
>
>    ($source.beak != nil)      // Bird
>    ($source.beak == nil)      // Fish

Upon studying my situation a little further, I realized that my Birds and Fish also needed to be moved to a different managed object context.  (Yup, some serious database rework.)  Since Xcode's mapping model editor can't do that, I had to delete these Entity Mappings, and instead implement them in code (NSEntityMigrationPolicy) where, of course, it worked.

Maybe next time.

_______________________________________________

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 : Splitting an Entity : Source Fetch ? (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: NSOutlineView Drag and Drop
  • Next by Date: Re: NSOutlineView Drag and Drop
  • Previous by thread: Core Data Migration : Splitting an Entity : Source Fetch ?
  • Next by thread: Interpreting a Crash Log
  • Index(es):
    • Date
    • Thread