xmartlabs / XLPagerTabStrip

Android PagerTabStrip for iOS.
MIT License
6.97k stars 1.32k forks source link

Make it possible for Obj-C view controller to implement IndicatorInfoProvider protocol #850

Open oduwa opened 1 year ago

oduwa commented 1 year ago

In order to display a View Controller (VC) as a child of a Pager controller, the child VC needs to conform to the IndicatorInfoProvider protocol in order to let the pager know what to use as the VC's title in the pager.

However, if a VC is written in Obj-C, it is currently impossible to have it as a child of a pager because the IndicatorInfoProvider protocol isn't made available to Obj-C. In order to make it available, the following minor changes have been made:

oduwa commented 1 year ago

bump