开发者

Progressbar inside NSTableView

开发者 https://www.devze.com 2023-03-19 14:40 出处:网络
I\'ve a list of items shown in NSTableView.I need to show a progress bar correspon开发者_JS百科ding to each item inside the table view.How can i do that?

I've a list of items shown in NSTableView.I need to show a progress bar correspon开发者_JS百科ding to each item inside the table view.How can i do that?

Thanks,

LS Developer


I think the easiest way is to create a custom NSCell and draw a NSProgressIndicator inside. In Interface Builder you can change the default tableview cell class name to your custom class name in order to use it.

Checkout the examples by CocoaDev:
CocoaDev - NSViewInNSTableView

0

精彩评论

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