Skip navigation.
 
mlNSRunAlertPanel()
FROM : Joachim Haagen Bøe
DATE : Tue Nov 12 20:42:01 2002

According to Aaron Hillegass' book you use a C function to show an
alert panel. The declaration is

int NSRunAlertPanel(NSString *title, NSString *msg, NSString
*defaultButton, NSString *alternateButton, NSString *otherButton);

I know that Aaron Hillegass' book isn't written for Jaguar, and wonder
if Apple have implemented an Objective-C function for this instead.

I know that it doesn't matter performance wise, im just curious as to
why this is a C function and not an object oriented method.

Regards,
Joachim


Related mailsAuthorDate
mlNSRunAlertPanel() Joachim Haagen Bøe Nov 12, 20:42
mlRe: NSRunAlertPanel() Jeremy Erwin Nov 12, 21:55
mlRe: NSRunAlertPanel() Joachim Haagen Bøe Nov 12, 22:18
mlRe: NSRunAlertPanel() Scott Anguish Nov 13, 00:41