Re: how to warn users of wrong system
Re: how to warn users of wrong system
- Subject: Re: how to warn users of wrong system
- From: "Alastair J.Houghton" <email@hidden>
- Date: Fri, 10 Oct 2003 20:37:40 +0100
On Friday, October 10, 2003, at 07:26 pm, Gibbons Burke wrote:
On Friday, October 10, 2003, at 11:22 AM, Alastair J.Houghton wrote:
On Friday, October 10, 2003, at 04:50 pm, matt neuburg wrote:
My question is: if NSApplicationMain hasn't been called yet, how
can I put up a dialog? NSRunAlertPanel doesn't work at that
stage... Thx - m.
Try calling NSApplicationLoad() first.
That call is available only in Jaguar, so it won't work for earlier
versions of the system, according to this document:
<http://developer.apple.com/documentation/Cocoa/Conceptual/
CarbonCocoaDoc/cci_chap3/chapter_3_section_4.html>
That's a good point. You can probably achieve the same thing by doing
[NSApplication sharedApplication];
instead, which should work with systems prior to Jaguar.
Kind regards,
Alastair.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.