• 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: Button doesn't respond in a modal sheet created from window NIB
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Button doesn't respond in a modal sheet created from window NIB


  • Subject: Re: Button doesn't respond in a modal sheet created from window NIB
  • From: Nick Zitzmann <email@hidden>
  • Date: Tue, 23 Nov 2004 16:40:03 -0700


On Nov 23, 2004, at 4:29 PM, Keith Blount wrote:

Thank you very much again for your repy. I haven't had
much success yet (keep getting lots of curious leaks
when I try it)

That's because, when you make your own thread, you need to create your own catch-all autorelease pool for the thread. Or use NSApplication's thread detaching method, +detachDrawingThread:toTarget:withObject:, which has the same functionality as the one in NSThread except that it creates an autorelease pool for you. See the NSAutoreleasePool docs for details.


Nick Zitzmann
<http://www.chronosnet.com/>

_______________________________________________
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


  • Follow-Ups:
    • Re: Button doesn't respond in a modal sheet created from window NIB
      • From: Keith Blount <email@hidden>
References: 
 >Re: Button doesn't respond in a modal sheet created from window NIB (From: Keith Blount <email@hidden>)

  • Prev by Date: Re: NSTableView doubleClick and edit
  • Next by Date: Re: returning NSRectArray
  • Previous by thread: Re: Button doesn't respond in a modal sheet created from window NIB
  • Next by thread: Re: Button doesn't respond in a modal sheet created from window NIB
  • Index(es):
    • Date
    • Thread