Returns an interface style value for the specified key and responder.
- macOS 10.0–10.8Deprecated
Used to determine an interface style based on a key and a responder, either of which may be
NSInterface value specifies the style in which an interface item, such as a button or a scroll bar, should be drawn. For example, a value of
NSMacintosh indicates an item should be drawn in the Macintosh style. The values defined for
NSMacintosh. Note that this function never returns
The interface style value returned by this function depends on several factors. If responder is not
nil and if responder specifies an interface style other than
NSNo, this function returns the responder’s style, and
key is ignored.
key is not
nil and there is an interface style for
key specified by the defaults system, this function returns the interface style for
key from the defaults system.
nil, or if there is no interface style for
key specified by the defaults system, this function returns the global interface style specified by the defaults system.
The defaults system allows an application to customize its behavior to match a user’s preferences. You can read about the defaults system in the documentation for