I'm looking for suggestions on how to best handle long running tasks.  My
app has a simple button connected to an Objective-C method.  When I click
the button the method is called and a series of steps are performed.  Each
involves some network activity and may take a second or two.  I would like
to update a status message on the screen as each step is performed.  I've
tried simply appending text to a text view, but none of the updates get
displayed until the whole method completes.  I also tried starting an
NSThread from the method, allowing it to return, and letting the thread
update the text, but again nothing gets displayed until the thread
completes.  Can anyone suggest a better way to handle this type of
application?

 

___________________________________



THOMAS FORTMANN
Director of Development

        
XCAPE SOLUTIONS, INC. 
207 Crystal Grove Blvd. 
Lutz, FL 33548

 
TEL 847 228 9831

 <http://www.xcapesolutions.net> www.xcapesolutions.net
 <mailto:[EMAIL PROTECTED]> [EMAIL PROTECTED] 

        

 

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to