fileURL - retrieving from NSDocument
fileURL - retrieving from NSDocument
- Subject: fileURL - retrieving from NSDocument
- From: David Wilson <email@hidden>
- Date: Wed, 23 Nov 2005 22:04:19 +1300
Hello everyone...
I'm stuck... confused... not sure where to go... that lead me
here! :-)
I have a Document based App, built by Xcode, so the default
NSDocument is call MyDocument (I've left that unchanged). I want to
know what the FileName of the currently active window is, so after
reading the NSDocument document, it looked like "fileURL" was the
right thing to call, it would return the documents filename for me.
Perfect!
However, [self fileURL]is returning a compiler warning >'MyDocument'
may not respond to '+fileUR'L<
+ (NSURL *)diskFileName
{
NSURL * documentURL;
documentURL = [self fileURL];
return documentURL;
}
I'm confused, probably off track...
Xcode = 2.2
OS = 10.4.3
- 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