TestsTested | ✗ |
LangLanguage | SwiftSwift |
License | MIT |
ReleasedLast Release | Apr 2017 |
SPMSupports SPM | ✗ |
Maintained by Aryan Ghassemi.
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
Drag and drop a UIView into storyboard or xib.
OPTIONAL: If you like to use a scroll view assign the outlet to a scrollView.
scrollPager.addSegmentsWithTitles(["Home", "Public Feed", "Profile"])
scrollPager.addSegmentsWithTitlesAndViews([
("Home", firstView),
("Public Feed", secondView),
("Profile", thirdView)
])
secondScrollPager.addSegmentsWithImages([
UIImage(named: "envelope")!,
UIImage(named: "home")!
])
scrollPager.addSegmentsWithImagesAndViews([
(UIImage(named: "envelope")!, firstView),
(UIImage(named: "home")!, secondView),
(UIImage(named: "anotherImage")!, thirdView)
])