Skip to content

klevison/ISScrollViewPageSwift

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ISScrollViewPageSwift

This is a easy implementation if you need put yours UIViewControllers inside an UIScrollView navigation style.

You can choice Horizontally navigation or Vertically navigation.

  • How to set my view controllers?

      var controllers = [FirstViewController(nibName:"FirstViewController",bundle:nil),
                         SecondViewController(nibName:"SecondViewController",bundle:nil),
                         ThirdViewController(nibName:"ThirdViewController",bundle:nil)]
      
      self.scrollViewPage.setViewControllers(controllers)
    
  • Set Navigation Type

self.scrollViewPage.scrollViewPageType = ISScrollViewPageType.ISScrollViewPageHorizontally

alt tag

or

self.scrollViewPage.scrollViewPageType = ISScrollViewPageType.ISScrollViewPageVertically

alt tag

Releases

No releases published

Packages

No packages published

Languages

  • Swift 86.7%
  • XML 13.3%