ssheven
ssheven copied to clipboard
Use resource for preferences
Rather than having to format and parse the preferences to/from the data fork of a preferences file, you can save/restore a complete structure to/from a resource in the preferences file's resource fork.
You could also include a TMPL resource describing the format of the preferences structure to enable editing the preferences file in a resource editor like ResEdit or Resorcerer.
Thanks for the suggestion, I'll have to experiment a bit with it. I do like the TMPL idea.