xmartlabs / XLPagerTabStrip

Android PagerTabStrip for iOS.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Support for Swift Package Manager

onuryurtturk opened this issue · comments

Do you consider supporting the package manager?

Please add support for Swift Package Manager.

Not the most ideal solution but after I added it to Package.swift this is how I made it work:

  1. Copy ButtonCell.xib from the package
  2. Set module of main view in the xib to XLPagerTabStrip
  3. Register the copied xib with: buttonBarView.register(UINib(nibName: "ButtonCell", bundle: Bundle.module), forCellWithReuseIdentifier:"Cell") AFTER super.viewDidLoad()

Any news on that?