• 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
Determine if a document is "new"
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Determine if a document is "new"


  • Subject: Determine if a document is "new"
  • From: Bryan Zarnett <email@hidden>
  • Date: Sun, 23 May 2010 07:24:16 -0400

I have a Document-based core data application ( from template). I would like to determine in "MyDocument" if the file is new -- has no content so that I can populate a few of the models with required default data.

I was wondering what is the base way to approach this? I didn't see any particular API like IsNewDocument() which would have been handy!

Thoughts?

Bryan


_______________________________________________

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: Determine if a document is "new"
      • From: Martin Hewitson <email@hidden>
  • Prev by Date: Re: getting file creation date from NTFS
  • Next by Date: Re: Determine if a document is "new"
  • Previous by thread: Re: nsprogressindicator change color
  • Next by thread: Re: Determine if a document is "new"
  • Index(es):
    • Date
    • Thread