i’d like to save some “workspace” type settings: settings that are tied to the document rather than to the app itself.

things like the selected tab, the sidebar widths, etc.these need to persist even if the user doesn’t save the document — so they’re definitely settings, not document data.

anyone else doing this?

i was hoping there was some hidden corner of NSUserDefaults that handled this, but that doesn’t seem to be the case.

BTW: AI says i should roll my own and just save it to the App Support folder.

Fine, just feels pretty manual. Surprised there’s not a similar facility that is integrated with other user defaults.