Re: Button doesn't respond in a modal sheet created from window NIB
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: Keith Blount <email@hidden>
- Date: Wed, 24 Nov 2004 10:14:03 -0800 (PST)
- Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys
Many thanks for replying again. I followed all of your
advice and used NSApp's detachDrawingThread:... method
as you suggested, and now everything works perfectly.
Thanks for taking the time to help me, it would have
taken me ages to figure this out for myself.
Thanks again and all the best,
Keith
--- Nick Zitzmann <email@hidden> wrote:
>
> 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 you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.
http://promotions.yahoo.com/new_mail
_______________________________________________
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