OVERVIEW: A scroll node for Cocos2D that uses a UIScrollView in the background to handle smooth bounces and accelerations.
USE: In a CCLayer file, create your new CCScrollNode like so:
theScrollNode = [CCScrollNode nodeWithFrame:CGRectMake(...) andContentSize:CGSizeMake(...)]; [theScrollNode setDelegate:self]; [theScrollNode setPagingEnabled:YES]; [self addChild:theScrollNode];
NOTES:
COPYWRITE This work is free to use, just keep my name in it and cite use. Also, let me know if you like it!