ShinobiDataGrid scroll delegate [iOS]



I’m displaying 4 different ShinobiDataGrids in the same view controller. For one of them I need to do some action when it ends scrolling. Since SDataGridDelegate conforms to UIScrollViewDelegate, I implemented the scrollViewDidEndScrolling: delegate method.

When I scroll the grid, the method gets called; the problem is that the scrollView object is an instance of ShinobiGrid and not ShinobiDataGrid (and of course is a different object from my grid), so:

  • (void)scrollViewDidScroll:(UIScrollView *)scrollView {
        if (scrollView == myGrid) {
    // it never goes in here!

What did I do wrong?