Live previewing of a loop's progress
Live previewing of a loop's progress
- Subject: Live previewing of a loop's progress
- From: Brian Ganninger <email@hidden>
- Date: Mon, 17 Feb 2003 02:11:16 -0600
Part of my app's interface is an NSImageView that I use as a preview of
what's going on while the program works. What happens is that a progress
indicator starts before the beginning of the loop, then the loop executes
and during the loop a method is called that composites an NSImage, which is
then passed over to the NSImageView via [NSImageView
setImage:imageComposited]; so the user can see the compositing results. The
loop then continues on.
What actually happens though is that the loop executes entirely without the
ImageView updating until the loop has finished. I know the image is
compositing correctly because during the loop the image is written out as a
.icns file, which I've opened and checked, and they are correct. The problem
lies in how can I force this to update or introduce a stutter of some sort
to make the ImageView update?
- Brian Ganninger
_______________________________________________
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.