-
The
DingiClockDirectionFormatterclass provides properly formatted descriptions of headings relative to the user, known as clock positions. For example, a value of90may be formatted as “3 o’clock”, depending on the locale.Use this class to create localized heading strings when displaying directions relative to the user’s current location and heading. To format a direction irrespective of the user’s orientation, use
See moreDingiCompassDirectionFormatterinstead.Declaration
Objective-C
@interface DingiClockDirectionFormatter : NSFormatterSwift
class DingiClockDirectionFormatter : Formatter
-
The
DingiCompassDirectionFormatterclass provides properly formatted descriptions of absolute headings. For example, a value of90may be formatted as “east”, depending on the locale.Use this class to create localized heading strings when displaying directions irrespective of the user’s current location. To format a direction relative to the user’s current location, use
See moreDingiClockDirectionFormatterinstead.Declaration
Objective-C
@interface DingiCompassDirectionFormatter : NSFormatterSwift
class DingiCompassDirectionFormatter : Formatter
-
The
See moreDingiCoordinateFormatterclass provides properly formatted descriptions of geographic coordinate pairs. Use this class to create localized coordinate strings when displaying location information to users.Declaration
Objective-C
@interface DingiCoordinateFormatter : NSFormatterSwift
class DingiCoordinateFormatter : Formatter
-
See moreDingiDistanceFormatterimplements a formatter object meant to be used for geographic distances. The user’s current locale will be used by default but it can be overriden by changing the locale property of the numberFormatter.Declaration
Objective-C
@interface DingiDistanceFormatter : NSLengthFormatterSwift
class DingiDistanceFormatter : LengthFormatter
Formatters Reference