• 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
Progress Bars and Notification Manager?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Progress Bars and Notification Manager?


  • Subject: Progress Bars and Notification Manager?
  • From: Ev <email@hidden>
  • Date: Fri, 22 Aug 2003 08:52:42 -0500

Having a strange issue where my progress bar decides not to increment after the first iteration of my loop... due to a posting of a *notification*!!

Here's my 'update' loop: (variables names and formulas have been changed to protect the innocent)
---

[self startProgressBar];

for(i=0;i<count;i++)
{
if ([FileListTable isRowSelected:i])
{
MyObject *s = [[MyObject alloc] initWithPath:path];

multiple = x;
[s changeAmplitude:multiple];
[s release];

[self incrementProgressBar];
}
}

[self endProgressBar];

somehow, the notification i post from inside the s object (to let other objects know it's been updated) *disables* the progress bar from incrementing!

I've commented out the *one* line of code in the s object, and the progress bar works as expected.

Anybody have any idea why the *Notification Manager* and the *Progress Bar* would be related in any way???
_______________________________________________
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.
  • Prev by Date: Problem: drawing NSView to NSImage
  • Next by Date: RE: Automating PackageMaker?
  • Previous by thread: Problem: drawing NSView to NSImage
  • Next by thread: NSView under mouse ?
  • Index(es):
    • Date
    • Thread