IDmeActionLabel 1.0.0

IDmeActionLabel 1.0.0

LangLanguage Obj-CObjective C
License MIT
ReleasedLast Release Dec 2014

Maintained by Arthur Ariel Sabintsev.

  • By
  • Arthur Ariel Sabintsev

Adds Target-Action Support for UILabel


IDmeActionLabel is an extension of UILabel that adds the target-action design paradigm to the UILabel class. It is made to specifically work with labels that utilize an instance ofNSAttributedString.

Changelog (v1.0.0)

  • Initial Release

Current Features

  • Support for adding multiple target-actions (via NSInvocation) to a UILabel
  • Support for Labels that use NSAttirubtedString

Future Features

  • Change NSAttributedString properties on tap.

Installation Instructions

pod 'IDmeActionLabel'


There are only two methods:

// Adds and NSInvocation to the UILabel for a given substring
- (void)addInvocation:(NSInvocation *)invocation forSubstring:(NSString *)substring;

// Removes an existing NSInvocation from the UILabel for a given substring
- (void)removeInvocation:(NSInvocation *)invocation forSubstring:(NSString *)substring

Sample Project

A sample project has been provided to demo the capability of this app.

Final Notes

This project was created to solve a very specific problem. Feel free to fork and abstract this project as needed. I'll make a conserted effort to examine and merge any pull-requests that come in.

Created and maintained by

Arthur Ariel Sabintsev