• 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: Live previewing of a loop's progress
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: Live previewing of a loop's progress (From: publiclook <email@hidden>)

  • Prev by Date: Second .nib window - Copy key equivalent not working
  • Next by Date: Interface Builder
  • Previous by thread: Re: Live previewing of a loop's progress
  • Next by thread: Displaying file contents in NSTextView
  • Index(es):
    • Date
    • Thread