how to warn users of wrong system
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.