A UIScrollView
subclass that intelligently handles multiple child scroll views and does not interfere with UIKitʼs cell reuse functionality.
Written by Ole Begemann, May 2014.
This project is not being maintained. I’m not using it myself and I don’t want to spend time on it adding more features. I still think the code contains some good ideas. Feel free to read the code and take ideas from it and/or maintain your own fork.
Please read my blog post about OLEContainerScrollView for details about the implementation.
To check out the demo app:
OLEContainerScrollViewDemo.xcodeproj
in Xcode.The demo app uses a class I have written named OLESimulatedTableView
to illustrate how a UITableView
reuses its cells.
OLEContainerScrollView
into your Xcode project to add all the files in it to your project.#import "OLEContainerScrollView.h"
OLEContainerScrollView
instead of a regular UIScrollView
.contentView
. Check out the comments in OLEContainerScrollView.h
.Published under the MIT License. See the LICENSE
file for details.