Questions tagged [xlpagertabstrip]

Use this tag for question about the XLPagerTabStrip component library for switching among a collection of view controllers using tabs.

It is the iOS version of the Android PagerTabStrip. 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.

For more info see the github project

95 questions
7
votes
2 answers

Cannot find interface declaration in myproject-swift.h

I' m using XLPagerTabStrip pod in my project, i have a bridging header for other purposes to integrate from swift to objective c myproject-swift.h i cant build the project and this error always pops: Cannot find interface declaration for …
Sanad Barjawi
  • 539
  • 4
  • 15
5
votes
1 answer

Variable 'self' was written to, but never read warning message when XLPagerTabStrip is used

I am using the cocoapod XLPagerTabStrip to implement PagerTabStrip in my iOS app. I get the below warning message while building or running the app Variable 'self' was written to, but never read This warning occurs from the following closure code…
JoBoy7
  • 53
  • 1
  • 4
5
votes
1 answer

Swift: How to show child view controllers via storyboard rather than programmatically using XLPagerTabStrip

I have been following the XLpagerTabStrip cocoapods extension to set up a tab bar at the top of my view controller (https://github.com/xmartlabs/XLPagerTabStrip). I am implementing the ButtonBarPagerTabStripViewController and have followed the steps…
4
votes
0 answers

smooth transition between 2 scrollviews

As you can see below I have a ViewController(lets call it viewController A) that contains a container view with a ViewController inside(lets call that ViewController B). So whats happening below is when you scroll up ViewController A's scrollview…
j.iese
  • 171
  • 2
  • 12
4
votes
3 answers

Dynamic number of ChildViewControllers for XLPagerTabStrip

I am using XLPagerTabStrip to create a category based reading app in Swift 4. I learnt static number of ViewControllers can be easily created using the following function. override func viewControllers(for pagerTabStripController:…
amagain
  • 2,042
  • 2
  • 20
  • 36
3
votes
1 answer

XLPagerTabStrip: doesn't respect the status bar

I'm having difficulty applying XLPagerTabStrip, it's not about the coding itself, but on your screen organization, a few days ago I've been researching but I just circled, used this framework before, I had no difficulties since the code in my…
Tmaximo
  • 33
  • 9
3
votes
5 answers

XLPagerTabStrip doesn't fill full width

Problem I'm working on an IOS Application. I use XLPagerTabStrip Library to create Tabs like in Android eg. YouTube. Everything works fine but i have a problem with the Tabs. I have 3 Tabs but they wont fill out the whole width and they are…
david-schor
  • 260
  • 2
  • 11
2
votes
1 answer

Continuous scrolling between tableView and scrollView

I have a parent scroll view with a uiview header and table view. I am trying to have a similar behavior to Twitter or Instagram profile page. You start scrolling the parent scroll view and as soon as the header is gone there is a continuous…
joethemow
  • 1,641
  • 4
  • 24
  • 39
2
votes
2 answers

Call function from child to parent in Swift

I am using xlpagertabstrip and I have a parent view controller which has two children (child1, child2). In my parent view controller, I show a UIActivityViewIndicator but I want to know how to hide that indicator in my child1. This is my…
Israel
  • 121
  • 10
2
votes
1 answer

How to update indicator info for XLPagerTabStrip in iOS?

I want to update my indicator info on some events happening in the child view controllers. How can we achieve this?
Sayalee Pote
  • 511
  • 5
  • 22
2
votes
0 answers

XLPagerTabStrip not swiping to the next vc

I don't know why it is not swiping to the next viewController. Instead it swipes to a blank page and the tab slider also doesn't move. But when i click on the tabs it works fine and slides to the next viewController. Really not sure why its like…
j.iese
  • 171
  • 2
  • 12
2
votes
1 answer

XlpagerStrip Spacing Between tabbar in swift

I am currently implementing the XLPagerTabStrip (https://github.com/xmartlabs/XLPagerTabStrip) which effectively creates a tab bar at the top of the view controller.I make a containerVC class ContainerVC: ButtonBarPagerTabStripViewController { let…
Mike Shaen
  • 21
  • 5
2
votes
1 answer

No such module 'XLPagerTabStrip'

i use tutorial https://medium.com/michaeladeyeri/how-to-implement-android-like-tab-layouts-in-ios-using-swift-3-578516c3aa9 and get error No such module 'XLPagerTabStrip' My Podfile `# Uncomment the next line to define a global platform for your…
Jussia
  • 305
  • 1
  • 13
2
votes
0 answers

Can a childVC of XLPagerStrip have a navigation item?

I'm using XLPagerTabStrip, I'm trying to have navigation controller in my child so I can use BTNavigationDropdownMenu and embed it inside my navigation item, so far I have failed to achieve the navigation bar visible in my child even though the VC…
Dude
  • 91
  • 7
2
votes
3 answers

How to fix "does not conform to protocol" when in it does

I'm trying to implement git project XLPagerTabStrip. According to the project, every controller has to: Every view controller provided by PagerTabStripDataSource's viewControllers(for:) method must conform to InfoProvider But the following code…
David Seek
  • 16,783
  • 19
  • 105
  • 136
1
2 3 4 5 6 7