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

How to Change the color of the selected tag? #5

Open
NallapatiMalleswari opened this issue Nov 6, 2021 · 1 comment
Open

How to Change the color of the selected tag? #5

NallapatiMalleswari opened this issue Nov 6, 2021 · 1 comment

Comments

@NallapatiMalleswari
Copy link

I am using this library to add users in a group. I am facing an issue if I want to remove the user, actually I want to change the select tag text color and backdroud color of the tag when I select the already added tags.
Appreciate for your help

@NallapatiMalleswari
Copy link
Author

My problem solved, I can change the selected cell background colour in this function.
override func populate(withToken token: ResizingTokenFieldToken) {
if let token = token as? CreateFriendsGroupViewController.Token {
nickName.text = token.title
nickName.backgroundColor = token.bgColor
nickName.textColor = token.textColor
}
}

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

1 participant