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

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.

  • Follow-Ups:
    • Re: Live previewing of a loop's progress
      • From: publiclook <email@hidden>
  • Prev by Date: Re: Shared Memory and Distributed Objects
  • Next by Date: Displaying file contents in NSTextView
  • Previous by thread: (another) IB resizing question
  • Next by thread: Re: Live previewing of a loop's progress
  • Index(es):
    • Date
    • Thread