Elektrine lite

← Feed

@isaiah@mastodon.social

Post #839664

2026-03-29 18:31 UTC

thanks everyone for helping with document/project/workspace settings. there doesn't really seem to be any sort of facility to do this within the Cocoa frameworks. using NSDocument prevents out-of-band writing to the documents NSFileWrapper. not using NSDocument means building your own file coordination and all the other complex stuff NSDocument does. saving to the app support folder or to NSUserDefaults makes unique keys the difficult problem. IOW: there are no easy or de facto solutions.

Replies (1)

  • @tapforms@mastodon.social 2026-03-30 08:41

    @isaiah@mastodon.social I don't use NSFileWrapper. Maybe that's why it works for me. I still use NS/UIDocument though. I just treat the bundle like the root of my folder hierarchy.

    Open ##844313