Skip to content

Latest commit

 

History

History
13 lines (8 loc) · 590 Bytes

README.md

File metadata and controls

13 lines (8 loc) · 590 Bytes

IHNHyperlinkLabel

This is a simple UILabel subclass to simulate hyperlink behaviour - underlined text becoming highlighted on touch and sending notification to its delegate.

Usage

Create a new label in Interface Builder, set highlight color, shadow color & offset and bind the delegate property. Change label's class to IHNHyperlinkLabel and you're done!

Notes

  • This code uses Automatic Reference Counting and is licensed under BSD license.
  • Inspired by Yamaguchi Tatsuya's LinkedLabel.