RATreeView
RATreeView copied to clipboard
bug fixed (iOS 9):To be Stronger :)
(void)scrollToRowForItem:(id)item atScrollPosition:(RATreeViewScrollPosition)scrollPosition animated:(BOOL)animated { NSIndexPath *indexPath = [self indexPathForItem:item]; UITableViewScrollPosition tableViewScrollPosition = [RATreeView tableViewScrollPositionForTreeViewScrollPosition:scrollPosition]; [self.tableView scrollToRowAtIndexPath:indexPath atScrollPosition:tableViewScrollPosition animated:animated]; }
This is the method in RATreeView.m,it will crush if item is nil with iOS9... I add the line below to fix it,please add this line to here next version. if (!item) return;