In Cocoa, when the user wants the document they're working on saved I need to have the file saved with a specific file name and path. The functionality I'd like is after the sheet comes up that says "Do you want to save the changes..." and the user presses "Save", I provide the file name and path and the file saves (for new documents of course). I'm using a Core Data app with an NSPersistentDocument handling the saves right now.
Can anyone point me in the right direction?