Skip to content

sanjeevworkstation/SwiftTabLayoutViewPager

Repository files navigation

IOS_TabLayoutViewPager

Overview


Design Tab Layout View pager for IOS same as android native component.

Basic


TabLayoutScrollView has some delegates and datasources to render the view-

DataSources:

  • func numberOfTabsInLayout() -> Int
  • func tabLayoutScrollView(titleForTabAtIndex index: Int) -> String
  • func styleOfSelectedTab() -> (font: UIFont, color: UIColor)
  • func styleOfNonSelectedTab() -> (font: UIFont, color: UIColor)
  • func styleOfTabLine() -> (height: CGFloat, color: UIColor)
  • func marginBetweenTabs() -> CGFloat

Delegates:

  • func tabLayoutScrollView(tabLayoutView: TabLayoutScrollView, didSelectedTabInView item: Int) -> Void

License


TabLayoutScrollView is available under the SWS license. Copyright © 2017 SWS

Releases

No releases published

Packages

No packages published

Languages