• 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: NSAlert::runModal doesn't work on 10.6
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSAlert::runModal doesn't work on 10.6


  • Subject: Re: NSAlert::runModal doesn't work on 10.6
  • From: Graham Cox <email@hidden>
  • Date: Wed, 24 Aug 2016 08:45:37 +1000

> On 24 Aug 2016, at 12: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 which simply doesn't exist for
> my app because I'm not using Xcode at all and everything is set up
> programmatically.


Even your main menu bar?

The main nib need only contain the very barest minimum, for example the skeleton of the main menu bar. It doesn’t need to have a window (and indeed for document-based apps typically does not).

So even if you *must* have a nib (which isn’t proven one way or the other), the nib can be minimal.

—Graham



_______________________________________________

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


References: 
 >NSAlert::runModal doesn't work on 10.6 (From: Andreas Falkenhahn <email@hidden>)
 >Re: NSAlert::runModal doesn't work on 10.6 (From: Ken Thomases <email@hidden>)
 >Re: NSAlert::runModal doesn't work on 10.6 (From: Andreas Falkenhahn <email@hidden>)
 >Re: NSAlert::runModal doesn't work on 10.6 (From: Graham Cox <email@hidden>)
 >Re: NSAlert::runModal doesn't work on 10.6 (From: Andreas Falkenhahn <email@hidden>)

  • Prev by Date: Re: NSAlert::runModal doesn't work on 10.6
  • Next by Date: Re: NSAlert::runModal doesn't work on 10.6
  • Previous by thread: Re: NSAlert::runModal doesn't work on 10.6
  • Next by thread: Core Graphics: Is it better to up-sample or down-sample images when drawing into a rect?
  • Index(es):
    • Date
    • Thread