Re: NSAlert::runModal doesn't work on 10.6
Re: NSAlert::runModal doesn't work on 10.6
- Subject: Re: NSAlert::runModal doesn't work on 10.6
- From: Andreas Falkenhahn <email@hidden>
- Date: Tue, 23 Aug 2016 19:21:33 +0200
On 23.08.2016 at 17:45 Scott Ribe wrote:
> On Aug 23, 2016, at 8:52 AM, Andreas Falkenhahn <email@hidden> wrote:
>> I really can't use NSApplicationMain() because AFAICS it also expects
>> to load a NIB file from the app bundle
> The nib to load at startup is specified in the plist, I bet if you
> leave that entry out, it won't try...
If this isn't documented anywhere, it's still the same old guesswork game
and there is no guarantee that such a set up won't fail spectacularly
in future versions (or older versions)...
Apple really should be much more verbose as to what alternative options
there are for people who need more fine-tuned control over application
setup and main loop, then the command line fetishists could finally do
it right ;-)
--
Best regards,
Andreas Falkenhahn mailto:email@hidden
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden