IGLabelDelegate Protocol Reference

Conforms to NSObject
Declared in IGLabel.h

Overview

The delegate of a IGLabel object must adopt the IGLabelDelegate protocol. The optional method of the protocol allows the delegate to manage the tap gesture that occurs when the IGTextStyleTapAttributeName style and value have been applied to a portion of the label text.

– labelTap:tapText:tapValue:

Tells the delegate the label tapped and provides the object value that was set with the style attribute.

- (void)labelTap:(IGLabel *)label tapText:(NSString *)text tapValue:(id)value

Parameters

label

The label that received the tap.

text

The text that received the tap.

value

The object value that was set with the style attribute applied to the text.

Declared In

IGLabel.h