• 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
using performSelectorOnMainThread to update the ui
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

using performSelectorOnMainThread to update the ui


  • Subject: using performSelectorOnMainThread to update the ui
  • From: email@hidden
  • Date: Sun, 15 Nov 2009 08:30:05 +0000

hey all,

in my render callback i want to update the ui. im working on the iphone and seem to be getting memory leaks when i call performSelectorOnMainThread to notify the ui that it needs to redraw. Is this because the audio thread lacks an autorelease pool?

whats an effective system for doing this. Do i have to start an nstimer on the main thread and continue to redraw the ui from there? or can i send the message (without the leaks) somehow?


thanks

aran. - sunday afternoon, memory leaks.
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: using performSelectorOnMainThread to update the ui
      • From: Aran Mulholland <email@hidden>
  • Prev by Date: Synchronizing AudioQueue with Video
  • Next by Date: Re: using performSelectorOnMainThread to update the ui
  • Previous by thread: Synchronizing AudioQueue with Video
  • Next by thread: Re: using performSelectorOnMainThread to update the ui
  • Index(es):
    • Date
    • Thread