• 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
Does the NSPersistentContainer name mean anything?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Does the NSPersistentContainer name mean anything?


  • Subject: Does the NSPersistentContainer name mean anything?
  • From: Daryle Walker <email@hidden>
  • Date: Sun, 12 Feb 2017 19:48:33 -0500

For the one-argument initializer, the name is used to figure out where the model file is. But I’m using the two-argument initializer, where I already give the model file’s location (because it’s in my framework’s bundle). Can I just put any random thing there (even an empty string), or is the name still relevant?

—
Daryle Walker
Mac, Internet, and Video Game Junkie
darylew AT mac DOT com

_______________________________________________

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: Sometimes all my menus are disabled
  • Next by Date: Re: Sometimes all my menus are disabled
  • Previous by thread: Is it OK to use the default initializer of NSPersistentStoreDescription?
  • Next by thread: Throwing an error from a NSDocument.init override
  • Index(es):
    • Date
    • Thread