Re: NSDocument setFileName - File Must Exist?
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