Re: Live previewing of a loop's progress
Re: Live previewing of a loop's progress
- Subject: Re: Live previewing of a loop's progress
- From: Max Seelemann <email@hidden>
- Date: Mon, 17 Feb 2003 15:58:39 +0100
If you use a tight loop you need to call -display and possibly
-flushWindow.
A better approach is to modify your loop so that events can still be
processed. That way you can have a cancel button that works and the
applications menus will work etc. programmed in mail:
alternatively you have got the chance to us a thread.
It's pretty easy:
+ (void)detachNewThreadSelector:(SEL)aSelector toTarget:(id)aTarget
withObject:(id)anArgument
And so you even don't need to split your procedure - it's done for you
;)
hth
cheers
MAX
--
Max Seelemann
email@hidden
--
chairman, executive director
The Blue Technologies Group
http://www.blue-tec.com/
_______________________________________________
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.