Re: accessing filename from save in )dataRepresentationOfType:
Re: accessing filename from save in )dataRepresentationOfType:
- Subject: Re: accessing filename from save in )dataRepresentationOfType:
- From: Brian Webster <email@hidden>
- Date: Wed, 30 Apr 2003 21:21:46 -0500
On Wednesday, April 30, 2003, at 04:23 PM,
email@hidden wrote:
My next dilemma concerns how do I find out what name and directory a
user has given a file the first time they save from the
dataRepresentationOfType routine. fileName doesn't work. It hasn't
been set yet... Ideas?
If you need to know the file you're writing to, you can override
writeToFile:ofType: instead of dataRepresentationOfType:. Take a look
an the docs for NSDocument for more info.
--
Brian Webster
email@hidden
http://homepage.mac.com/bwebster
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.