Augustyniak / RATreeView

Library providing easy-to-use interface for displaying tree structures on iOS and tvOS.
MIT License
2.49k stars 466 forks source link

Selector shouldItemBeExpandedAfterDataReload not being called #211

Closed bottlehall closed 7 years ago

bottlehall commented 7 years ago

I've got an app that has been using RATreeview for several years. I'm just adding a feature to search for matching text in the items. It works well except that I want to expand the whole tree view to show the nested results. I thought it would be as simple as:

- (BOOL)treeView:(RATreeView *)treeView shouldItemBeExpandedAfterDataReload:(id)item treeDepthLevel:(NSInteger)treeDepthLevel { return YES; //self.mode == Searching }

However, I've discovered that the selector is never called at any point. The tree view is being reloaded. Have I mis-understood something?

bottlehall commented 7 years ago

Oh, it seems this selector has disappeared at some point!