The System Configuration Framework

The user is free to change aspects of their system configuration at any time, such as changing their network location from Office to Home. Changing the network location could change a number of lower-level settings, such as which IP addresses the machine has available and which DNS servers to use. There are also system parameters that change dynamically, such as the battery level in laptops. In some situations, your application needs to be able to react to these changes. For example, if you have a network socket listening on a particular IP address (as opposed to listening on all of them), you’ll need to listen on the new IP if the user changes it.

In Mac OS X 10.1, Apple introduced the system configuration ...

Get Advanced Mac OS X Programming: The Big Nerd Ranch Guide now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.