• 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
how to warn users of wrong system
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

how to warn users of wrong system


  • Subject: how to warn users of wrong system
  • From: matt neuburg <email@hidden>
  • Date: Fri, 10 Oct 2003 08:50:28 -0700

My app is now Panther-only, so the first thing I want to do is
check the appkit version and put up a dialog warning if we can't
run on the user's system (and quit). I put such a check in my
main controller object's init, and it worked for a while, but now
it turns out that this is not soon enough: because of
incompatibilities in the nib file format, we crash before we even
reach this code if we try to start up on a pre-Panther system.

So I'm guessing I need to move the check into main.

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.

--------
matt neuburg, phd = email@hidden, http://www.tidbits.com/matt/
pantes anthropoi tou eidenai oregontai phusei
Subscribe to TidBITS! It's free and smart. http://www.tidbits.com/
_______________________________________________
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.

  • Prev by Date: Re: FTP upload/download
  • Next by Date: Re: how to warn users of wrong system
  • Previous by thread: Need some direction with a .palette can you help
  • Next by thread: Re: how to warn users of wrong system
  • Index(es):
    • Date
    • Thread