IXuniGaugeValueFormatter Protocol Reference

Declared in IXuniValueFormatter.h

Overview

protocol IXuniGaugeValueFormatter.

– format:format: required method

Format an NSObject into a string using the supplied pattern.

- (NSString *)format:(NSObject *)value format:(NSString *)format

Parameters

value

the object to format.

format

the pattern to format as.

Return Value

formatted string.

Discussion

Format an NSObject into a string using the supplied pattern.

Declared In

IXuniValueFormatter.h

– format:format:dataType: required method

Format an NSObject into a string using the supplied pattern. DataType lets us know the object type to format to.

- (NSString *)format:(NSObject *)value format:(NSString *)format dataType:(DataType)dataType

Parameters

value

the object to format.

format

the pattern to format as.

dataType

the object type of value.

Return Value

formatted string.

Discussion

Format an NSObject into a string using the supplied pattern. DataType lets us know the object type to format to.

Declared In

IXuniValueFormatter.h