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

No highlight status #306

Closed
medisean opened this issue May 5, 2016 · 3 comments
Closed

No highlight status #306

medisean opened this issue May 5, 2016 · 3 comments

Comments

@medisean
Copy link

medisean commented May 5, 2016

It seems YYLabel has no highlight status. But the default label have highlight status. Could you support it?

@ibireme
Copy link
Owner

ibireme commented May 5, 2016

The attributed text has highlight attribute and it's different with UILabel's highlight property. Add this property will cause confusion.

@medisean
Copy link
Author

medisean commented May 6, 2016

I use YYLabel in tableViewCell, If YYLabel has no highlight property, it is very difficult to set label highlighted when the tableViewCell is hightlighted.

@ibireme
Copy link
Owner

ibireme commented May 6, 2016

I can't help you.

In YYText, highlight indicates the touch down state of text, it's used by textLayout highlightTapAction highlightLongPressAction fadeOnHighlight property. It's different with UILabel's highlight.

If I add the highlight property to YYLabel, then I need to change lots of code code, and it still may bring lots of confusion.

@ibireme ibireme closed this as completed May 23, 2016
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