accessoryView
Makes a view an accessory of the Spelling panel by making it a subview of the panel’s content view.
Declaration
var accessoryView: NSView? { get set }Parameters
- aView:
The accessory view displayed in the receiver.
Discussion
The accessory view can be any custom view you want to display with the spelling panel. The accessory view is displayed below the spelling checker and the panel automatically resizes to accommodate the accessory view.
This method posts a notification named didResizeNotification with the Spelling panel object to the default notification center.