XLPagerTabStrip is a Container View Controller that allows us to switch easily among a collection of view controllers. Pan gesture can be used to move on to next or previous view controller. It shows a interactive indicator of the current, previous, next child view controllers. The library provides 4 different ways to show the view controllers. This is likely the most common pager type. It's used by many well-known apps such as instagram, youtube, skype, and many others. The bar mode doesn't show a title neither an image. It only shows a bar that indicates the current view controller. The segmented mode uses a UISegmentedControl to indicate which view controller is being displayed. Basically, we just need to provide the list of child view controllers to show, and these view controllers should provide the information (title or image) that will be shown in the associated indicator.
Features
- Connect outlets and add layout constraints
- We strongly recommend using IB to set up our page controller views
- Provide the view controllers that will appear embedded into the PagerTabStrip view controller
- Provide information to show in each indicator
- Update cells when selected indicator changes
- iOS 9.3+ and Xcode 10.2+ required