2 ms·
What does being "global" mean here, and why is it good? macOS apps don't have to search for their config files either; support for them is baked into their sys
by Razengan 7y ago
What does being "global" mean here, and why is it good?
macOS apps don't have to search for their config files either; support for them is baked into their system APIs as well.
The macOS/iOS UserDefaults system is actually very nice, allowing multiple tiers/domains for precedence of settings. For example a specific setting may be optionally overridden for a single session via any app's launch arguments [0]. How do you achieve something like that with the Registry?
The Registry architecture may make things easier for Microsoft, but the plist architecture seems to make things easier for users and developers.
[0] https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/UserDefaults/AboutPreferenceDomains/AboutPreferenceDomains.html#//apple_ref/doc/uid/10000059i-CH2-96930 https://developer.apple.com/library/archive/documentation/Co...