You may freely copy, distribute and reuse the code in this example.
NeXT disclaims any warranty of any kind, expressed or implied,
as to its fitness for any particular use.
Preferences controller for Edit... To add new defaults search for one of the existing keys. Some keys have UI, others don't; use one similar to the one you're adding.
displayedValues is a mirror of the UI. These are committed by copying these values to curValues.
This module allows for UI where there is or there isn't an OK button. If you wish to have an OK button, connect OK to ok:, Revert to revert:, and don't call commitDisplayedValues from the various action messages.