Deprecated NSResponder Methods
A method identified as deprecated has been superseded and may become unsupported in the future.
Deprecated in OS X v10.8
interfaceStyle
Returns the receiver’s interface style. (Deprecated in OS X v10.8.)
Discussion
interfaceStyle is an abstract method in NSResponder and just returns NSNoInterfaceStyle. It is overridden in classes such as NSWindow and NSView to return the interface style, such as NSMacintoshInterfaceStyle. A responder’s style (if other than NSNoInterfaceStyle) overrides all other settings, such as those established by the defaults system.
Availability
- Available in OS X v10.0 and later.
- Deprecated in OS X v10.8.
See Also
Declared In
NSInterfaceStyle.hperformMnemonic:
Overridden by subclasses to handle a mnemonic. (Deprecated in OS X v10.8.)
Parameters
- aString
A string containing mnemonic character code or codes.
Discussion
If the character code or codes in aString match the receiver’s mnemonic, the receiver should perform the mnemonic and return YES. The default implementation does nothing and returns NO. Mnemonics are not supported in OS X.
Availability
- Available in OS X v10.0 and later.
- Deprecated in OS X v10.8.
See Also
-
performMnemonic:(NSView)
Declared In
NSResponder.hsetInterfaceStyle:
Sets the receiver’s style to the style specified by interfaceStyle, such as NSMacintoshInterfaceStyle or NSWindows95InterfaceStyle. (Deprecated in OS X v10.8.)
Parameters
- interfaceStyle
An
enumconstant identifying an interface style.
Discussion
setInterfaceStyle: is an abstract method in NSResponder, but is overridden in classes such as NSWindow and NSView to actually set the interface style. You should almost never need to invoke or override this method, but if you do override it, your version should always invoke the implementation in super.
Availability
- Available in OS X v10.0 and later.
- Deprecated in OS X v10.8.
See Also
Declared In
NSInterfaceStyle.h© 2011 Apple Inc. All Rights Reserved. (Last updated: 2011-06-06)