insertObjectAtIndex: can not increase old view's tag #89

vagase opened this Issue May 6, 2012 · 0 comments


None yet
1 participant

vagase commented May 6, 2012

If insert an index that is out of range self.firstPositionLoaded and self.lastPositionLoaded , this case will not call following routine:

 for (int i = _numberTotalItems - 1; i >= index; i--)
        UIView *oldView = [self cellForItemAtIndex:i];
        oldView.tag = oldView.tag + 1;

But it must be called every time insert.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment