• 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: New Document With A Default Name and Default Path
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: New Document With A Default Name and Default Path


  • Subject: Re: New Document With A Default Name and Default Path
  • From: Cameron Hayne <email@hidden>
  • Date: Tue, 17 May 2005 06:15:03 -0400

On 17-May-05, at 4:37 AM, Kirt Cathey wrote:
 I want to create a new document saved
automatically at a default path with a pre-assigned name

Assuming you are using the NSDocument architecture (you should), it seems to me (I haven't tested this) that you can do this with NSDocument's setFileName: followed by saveDocument:


--
Cameron Hayne
email@hidden


_______________________________________________ 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: New Document With A Default Name and Default Path
      • From: "Kirt Cathey" <email@hidden>
References: 
 >New Document With A Default Name and Default Path (From: "Kirt Cathey" <email@hidden>)

  • Prev by Date: Re: Windows above the menu bar?
  • Next by Date: Re: Accessing MP3 and AAC album art
  • Previous by thread: New Document With A Default Name and Default Path
  • Next by thread: Re: New Document With A Default Name and Default Path
  • Index(es):
    • Date
    • Thread