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

Added AttributedLabelSegment to allow NSAttributedString segments. #164

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gregggreg
Copy link

For my needs I decided to add a new AttributedLabelSegment which can be used to set the attributedText on the label. This allows you to use much more than just strings or icons in each segment.

For instance, using NSTextAttachment you can create segments that have both an image and a string. Or you can have underline, strikeout text, etc. as well.

Would be great to have this merged in so that I don't have to use my fork long term, but that is up to you if you think this is generally useful.

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

Successfully merging this pull request may close these issues.

None yet

2 participants