NSOutlineView doesn't Collapse Item
问题 I have a NSOutlineView, and clicking on a row will expand/collapse the item if it's expandable. if ([self.outlineView isItemExpanded:item]) { NSLog("Will collapse item : %@", item); [[self.outlineView animator] collapseItem:item]; } else { [[self.outlineView animator] expandItem:item]; } Expanding the item works as expected, however collapsing the item is not working. I did get the log before executing collapseItem:, and the item is correct. The delegate method - (BOOL)outlineView: