xmartlabs/XLPagerTabStrip

selectedBar non selected state color?

Open

#409 opened on Jun 29, 2017

View on GitHub
 (5 comments) (2 reactions) (0 assignees)Swift (1,319 forks)batch import
help wanted

Repository metrics

Stars
 (6,965 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

I want to use one color for the selectedBar and have the other cells' selected bar space be colored differently. Basically this, but for selectedBar: newCell?.backgroundColor = .red oldCell?.backgroundColor = .black

Example in picture. As you can see, when a tab isn't selected, there is still a selectedBar color screen shot 2017-06-29 at 10 23 56 am

Contributor guide