NSDocumentController currentDirectory is nil
NSDocumentController currentDirectory is nil
- Subject: NSDocumentController currentDirectory is nil
- From: Matthew Weinstein <email@hidden>
- Date: Fri, 25 Mar 2005 09:05:42 -0500
Dear cocoa-istas,
My app puts up an XCode style new project panel when the app has
finished launching. That works fine. I have a browse button so that
users can put the project where they want; that works exactly as
expected. The problem is that I want to show the user the directory
that will pop up when they pick the browse button. It would seem easy:
[[NSDocumentController sharedDocumentController] currentDirectory]
seems like just the ticket!
Here's the problem: it keeps returning nil. :-(
Is there a way to do this? What am I doing wrong.
Matthew Weinstein
Associate Professor of Science Education
Kent State University
404 J White Hall
Kent, OH 44242
email@hidden
330 672-0653
_______________________________________________
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