开发者

data reloading in NSOutlineView

simple existentialist question that google can't answer me:

When and NSOutlineView send the message outlineView:setObjectVal开发者_StackOverflow中文版ue:forTableColumn:byItem: to its data source, will it always reload its data?

I have [sourceList reloadData]; as the last line of that method's implementation, but it doesn't seem to be necessary.

Cheers


It shouldn't be necessary because it already has the new (user-entered) data for that row—if it didn't, it wouldn't be able to give it to you by sending you that message.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜