• 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: CoreData/NSPersistentDocument initialization
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CoreData/NSPersistentDocument initialization


  • Subject: Re: CoreData/NSPersistentDocument initialization
  • From: mmalcolm crawford <email@hidden>
  • Date: Sat, 3 Sep 2005 23:01:54 -0700


On Sep 3, 2005, at 6:33 PM, Paul Forgey wrote:

I am trying to initialize my document data for new documents only. Traditionally, this has been done in the init: method for NSDocument which was called only for new, empty untitled documents. It appears NSPersistentDocument's init method is always called for both new and existing documents. I can't find any way to differentiate the two situations. What am I missing?

<http://developer.apple.com/documentation/Cocoa/Conceptual/ NSPersistentDocumentTutorial/04_Department/chapter_5_section_2.html#// apple_ref/doc/uid/TP40001799-CH223-DontLinkElementID_22>


<http://developer.apple.com/documentation/Cocoa/Reference/ ApplicationKit/ObjC_classic/Classes/NSDocument.html#//apple_ref/doc/ uid/20000008-BBCDJDAI>

mmalc

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >CoreData/NSPersistentDocument initialization (From: Paul Forgey <email@hidden>)

  • Prev by Date: Re: Core Data : where are the docs ?
  • Next by Date: Re: NSScrollView: iPhoto/iTunes border type?
  • Previous by thread: Re: CoreData/NSPersistentDocument initialization
  • Next by thread: NSTableView
  • Index(es):
    • Date
    • Thread