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.
精彩评论