UIFont(Sizing) Category Reference

Declared in UIFont+Sizing.h

Overview

UIFont sizing methods.

– maxSizeWithNumberOfCharacters:

Calculates the maximum size that a string of a given length can be with this font.

- (CGSize)maxSizeWithNumberOfCharacters:(int)numberOfCharacters

Parameters

numberOfCharacters

The number of characters in a string.

Return Value

The maximum size that such a string could occupy in this font.

Declared In

UIFont+Sizing.h

– maxCharacterSize

Calculates the maximum size that a character can be in this font.

- (CGSize)maxCharacterSize

Return Value

The maximum size that a character can be in this font.

Declared In

UIFont+Sizing.h