This UIScrollView subclass provides a method to add paging and a demo project.