开发者

NSCell won't remove from NSTableView

开发者 https://www.devze.com 2023-02-11 07:42 出处:网络
I have an NSTableView filled with custom NSCells. Most include text, but one contains an NSButton. When I reduce the amount of objects in my data source,开发者_运维问答 call -noteNumberOfRowsChanged a

I have an NSTableView filled with custom NSCells. Most include text, but one contains an NSButton. When I reduce the amount of objects in my data source,开发者_运维问答 call -noteNumberOfRowsChanged and -reloadData, all the NSCells with text disappear, but the one with the button stays there.

What additional work do I have to do in order to remove this last NSCell from my table?

0

精彩评论

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