UILabelTapHandling
Make links in UILabels tappable.
Install / Use
/learn @timonus/UILabelTapHandlingREADME
UILabel+TJTapHandling
This category makes it so you can handle tapped hyperlinks in UILabels. The underlying way I'm doing this uses a strategy swirling around the internet that I've packaged up nicely. It seems to work pretty well, and the project layers on a pleasant API to use.
To configure link handling, call addURLHandler: on your label providing an object that conforms to TJLabelURLHandler. -label:didTapURL:inRange: will then be called on your handler when a link is tapped within that label's attributed text.
I'm currently using this in Opener's settings screen to add a link to a table section footer.
Related Skills
node-connect
354.3kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
112.3kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
354.3kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
354.3kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
