Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: accessing filename from save in )dataRepresentationOfType:



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.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.