• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: how to warn users of wrong system
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: how to warn users of wrong system (From: Gibbons Burke <email@hidden>)

  • Prev by Date: RE: Authentication: Please critique my solution.
  • Next by Date: Re: how to warn users of wrong system
  • Previous by thread: Re: how to warn users of wrong system
  • Next by thread: Re: how to warn users of wrong system
  • Index(es):
    • Date
    • Thread