Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

menuView.selectedCellTextLabelColor not working on swift 3 #118

Open
clintongwen opened this issue Apr 26, 2017 · 2 comments
Open

menuView.selectedCellTextLabelColor not working on swift 3 #118

clintongwen opened this issue Apr 26, 2017 · 2 comments

Comments

@clintongwen
Copy link

Hi,

First of all, thank you as this library is awesome. :)
One issue I have is that the selectedCellTextLabelColor property doesnt seem to be working.
Not exactly sure what the issue is.

Thanks in advance.

@johncederholm
Copy link

Sorry this is late, but for anyone looking for this fix: add

cell.textLabel?.textColor = ((indexPath as NSIndexPath).row == selectedIndexPath) ? self.configuration.selectedCellTextLabelColor : self.configuration.cellTextLabelColor

under line 104 in BTTableView.swift

It will apply selectedCellTextLabelColor to the text of the selected cell. I'd add this as a pull request but I don't know if this is the behavior they want. But it seems like this is what you want to do.

@clintongwen
Copy link
Author

I actually rewrote a bit of that for my needs. But thanks anyway!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants