Hello, I need to handle an "export" function in a document-based application.
When the user creates the document, he can also choose a couple of path where to save different exported results (e.g. "~/Documents/exporteddata.xml"). The document contains security bookmarks that point to those files, so that when the user reopens the document, he can simply hit "export" to generated them again, overwriting the previous data. Problem is, if the user moves one of those files to the trash, the next time the application resolves the security bookmark it will point to the deleted file (ie. something like ".../.Trash/..."). I'd rather like the application to keep on re-creating the file at the path the user has chosen in the first place (ie. "~/Documents/exporteddata.xml"). Is it possible? Or how do you handle this scenario in an user-friendly way? -- Simone Tellini http://tellini.info _______________________________________________ Cocoa-dev mailing list ([email protected]) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [email protected]
