Has anyone written any classes for correctly writing to and retrieving from an applications preferences file on MAC which is sandbox safe etc?
Check out Macoslib (https://github.com/macoslib/macoslib). This has TTsPrefs, which should be sandbox safe.
Or put it into your App Support folder and sandboxing won’t matter.
I’ll have a look at that thanks