When I was typing in a test object of type NSPersistentStoreDescription (on 
Xcode 8 with Swift 3), the auto-complete gave me two initializers. Besides the 
documented one that takes a URL, there’s one that takes no arguments. Its own 
notes say it’s for subclasses. I, however, am describing an in-memory store, 
which doesn’t need a URL (as far as I know).

Is this an official way to start declaring a NSPersistentStoreDescription (for 
in-memory stores)? Or should I put in a junk URL in the publicized initializer 
then set the field to NIL?

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

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to