Creating new/untitled NSPersistentDocuments from template documents?
Creating new/untitled NSPersistentDocuments from template documents?
- Subject: Creating new/untitled NSPersistentDocuments from template documents?
- From: Sean McBride <email@hidden>
- Date: Fri, 01 May 2015 14:26:26 -0400
- Organization: Rogue Research Inc.
Hi all,
I have an NSPersistentDocument-based application.
I'd like to be able to create new/untitled/unsaved documents that are pre-populated with various managed objects. Instead of creating the objects programatically, I'd like to load them from a template document (hidden inside my .app). It's mostly working, but everything I try seems to keep some connection to the hidden template document's URL.
Any suggestions on a kosher way to do this?
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