Document Revision History

This table describes the changes to NSAlert Class Reference.

DateNotes
2014-02-11Updated for OS X v10.9.
2010-08-04Add init method and noted that it is preferred over the alertWithMessageText:defaultButton: alternateButton:otherButton: informativeTextWithFormat: method.
2010-08-03Updated alertWithMessageText:defaultButton: alternateButton:otherButton: informativeTextWithFormat: parameter description.
 

Updated sample code to current initialization methods.

2009-05-04Updated for OS X v10.6. Moved delegate methods to NSAlertDelegate Protocol Reference.
2007-04-25Updated for OS X v.10.5. Clarified use of constants in alert-display methods.
 

Added information about allowing the user to selectively suppress alert display to “Displaying Alerts.”

 

Added information on customizing an alerts using accessory views in “Configuring Alerts.”

 

Specified that the alert button constants used in runModal and beginSheetModalForWindow:modalDelegate:didEndSelector:contextInfo: depend on how the alert was created.

2006-06-28Added parameter descriptions to beginSheetModalForWindow:modalDelegate: didEndSelector:contextInfo:.
2006-05-23First publication of this content as a separate document.