开发者

Time remaining from NSProgressIndicator

I am developing an application in cocoa,I need to calculate the time remaining from NSProgressIndicato开发者_Python百科r .Is that posiible???

Thanks in advance........


This is a "how long is a piece of string" question. Without knowing more about what your app is doing, there is no way we can answer it sufficiently.

You are responsible for updating the progress indicator to give the user an idea of how far through a task you are. How you obtain that information (if it is obtainable) will determine how you update the progress indicator.


A progress indicator has no concept of time. If it isn't indeterminate, it has a minimum value, current value, and maximum value. That's pretty much it.

Tracking the current value, the time you're taking, and your estimate for how long you have yet to take is your job.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜