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

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

Open
iccir opened this issue Jan 1, 2012 · 0 comments
Open

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

iccir opened this issue Jan 1, 2012 · 0 comments

Comments

@iccir
Copy link
Member

iccir commented Jan 1, 2012

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant