NSControl subclasses don’t always indicate when they send their action message

Originator:martin.kuehl
Number:rdar://23702185 Date Originated:01-Dec-2015 10:01 AM
Status:Open Resolved:
Product:Documentation Product Version:
Classification:UI/Usability Reproducible:Always
 
Summary:
The class reference for subclasses of NSControl does not always state when they send their action message.

For example, NSButton[1] states that it is a subclass of NSControl and that
“An NSButton object sends an action message to a target object, such as a view controller, when the button is clicked.”

NSDatePicker[2] declares that it is a subclass of NSControl but omits information about its action:
“NSDatePicker is a subclass of NSControl that provides a user interface for displaying and editing an NSDate object.”

NSBrowser[3] only references NSControl in the “Inherits from” tree, and information about its action can only be inferred from reading the documentation of the `sendsActionOnArrowKeys` property, or by searching the internet for the original NeXT documentation[4].

[1]: https://developer.apple.com/library/mac/documentation/Cocoa/Reference/ApplicationKit/Classes/NSButton_Class/index.html#//apple_ref/occ/cl/NSButton
[2]: https://developer.apple.com/library/mac/documentation/Cocoa/Reference/ApplicationKit/Classes/NSDatePicker_Class/index.html#//apple_ref/occ/cl/NSDatePicker
[3]: https://developer.apple.com/library/mac/documentation/Cocoa/Reference/ApplicationKit/Classes/NSBrowser_Class/index.html#//apple_ref/occ/instp/NSBrowser/sendsActionOnArrowKeys
[4]: https://www.gnu.org/software/gnustep/resources/OpenStepSpec/ApplicationKit/Classes/NSBrowser.html

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!