Declared in NSMutableAttributedString+TKCategory.h
NSMutableAttributedString+TKCategory.m

Overview

Additional functionality for NSMutableAttributedString.

Instance Methods

addFont:

Set the font of the string.

- (void)addFont:(UIFont *)font

Parameters

font

The font that will be set.

Declared In

NSMutableAttributedString+TKCategory.h

addFont:range:

Set the font of a range of characters.

- (void)addFont:(UIFont *)font range:(NSRange)range

Parameters

font

The font that will be set.

range

The range of text that will be set as the color.

Declared In

NSMutableAttributedString+TKCategory.h

addKerning:

Set the font of the string.

- (void)addKerning:(CGFloat)kerning

Parameters

kerning

The font that will be set.

Declared In

NSMutableAttributedString+TKCategory.h

addKerning:range:

Set the kerning of the text in a range.

- (void)addKerning:(CGFloat)kerning range:(NSRange)range

Parameters

kerning

The kerning that will be set.

range

The range of text that will be set as the color.

Declared In

NSMutableAttributedString+TKCategory.h

addLineHeight:

Set the font of the string.

- (void)addLineHeight:(CGFloat)lineHeight

Parameters

lineHeight

The font that will be set.

Declared In

NSMutableAttributedString+TKCategory.h

addLineHeight:range:

Set the line height for the text in a range.

- (void)addLineHeight:(CGFloat)lineHeight range:(NSRange)range

Parameters

lineHeight

The line height that will be set.

range

The range of text that will be set as the color.

Declared In

NSMutableAttributedString+TKCategory.h

addTextColor:

Set the text color of the string.

- (void)addTextColor:(UIColor *)color

Parameters

color

The color that will be set.

Declared In

NSMutableAttributedString+TKCategory.h

addTextColor:range:

Set the text color of a range of characters.

- (void)addTextColor:(UIColor *)color range:(NSRange)range

Parameters

color

The color that will be set.

range

The range of text that will be set as the color.

Declared In

NSMutableAttributedString+TKCategory.h