#cp.app.prefs
Provides access to application preferences, typically stored via NSUserDefaults
or CFProperties
. To access the preferences, simply pass in the Bundle ID (eg. "com.apple.Preview") and it will return a table whose keys can be accessed or updated, or iterated via ipairs
.
For example:
#API Overview
Functions - API calls offered directly by the extension
Constructors - API calls which return an object, typically one that offers API methods