How can I implement a NSProgressIndicator in a non void function?
This is not supported in a non void function, what can I do?
dispatchasync( dispatchgetglobalqueue(DISPATCHQUEUEPRIORITYDEFAULT, 0),
dispatchasync(dispatchgetmain_queue(), ^{
[myProgressBar setUsesThreadedAnimation:YES];
[myProgressBar setHidden:FALSE];
[myProgressBar setDoubleValue:15.0];
[myProgressBar startAnimation:myProgressBar];
});
});
any help is very appreciated.
This is not supported in a non void function, what can I do?
dispatchasync( dispatchgetglobalqueue(DISPATCHQUEUEPRIORITYDEFAULT, 0),
dispatchasync(dispatchgetmain_queue(), ^{
[myProgressBar setUsesThreadedAnimation:YES];
[myProgressBar setHidden:FALSE];
[myProgressBar setDoubleValue:15.0];
[myProgressBar startAnimation:myProgressBar];
});
});
any help is very appreciated.