Skip to content

Latest commit

 

History

History
31 lines (21 loc) · 1.25 KB

README.md

File metadata and controls

31 lines (21 loc) · 1.25 KB

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