We have ASCellNodeVisibilityEvent events that roughly correlate to the scrollViewDid… delegate methods in UIScrollView. With the current events we get a callback when a user stops dragging a cell, but if the cell decelerates we do not get an event when it comes to a rest. I’ve added ASCellNodeVisibilityEventDidStopScrolling to have both ASTableView and ASCollectionView send this event to the cells in _cellsForVisibilityUpdates in - (void)scrollViewDidEndDecelerating:(UIScrollView *)scrollView.
I created unit tests to ensure that the proper events are being called for the proper scroll delegate methods.
We have
ASCellNodeVisibilityEvent
events that roughly correlate to the scrollViewDid… delegate methods in UIScrollView. With the current events we get a callback when a user stops dragging a cell, but if the cell decelerates we do not get an event when it comes to a rest. I’ve addedASCellNodeVisibilityEventDidStopScrolling
to have bothASTableView
andASCollectionView
send this event to the cells in_cellsForVisibilityUpdates
in- (void)scrollViewDidEndDecelerating:(UIScrollView *)scrollView
.I created unit tests to ensure that the proper events are being called for the proper scroll delegate methods.