• 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
NSDrawerOpeningState woes
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSDrawerOpeningState woes


  • Subject: NSDrawerOpeningState woes
  • From: "Jurgen Vermeiren" <email@hidden>
  • Date: Mon, 4 Feb 2008 19:31:15 +0100 (CET)

Hello,

This one is only a minor annoyance but it looks like a tough nut to crack:
I have an application whose main window has a drawer for logging. The
application spawns a thread that does some scientific computations, logs
the results and exits.

It all works well except that there is no way I can have the drawer to
open from within the secondary thread. The text view in the drawer does
get updated but I won't see it if the drawer is not already opened.

Now this thread does number crunching and does not have an event loop,
which might well be the problem. The drawer will remain stuck in the
NSDrawerOpeningState until after the termination of the secondary thread
and will not even react to subsequent open messages from within the main
thread (which of course has an event handler).

Any suggestion?

Jurgen



_______________________________________________

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

  • Follow-Ups:
    • Re: NSDrawerOpeningState woes
      • From: glenn andreas <email@hidden>
  • Prev by Date: Re: Making 'return' Begin Editing, like Finder does
  • Next by Date: Custom view, drawRect, clip?
  • Previous by thread: Re: IKImageBrowserView cellSpacing
  • Next by thread: Re: NSDrawerOpeningState woes
  • Index(es):
    • Date
    • Thread