• 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: Updating UI objects from another thread
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Updating UI objects from another thread


  • Subject: Re: Updating UI objects from another thread
  • From: Finlay Dobbie <email@hidden>
  • Date: Thu, 21 Feb 2002 20:37:37 +0000

On Thursday, February 21, 2002, at 07:40 PM, Luke Bellandi wrote:

So I would think this should update that field at 20Hz (which it does), but
the text rendering is sloppy: lots of overwrites and such. How can I update
a text field correctly outside the main application thread?

You can't. You should set up an inter-thread communication channel, probably via DO.

Do you Apple guys actually read your own documentation, or what? :-)
http://developer.apple.com/techpubs/macosx/Cocoa/TasksAndConcepts/ProgrammingTopics/
Multithreading/index.html

-- Finlay
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Updating UI objects from another thread (From: Luke Bellandi <email@hidden>)

  • Prev by Date: Redrawing NSOutlineView from the datasource
  • Next by Date: Stopping the new document at launch
  • Previous by thread: Updating UI objects from another thread
  • Next by thread: How to write an NSImage to a JPEG file
  • Index(es):
    • Date
    • Thread