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

Re: NSDocument and Saving File Packages


  • Subject: Re: NSDocument and Saving File Packages
  • From: David McGavern <email@hidden>
  • Date: Wed, 29 Sep 2004 19:39:23 -0400

I don't know if this would be appropriate for my app, because I don't want to save and load the entire package at once (which appears to be what NSFileWrapper does). Basically, there's one part of the package I want to load, and one part I want to save when the user actually invokes a Save command. I've got the loading finished, but I can't get the saving to work without getting the "Cannot save document" message :-(.

Thanks for your help though! :-)

- Davey

On Sep 29, 2004, at 12:04 AM, Sherm Pendley wrote:

On Sep 28, 2004, at 11:05 PM, David McGavern wrote:

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.

Override -fileWrapperRepresentationOfType: and -loadFileWrapperRepresentation:ofType:.


sherm--


_______________________________________________ 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>
References: 
 >NSDocument and Saving File Packages (From: David McGavern <email@hidden>)
 >Re: NSDocument and Saving File Packages (From: Sherm Pendley <email@hidden>)

  • Prev by Date: Re: makeFirstResponder NOT working
  • Next by Date: Re: Scripting support problems
  • Previous by thread: Re: NSDocument and Saving File Packages
  • Next by thread: Re: NSDocument and Saving File Packages
  • Index(es):
    • Date
    • Thread