• 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
MyDocument File Save Overrides.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

MyDocument File Save Overrides.


  • Subject: MyDocument File Save Overrides.
  • From: Kevin Bracey <email@hidden>
  • Date: Tue, 21 Nov 2006 12:09:05 +1300

Hi All,

I've got a file saving problem. I think I'm missing an override in MyDocument somewhere but I'm unsure which.

I've implemented fileWrapperOfType: error: and readFromFileWrapper: ofType: error:

and these work great if the document hasn't been saved, I get presented with a Save Sheet and my Document or Package get saved.

but after making additional changes and the document becoming dirty, I then do a save and it doesn't save, in fact it zeros out the file leaving an empty file.

Do I need to override something else, if so which one? Or do I have a problem in my initial FileWrapper overrides.

Cheers
Kevin
_______________________________________________
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


  • Follow-Ups:
    • Re: MyDocument File Save Overrides.
      • From: Kevin Bracey <email@hidden>
  • Prev by Date: Re: New WebView
  • Next by Date: Re: New WebView
  • Previous by thread: Re: New WebView
  • Next by thread: Re: MyDocument File Save Overrides.
  • Index(es):
    • Date
    • Thread