• 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: "save as" in a document based app
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "save as" in a document based app


  • Subject: Re: "save as" in a document based app
  • From: Sherm Pendley <email@hidden>
  • Date: Mon, 26 Mar 2007 17:39:25 -0400

On Mar 26, 2007, at 4:59 PM, Jerry Krinock wrote:

On 2007 Mar, 26, at 13:21, Jaime Magiera wrote:

I've read the Document Based Applications guide and done some googling. However, I'm still not clear on implementing "Save As" in a document based app (just for saving under different title, not different file type). Could someone point me in the correct direction :)

Here's a quick answer. If at all possible, create a new Cocoa document-based project from scratch in Cocoa. I hope that you get "Save As" for free. A couple months ago I "retrofitted" an application which was originally a non-document-based application to have "Save As", etc. It was a major conundrum for me, and, as you have found, not well documented.

As a newly-created app shows, it's connected to First Responder's "saveDocumentAs:" action. That's implemented in NSDocument, and calls down to the primitive methods you've already provided in your NSDocument subclass.


No insult intended, but I don't see where the conundrum is here.

sherm--

Web Hosting by West Virginians, for West Virginians: http://wv-www.net
Cocoa programming in Perl: http://camelbones.sourceforge.net


_______________________________________________

Cocoa-dev mailing list (email@hidden)

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: "save as" in a document based app
      • From: Jaime Magiera <email@hidden>
References: 
 >"save as" in a document based app (From: Jaime Magiera <email@hidden>)
 >Re: "save as" in a document based app (From: Jerry Krinock <email@hidden>)

  • Prev by Date: Re: [SOLVED!] Progress Sheet on a NSDocument
  • Next by Date: Re: "save as" in a document based app
  • Previous by thread: Re: "save as" in a document based app
  • Next by thread: Re: "save as" in a document based app
  • Index(es):
    • Date
    • Thread