Search code examples
objective-cmacoscocoaalertappkit

How to create alert message in mac os x 10.2?


i need create one alert message in mac os x 10.2, but I can not use nsalert, According To nsalert since documentation is available from 10.3 onwards.

https://developer.apple.com/library/mac/documentation/cocoa/reference/applicationkit/classes/NSAlert_Class/Reference/Reference.html

thanks in advance.


Solution

  • See NSRunAlertPanel and others like NSRunCriticalAlertPanel or NSRunInformationalAlertPanel, for old alert messages.