bug report: table view initialize

bug report: table view initialize
0.0 0


some CCTableView’s elements has been created before I set a table view delegate, that makes my first element is not really the first one.

In CCTableView ’s create function, code “CCScorllView::setDelegate(this)”(CCTableView.ccp, line 63) make the scoll view’s delegate not null, later code “m_pDelegate->scrollViewDidScroll(this)”(CCScrollView.cpp, line 224) make the table view’s element been created in a wrong time.

my solution:
check “m_pTableViewDelegate” null before do things in CCTableView::scrollViewDidScroll.
I don’t know if that is proper, works perfect to me.