• 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
[basics] saving UntitledFile without panel
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[basics] saving UntitledFile without panel


  • Subject: [basics] saving UntitledFile without panel
  • From: david kiers <email@hidden>
  • Date: Sun, 9 Jan 2005 13:12:09 +0100

Hi list,

I'm trying to save a document (created by the NSApp after -(BOOL)applicationShouldOpenUntitledFile: returns YES) without getting the path from a Save panel. I set the filename and directory path with:

[self setFileName:@"/Users/dk/Desktop/vindme.cvw"];

But then:

[currentDocument saveDocument:self];

results in an alert saying that the location of the document cannot be determined.
Any idea on how to make this work?

Thanks, David
 _______________________________________________
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

  • Prev by Date: Framework & OpenSSL
  • Next by Date: Ghost value in NSUserDefaults
  • Previous by thread: Re: Framework & OpenSSL
  • Next by thread: Ghost value in NSUserDefaults
  • Index(es):
    • Date
    • Thread