Re: MacSoftware update causes my application to hang
Re: MacSoftware update causes my application to hang
- Subject: Re: MacSoftware update causes my application to hang
- From: "I. Savant" <email@hidden>
- Date: Fri, 8 Dec 2006 17:18:53 -0500
On Dec 8, 2006, at 2:42 PM, Balaram Barange wrote:
I wanted to put a check in my app that if the software update is
running then stop my app for sometime then again check whether
software update is running..
Now please tell me how to go about this.
Though others have given you useful advice, I'm particularly
interested in this paragraph. How exactly are you achieving this
pause? You aren't by any chance doing a "count to x" loop to force
the app to be unresponsive are you? If so, you should know this is
*not* the way to 'pause' in a Cocoa application.
The best bet here is to post the code responsible for this pause
and to explain exactly what you're trying to accomplish.
Particularly, why your app should care what Software Update is doing
in the first place.
--
I.S.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden