• 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: init code for new document only
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: init code for new document only


  • Subject: Re: init code for new document only
  • From: mmalcolm crawford <email@hidden>
  • Date: Sat, 22 Apr 2006 12:00:08 -0700


On Apr 22, 2006, at 8:46 AM, Alan Donsky wrote:

I want to run certain code ONLY when a new doc is created but NOT when opening a document.

This is answered explicitly in the persistent document tutorial:

<http://developer.apple.com/documentation/Cocoa/Conceptual/ NSPersistentDocumentTutorial/index.html>

and in the API reference:

<http://developer.apple.com/documentation/Cocoa/Reference/ ApplicationKit/ObjC_classic/Classes/NSDocument_index.html>

Please check the documentation before asking questions.

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: 
 >init code for new document only (From: Alan Donsky <email@hidden>)

  • Prev by Date: Re: debugger problem
  • Next by Date: Re: Core Data Merged Models
  • Previous by thread: init code for new document only
  • Next by thread: debugger problem
  • Index(es):
    • Date
    • Thread