• 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: 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

References: 
 >Re: Button doesn't respond in a modal sheet created from window NIB (From: Nick Zitzmann <email@hidden>)

  • Prev by Date: Further to Re: Accessing a file "comment" --- SetFile
  • Next by Date: Re: Further to Re: Accessing a file "comment" --- SetFile
  • Previous by thread: Re: Button doesn't respond in a modal sheet created from window NIB
  • Next by thread: How can I stop running loop?
  • Index(es):
    • Date
    • Thread