The prompt of the default button.
- macOS 10.0+
The prompt appears on all
NSSave objects (or all
NSOpen objects if this property is on an
NSOpen instance) in your application. By default, the text in the default button is “Open” for an Open panel and “Save” for a Save panel.
It is intended that short words or phrases, such as “Open,” “Save,” “Set,” or “Choose,” be used on the button. The button is not resized to accommodate long prompts.
Since this method previously affected a title field, any colon at the end of
prompt is removed.