• 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
NSDocument and Saving File Packages
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSDocument and Saving File Packages


  • Subject: NSDocument and Saving File Packages
  • From: David McGavern <email@hidden>
  • Date: Tue, 28 Sep 2004 23:05:06 -0400

Hello :-),

In my app, I want to save a file package (like an rtfd), but I cannot find an easy way to allow NSDocument to do this gracefully. I've tried overriding writeToFile:ofType: and then writing the file package myself, but when I return yes I still get a "Cannot save document" sheet in my main window. Also, the icon position isn't retained on the desktop when I write the file contents myself :-(.

Anyone know how to deal with file packages and NSDocument? Help would be greatly appreciated!

Thanks!

- Davey

_______________________________________________
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: NSDocument and Saving File Packages
      • From: Sherm Pendley <email@hidden>
  • Prev by Date: Re: Updating UI Date formats on user NSUserDefault changes
  • Next by Date: Re: Table Editing
  • Previous by thread: Re: Retain cycle problem with bindings & NSWindowController
  • Next by thread: Re: NSDocument and Saving File Packages
  • Index(es):
    • Date
    • Thread