SkillAgentSearch skills...

UILabelTapHandling

Make links in UILabels tappable.

Install / Use

/learn @timonus/UILabelTapHandling
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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

View on GitHub
GitHub Stars5
CategoryDevelopment
Updated4mo ago
Forks0

Languages

Objective-C

Security Score

87/100

Audited on Nov 19, 2025

No findings