• 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 model configuration & Leopard
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core data model configuration & Leopard


  • Subject: Re: Core data model configuration & Leopard
  • From: Chris Hanson <email@hidden>
  • Date: Sun, 28 Oct 2007 23:12:27 -0700

On Oct 28, 2007, at 5:45 PM, email@hidden wrote:

coordinator = [[NSPersistentStoreCoordinator alloc] initWithManagedObjectModel: [self managedObjectModel]];

What's the implementation of -managedObjectModel look like? Is it creating a merged model from all frameworks you're using, or is it just loading a specific model from your application bundle?


It should really do the latter, so you don't wind up with extraneous entities in the schema for your SQLite persistent store. Otherwise you could wind up with a persistent store that you can't open after changing the configuration of your system or on another system.

  -- Chris

_______________________________________________

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: Core data model configuration & Leopard
      • From: Bill <email@hidden>
References: 
 >Core data model configuration & Leopard (From: email@hidden)

  • Prev by Date: [Moderator] List Guidelines and Resources
  • Next by Date: Interface Builder 3.0 and applying window style: textured
  • Previous by thread: Re: Core data model configuration & Leopard
  • Next by thread: Re: Core data model configuration & Leopard
  • Index(es):
    • Date
    • Thread