Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
You will be registering, reading, and setting defaults in several classes in your application. To make sure that you always use the same name, you should declare those strings in a single file and then simply #import that file into any file in which you use the names.
There are several ways to do this. For example, you could use the C preprocessor’s #define command, but most Cocoa programmers use global variables for this purpose. Add the following lines to your PreferenceController.h file after the #import statement: