FROM : Vitaly Ovchinnikov
DATE : Tue May 20 22:54:17 2008
http://www.appsforlife.com/progress.zip (36Kb)
Idea is simple:
- (void) awakeFromNib
{
[progress setHidden:YES];
timer = [NSTimer init.....];
}
- (void) onTimer: (id) timer
{
[progress setDoubleValue:...];
[progress setHidden:NO]; // once or every timer cycle - doesn't
matter (in real project I call this once)
}
if we call -setHidden before -setDoubleValue - all work fine. In
attached project progress freezes immediately after start. At every
run.
Ideas?
DATE : Tue May 20 22:54:17 2008
http://www.appsforlife.com/progress.zip (36Kb)
Idea is simple:
- (void) awakeFromNib
{
[progress setHidden:YES];
timer = [NSTimer init.....];
}
- (void) onTimer: (id) timer
{
[progress setDoubleValue:...];
[progress setHidden:NO]; // once or every timer cycle - doesn't
matter (in real project I call this once)
}
if we call -setHidden before -setDoubleValue - all work fine. In
attached project progress freezes immediately after start. At every
run.
Ideas?






Cocoa mail archive

