• 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: How do you close a NSDrawer after a NSThread has finished
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How do you close a NSDrawer after a NSThread has finished


  • Subject: Re: How do you close a NSDrawer after a NSThread has finished
  • From: Martin van-Eerde <email@hidden>
  • Date: Mon, 19 Feb 2007 20:12:56 +0000

Thanks Mike, that works great, I'm calling the same method that was being called by the thread will finish notification, not sure why the drawer does not close when called from the notification but the perform does the trick.

Martin


Message: 3
Date: Sun, 18 Feb 2007 22:03:59 +0000
From: Mike Abdullah <email@hidden>
Subject: Re: How do you close a NSDrawer after a NSThread has finished
To: Martin van-Eerde <email@hidden>
Cc: Apple Cocoa-Dev Mailing List <email@hidden>
Message-ID: <email@hidden>
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed

How about using -performSelectorOnMainThread: to inform the main
thread that your secondary thread has finished its copy and let the
main thread handle closing the drawer etc.?

Mike.


_______________________________________________

Cocoa-dev mailing list (email@hidden)

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


  • Prev by Date: Re: Custom PDF annotation widgets
  • Next by Date: Re: NSScroller shows up, but won't work.
  • Previous by thread: Re: How do you close a NSDrawer after a NSThread has finished
  • Next by thread: what is a valid key-path? why can't I bind to NSURL's -path method?
  • Index(es):
    • Date
    • Thread