ENH: Clickable/tappable <a> links in dynamic text #5

iccir opened this Issue Jan 1, 2012 · 0 comments

1 participant

musictheory.net, LLC member

Currently, SwiffHTMLToCoreTextConverter doesn't handle <a> elements.

Work to do:
• Add a new text attribute similar to SwiffTextVerticalOffsetAttributeName, this would contain an NSURL or NSString
• When SwiffHTMLToCoreTextConverter encounters <a>, add this attribute to the CFAttributedStringRef
• Ultimately pipe this up through SwiffPlacedDynamicText to SwiffView, which would create tappable/clickable hotspots.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment