Progress Bars and Notification Manager?
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.