• 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: -saveDocument: and package problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: -saveDocument: and package problems


  • Subject: Re: -saveDocument: and package problems
  • From: Benjamin Stiglitz <email@hidden>
  • Date: Wed, 20 Feb 2008 07:30:31 -0800

To save the package, I've overridden NSDocument's -saveDocument:. It doesn't call super's method at all - all it does is write any text files that have been marked as changed into the project package as RTFD files and saves the project dictionary file.

Is there any reason you’re not using -fileWrapperOfType:error: and letting the document machinery handle things for you?


-Ben_______________________________________________

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


References: 
 >-saveDocument: and package problems (From: Keith Blount <email@hidden>)

  • Prev by Date: Re: setWantsLayer: YES causing font render problem?
  • Next by Date: Problem with NSStream newbie question
  • Previous by thread: -saveDocument: and package problems
  • Next by thread: Re: -saveDocument: and package problems
  • Index(es):
    • Date
    • Thread