• 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 setFileName - File Must Exist?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSDocument setFileName - File Must Exist?


  • Subject: Re: NSDocument setFileName - File Must Exist?
  • From: Seth Willits <email@hidden>
  • Date: Wed, 2 Feb 2005 17:35:19 -0800

On Feb 2, 2005, at 1:42 PM, Sherm Pendley wrote:

On Jan 31, 2005, at 1:07 AM, Seth Willits wrote:

In an attempt to replicate a feature similar to Xcode's New Project window, I used NSDocumentController's makeUntitledDocumentOfType: method to create a new document instance

I don't think that's what Xcode is doing - notice that it's impossible to create an unnamed project. I think it's creating a new blank project folder and then using one of the -openDocument... methods to open it.

But then one would need to write code to create a document in some place other than the document class itself, no?




Seth Willits
------------------------------------------------------------------------ ---
President and Head Developer of Freak Software - http://www.freaksw.com
REALbasic Guru at ResExcellence - http://www.resexcellence.com/realbasic


"More praise of peace is easy but ineffective. What is needed is active
participation in the fight against war and everything that leads to it."
-- Albert Einstein
------------------------------------------------------------------------ ---


_______________________________________________
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 setFileName - File Must Exist?
      • From: Sherm Pendley <email@hidden>
References: 
 >Re: NSDocument setFileName - File Must Exist? (From: Sherm Pendley <email@hidden>)

  • Prev by Date: Re: Method not seeing array as array
  • Next by Date: Re: Method not seeing array as array
  • Previous by thread: Re: NSDocument setFileName - File Must Exist?
  • Next by thread: Re: NSDocument setFileName - File Must Exist?
  • Index(es):
    • Date
    • Thread