Latest 0.2.1
License MIT
Platforms ios 8.0, requires ARC

Carthage compatible

simple and elegant paging view with UITableView Style memory preserving reusability functionality


using cocoapods

pod 'HBRPagingView', '~> 0.2.1'

using cartage

github "Ryce/HBRPagingView" >= 0.2.3


set delegate and datasource, register your class (you can also use the basic HBRPagingViewPage)

self.pagingView?.dataSource = self
self.pagingView?.pagingDelegate = self
self.pagingView?.registerClass(CustomPagingViewPage.classForCoder(), forPageReuseIdentifier: "identifier")

datasource should return number of pages and the page, dequeueing is available and should be used

// MARK: - PagingView Delegate & DataSource

func numberOfPages(pagingView: HBRPagingView) -> UInt {
  return 6

func pagingView(pagingView: HBRPagingView, viewForPage index: UInt) -> AnyObject {
  let page = pagingView.dequeueReusablePageWithIdentifier("identifier", forIndex: index) as! PagingViewPage
  page.imageView.image = UIImage(named: "(index)")
  return page



HBRPagingView is available under the MIT license. See the LICENSE file for more info.

Latest podspec

    "name": "HBRPagingView",
    "version": "0.2.1",
    "summary": "simple and elegant paging view with UITableView Style memory preserving reusability functionality",
    "description": "                  The UIKit provides a very sophisticaed implementation for Tables and Collections. The one thing that was missing was a horizontally scrollable paging view with the same size of the screen. UICollectionView has powerful memory management features but is not quite right to handle full screen cells. This Framework aims to tackle that problem for views that only show one item per page. The Framework caches and reuses cells in a similar matter as UITableView/UICollectionViewn",
    "homepage": "",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    "authors": {
        "Ryce": "[email protected]"
    "platforms": {
        "ios": "8.0"
    "source": {
        "git": "",
        "tag": "0.2.1"
    "source_files": "HBRPagingView/*.swift",
    "requires_arc": true

Pin It on Pinterest

Share This