Integrate your app's custom preferences into the System Preferences app.
- macOS 10.1+
Use the Preference Panes framework to integrate your custom system-level preferences into the System Preferences app. You use this framework to implement a preference pane bundle, which contains the custom interface you want to display to the user. You then install your bundle in the appropriate
Library/Preference directory on the user's system.
System Preferences works with your bundle's custom
NSPreference object to manage the presentation of your custom interface to the user. System Preferences loads the view provided by your bundle and delivers lifecycle events to your preference pane object. Use that object to respond to interactions with the controls and views of your interface and to save any settings changes to the user's defaults database.