Skip to content

Added AttributedText property to Button#11

Merged
TimOliver merged 2 commits into
TimOliver:masterfrom
jeffreybergier:master
May 7, 2019
Merged

Added AttributedText property to Button#11
TimOliver merged 2 commits into
TimOliver:masterfrom
jeffreybergier:master

Conversation

@jeffreybergier

Copy link
Copy Markdown
Contributor

Hey Tim,

Nice work on this project. I'm not sure if you're interested in this PR but I think its a crime when UI elements don't support NSAttributedString. Its such an important part of good UI code as it simplifies having to set soooo many properties all manually. Here is a simple PR that adds an attributed string property. Most of the code changes are in the sample app, not your library.

A sample screenshot as well, this attributed string isn't pretty, but it gets the idea across.

Thanks,
Jeff

Simulator Screen Shot - iPhone 5s - 2019-05-06 at 15 45 34

@TimOliver TimOliver merged commit 80b3553 into TimOliver:master May 7, 2019
@TimOliver

Copy link
Copy Markdown
Owner

G'day Jeff! Haha! Thanks so much for that! That's a fantastic idea!

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.

2 participants