xmartlabs / XLPagerTabStrip

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

Support for Swift Package Manager #818

Open onuryurtturk opened 3 years ago

onuryurtturk commented 3 years ago

Do you consider supporting the package manager?

yarmolchuk commented 3 years ago

Please add support for Swift Package Manager.

ryantan commented 3 years ago

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()
dneykov commented 2 years ago

Any news on that?