• 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
Newbie Question: Running dialog loop
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Newbie Question: Running dialog loop


  • Subject: Newbie Question: Running dialog loop
  • From: John Cebasek <email@hidden>
  • Date: Tue, 21 Dec 2004 13:51:29 -0500

Hi All:

I'm working on a replacement for the login screen for Mac OS X. I've been doing my debugging via a test harness and everything seems to be working well. In my logging output I see that I'm looping around in my dialog loop.

However when I don't start my replacement (it's a bundle actually) via my test harness (that's a backwards way of saying, I set an entry in the authorization file to use my replacement), the plugin hangs at:

[NSApp nextEventMatchingMask:NSAnyEventMask
untilDate:[NSDate distantFuture]
inMode:NSModalPanelRunLoopMode
dequeue:YES];

So obviously when running from an application the environment is correctly set up so that the dialog runs. Is there an appropriate call to initialize the runtime environment when using Cocoa in a plugin? Or is the run loop incorrect?

Any comments are appreciated.

If more information is needed, I'll be pleased to reply.

Thanks in advance for your time


John Cebasek
email@hidden
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: keyboard event
  • Next by Date: Re: @distinctUnionOfObjects changes the order of objects?
  • Previous by thread: keyboard event
  • Next by thread: Interface Builder (How to list an object instance in "Bind to" popup menu?)
  • Index(es):
    • Date
    • Thread