RATreeView icon indicating copy to clipboard operation
RATreeView copied to clipboard

bug fixed (iOS 9):To be Stronger :)

Open shenguanjiejie opened this issue 9 years ago • 0 comments

(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;

shenguanjiejie avatar Dec 10 '15 08:12 shenguanjiejie