everyone.
Is there a way to get a callback when tableView.scrollToRow(...) or tableView.setContentOffset(...) animation completed?
Please read the whole question ↓ not only the title :)
I know about delegate method scrollViewDidEndScrollingAnimation and it doesn't work in my case: I have a few different calls of scrollToRow(...) and need to execute the proper block of code after each. Thus, using scrollViewDidEndScrollingAnimation(...) will cause overcomplicated logic.
I also know about wrapping tableView.scrollToRow(...) into a UIView.animate() which has callback closure. But in this case, tableView doesn't generate delegate event of scrollViewDidScroll(...) which I listen to for proper interface updates.
That's why I'm digging in the direction of having a callback after regular tableView.scrollToRow(...). Is there a way to get what I need?