Latest0.9
Homepagehttps://github.com/aryaxt/ScrollPager
LicenseMIT
Platformsios 8.0, requires ARC
FrameworksFoundation, UIKit
Authors

ScrollPager Version

A scroll pager similar to the one in Flipboard. The control creates a tabbar given a title or an image, and has the option of connecting to a UIScrollView to automatically present given views and manage paging between these views

alt tag

Usage:

Drag and drop a UIView into storyboard or xib.

OPTIONAL: If you like to use a scroll view assign the outlet to a scrollView.

Tab with text

scrollPager.addSegmentsWithTitles(["Home", "Public Feed", "Profile"])

Tab with images and views (will automatically add paging to scrollview and displays the views accordingly)

scrollPager.addSegmentsWithTitlesAndViews([
  ("Home", firstView),
  ("Public Feed", secondView),
  ("Profile", thirdView)
])

Tab with images

secondScrollPager.addSegmentsWithImages([
  UIImage(named: "envelope")!,
  UIImage(named: "home")!
])

Tab with images and views (will automatically add paging to scrollview and displays the views accordingly)

scrollPager.addSegmentsWithImagesAndViews([
  (UIImage(named: "envelope")!, firstView),
  (UIImage(named: "home")!, secondView),
  (UIImage(named: "anotherImage")!, thirdView)
])

Latest podspec

{
    "name": "ScrollPager",
    "version": "0.9",
    "summary": "A fully featured scroll pager similar to the one in flipboard, fully configurable through storyboard",
    "homepage": "https://github.com/aryaxt/ScrollPager",
    "license": {
        "type": "MIT",
        "file": "License.txt"
    },
    "authors": {
        "Aryan Ghassemi": "https://github.com/aryaxt/ScrollPager"
    },
    "source": {
        "git": "https://github.com/aryaxt/ScrollPager.git",
        "tag": "0.9"
    },
    "platforms": {
        "ios": "8.0"
    },
    "source_files": "ScrollPager/Source/*.{swift}",
    "frameworks": [
        "Foundation",
        "UIKit"
    ],
    "requires_arc": true
}

Pin It on Pinterest

Share This