Here is the solution to get the next indexPath & previous indexPath of UITableView & UICollection.
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool