Click here to support Nimbus development and make a donation at www.pledgie.com !
An iOS framework whose growth is bounded by O(documentation).
Nimbus Paging Scroll View

Overview

A paging scroll view is a UIScrollView that scrolls horizontally and shows a series of pages that are efficiently recycled.

The Nimbus paging scroll view is powered by a datasource that allows you to separate the data from the view. This makes it easy to efficiently recycle pages and only create as many pages of content as may be visible at any given point in time. Nimbus' implementation also provides helpful features such as keeping the center page centered when the device changes orientation.

Paging scroll views are commonly used in many iOS applications. For example, Nimbus' Photos feature uses a paging scroll view to power its NIPhotoAlbumScrollView.

Building a Component with NIPagingScrollView

NIPagingScrollView works much like a UITableView in that you must implement a data source and optionally a delegate. The data source fetches information about the contents of the paging scroll view, such as the total number of pages and the view for a given page when it is required. The views that you return for pages must conform to the NIPagingScrollViewPage protocol. This is similar to UITableViewCell, but rather than subclass a view you can simply implement a protocol. If you would prefer not to implement the protocol, you can subclass NIPageView which implements the required methods of NIPagingScrollViewPage.

Classes

class  NIPageView
 A skeleton implementation of a page view. More...
class  NIPagingScrollView
 A paged scroll view that shows a series of pages. More...
protocol  <NIPagingScrollViewDataSource>
 The data source for NIPagingScrollView. More...
protocol  <NIPagingScrollViewDelegate>
 The delegate for NIPagingScrollView. More...
protocol  <NIPagingScrollViewPage>
 The protocol that a paging scroll view page should implement. More...
Generated for Nimbus by doxygen 1.7.4-20110629