The Preferences class is an easy way to make variables in an application persist in a file. The file is human readable, through the magic of YAML. Preferences vary from user to user, so typically the file used for persistence will be chosen based on the users environment as well as the name of the app. Any pair of methods that look like a reader/writer pair can be persisted, so existing variables can be stored with little additional fuss and bother.
The Preferences class is an easy way to make variables in an application persist in a file. The file is human readable, through the magic of YAML. Preferences vary from user to user, so typically the file used for persistence will be chosen based on the users environment as well as the name of the app. Any pair of methods that look like a reader/writer pair can be persisted, so existing variables can be stored with little additional fuss and bother.
To install rb-preferences, run the following command in macOS terminal (Applications->Utilities->Terminal)
sudo port install rb-preferences
To see what files were installed by rb-preferences, run:
port contents rb-preferences
To later upgrade rb-preferences, run:
sudo port selfupdate && sudo port upgrade rb-preferences
Reporting an issue on MacPorts Trac
The MacPorts Project uses a system called Trac to file tickets to report bugs and enhancement requests.
Though anyone may search Trac for tickets, you must have a GitHub account in order to login to Trac to create tickets.