Skip to content

📱👆🏻Horizontally slidable paging viewController with tab menu 🎶

Notifications You must be signed in to change notification settings

elliekwon/SlidingPageTabViewController

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SlidingPageTabViewController

Swift

Horizontally slidable paging viewController with tab menu

Feature (on develop)

  • Horizontally scrolling a number of viewControllers.
  • Selectable a viewController as touch on tapBar menu.
  • Underline of menu will automatically move when user scroll viewControllers.
  • Support changing device orientation.

Demo

How to use

let pageInfo = [["first": FirstViewController()],
				["second": SecondViewController()],
				["third": ThirdViewController()]]
let viewController = SlidingPageTabViewController(pageInfo)
  1. Make a array that has element of dictionary.
  • Key of the dictionary is String type and it will shown as TabMenu's name on output screen.
  • Value of the dictionary is UIViewController type.
  1. Make SlidingPageTabViewController has the array (be made on prev step) as parameter.

About

📱👆🏻Horizontally slidable paging viewController with tab menu 🎶

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages