Latest 1.0.6
License MIT
Platforms ios 7.0, requires ARC
Frameworks Foundation

The main idea was took from [Ray Wenderlich tutorial] (, then upgraded to autolayout.

Installation with CocoaPods

CocoaPods is a dependency manager for Objective-C, which automates and simplifies the process of using 3rd-party libraries in your projects.


platform :ios, '7.0'
pod "VSPagingScrollView"


Just add VSPagingScrollView to your view and set VSPagingScrollViewDelegate. This delegate has one method to get a view for each page. For example, this snippet creates a scroll view with colored pages:

- (void)viewDidLoad {
    self.pagingScrollView.pagingDelegate = self;
    self.pagingScrollView.pagesCount = 10;
#pragma mark - VSPagingScrollViewDelegate interface

- (UIView*)viewForPagingScrollView:(VSPagingScrollView *)scrollView onPage:(NSUInteger)page {
    UIView* pageView = [UIView new];
    pageView.backgroundColor = [UIColor colorWithRed:page/1./self.texts.count green:0 blue:1 alpha:1];

    return pageView;


VSPagingScrollView is released under the MIT license. See LICENSE for details.

Latest podspec

    "name": "VSPagingScrollView",
    "version": "1.0.6",
    "summary": "VSPagingScrollView is a UIScrollView with paging enabled. Works with utolayout",
    "homepage": "",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    "authors": {
        "poglicier": "[email protected]"
    "social_media_url": "",
    "platforms": {
        "ios": "7.0"
    "source": {
        "git": "",
        "tag": "1.0.6"
    "source_files": [
    "public_header_files": "Classes/*.h",
    "frameworks": "Foundation",
    "requires_arc": true

Pin It on Pinterest

Share This