• 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: user-stoppable program
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: user-stoppable program


  • Subject: Re: user-stoppable program
  • From: Cameron Hayne <email@hidden>
  • Date: Thu, 25 May 2006 18:21:06 -0400

On 25-May-06, at 10:25 AM, email@hidden wrote:

Indeed, according to the documentation, ``you can use threads to
perform several, lengthy calculations while your user interface
continues to respond to user commands" : this is exactly
what I'm looking for (I want my application to perform the calculations
and at the same time
have a responsive UI)


I'm working on it, but as I'm not familiar with threads any further
help from those who use NSThread every day would be welcome !

Multithreaded programs are always tricky. You should read the Apple docs on threading in Cocoa. And you might want to have a look at my example program "ImageCalc": http://hayne.net/MacDev/ImageCalc/ or (in a more complicated setting), my "IsingCocoa" program: http://hayne.net/MacDev/IsingCocoa/

--
Cameron Hayne
email@hidden


_______________________________________________ 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: user-stoppable program
      • From: Sherm Pendley <email@hidden>
References: 
 >user-stoppable program (From: email@hidden)
 >Re: user-stoppable program (From: "I. Savant" <email@hidden>)
 >Re: user-stoppable program (From: email@hidden)

  • Prev by Date: how do I find the contents of a NSSearchField in an array filled with custom objects?
  • Next by Date: strange behavior with NSSearchfield
  • Previous by thread: Re: user-stoppable program
  • Next by thread: Re: user-stoppable program
  • Index(es):
    • Date
    • Thread