I'm fairly new to Cocos2d and struggling with sizing a
CCTableView. How can its height be controlled so that I have space at the top and the bottom?
I'm trying to visually wrap the top and bottom of my table view with a sprite, to provide the look and feel of a frame. But when I touch the table view, to scroll it up or down, it occupies most of the screen vertically. I thought the
contentSize would alter where each cell appears and disappears from the top and bottom, but changing it had no effect.
Having had a Google about, I'm reading that I have to use a Clipping Node with a Stencil? Coming from UIkit, this seems like a bit of a faff. Would anyone like to hazard at a tutorial, bit of code with a simple
CCTableView representation, sat in the middle of the scene where each cell appears and disappears under a content frame?