Search code examples
objective-ccocoagnustep

data reloading in NSOutlineView


simple existentialist question that google can't answer me:

When and NSOutlineView send the message outlineView:setObjectValue: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


Solution

  • 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.