• 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
Creating new/untitled NSPersistentDocuments from template documents?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Creating new/untitled NSPersistentDocuments from template documents?
      • From: Steve Mills <email@hidden>
  • Prev by Date: Re: Spinning the busy indicator
  • Next by Date: Re: Creating new/untitled NSPersistentDocuments from template documents?
  • Previous by thread: Re: Bindings across view controllers in OS X storyboards
  • Next by thread: Re: Creating new/untitled NSPersistentDocuments from template documents?
  • Index(es):
    • Date
    • Thread