mirror of
https://github.com/cy384/ssheven.git
synced 2026-05-15 06:05:53 -06:00
[GH-ISSUE #34] Use resource for preferences #31
Labels
No labels
bug
documentation
enhancement
enhancement
pull-request
question
upkeep
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: github-starred/ssheven#31
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @eschaton on GitHub (Feb 28, 2025).
Original GitHub issue: https://github.com/cy384/ssheven/issues/34
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
TMPLresource describing the format of the preferences structure to enable editing the preferences file in a resource editor like ResEdit or Resorcerer.@cy384 commented on GitHub (Mar 2, 2025):
Thanks for the suggestion, I'll have to experiment a bit with it. I do like the TMPL idea.