it has several class
》 CCTableViewCell
》 CCTableView
》 CCScrollLayerExt
and some test class
TestCCTableView
CustomCCTableViewCell
here is the Test code
TestCCTableView * testTableview = new TestCCTableView(CCRectMake(0,40,200,240)); this->addChild(testTableview);//note that you have to release it by yourself.
but i can’t finish how to CCTableView::dequeueReusableCellWithIdentifier(const char * mCellIdentifier) , so i comment some code!
Hi, I’m test TableView on XCode 4.3.1 and IOS5 , but Have a problem during the compile
Undefined symbols for architecture i386:
“TestCCTableView::TestCCTableView(cocos2d::CCRect)”, referenced from:
CMainTitleClass::init() in CMainTitleClass.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I’ve tested the code briefly and came to the conclusion that CCTableView doesn’t support long lists very nicely.
When scrolling it stops the scroll when loading new items into the view tricking you that you are at the end of the list.