Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Loading…

Reimplemented Color-Changing on Hyperlinks #355

Closed
Cocoanetics opened this Issue · 0 comments

1 participant

@Cocoanetics
Owner

This has already been implemented. Note that this is a breaking-change. Previously you would set two attributed string snippets on DTLinkButton. This API was changed. Instead you get an image of the glyphRun in normal and highlighted state and you set these images on the UIButton.

Implemented in 7224445

You can set the hyperlink active color via a:active or via passing DTDefaultLinkHighlightColor with a color name or DTColor in the parsing options. Note that you still need to provide a custom subview for the link, see DemoTextViewController for an example implementation.

@Cocoanetics Cocoanetics was assigned
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.