summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLClockDirectionFormatter.h
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2016-04-23 11:36:46 -0700
committerMinh Nguyễn <mxn@1ec5.org>2016-04-24 16:13:54 -0700
commite4752912dad7dcedfb5853e5773b2194980e07e1 (patch)
tree5a7d3eb58c12fb0b2d67e8a8f2e05eb4f72399f9 /platform/darwin/src/MGLClockDirectionFormatter.h
parent6c9ca4be50e74a260d9cc2bc731fe56d85c353d2 (diff)
downloadqtlocation-mapboxgl-e4752912dad7dcedfb5853e5773b2194980e07e1.tar.gz
[ios, osx] Corrected clock, coordinate formats
Long unit style isn’t intended to be spelled out, so the clock and coordinate direction formatters now use numerals for long unit style, differing from medium unit style in less drastic ways. The locale no longer needs to be exposed, since it’ll always match the overall string’s locale. Added support to the coordinate formatter for different unit styles. Made minutes and seconds of arc optional. Maintain strings for darwin/ formatter classes in a separate Foundation strings table that can be shared between the iOS and OS X SDKs. Added an English .stringsdict override that correctly pluralizes units. Capitalize osxapp window titles, now that they spell out the directions.
Diffstat (limited to 'platform/darwin/src/MGLClockDirectionFormatter.h')
-rw-r--r--platform/darwin/src/MGLClockDirectionFormatter.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/platform/darwin/src/MGLClockDirectionFormatter.h b/platform/darwin/src/MGLClockDirectionFormatter.h
index e748a15847..e467b20e06 100644
--- a/platform/darwin/src/MGLClockDirectionFormatter.h
+++ b/platform/darwin/src/MGLClockDirectionFormatter.h
@@ -26,13 +26,6 @@ NS_ASSUME_NONNULL_BEGIN
@property (nonatomic) NSFormattingUnitStyle unitStyle;
/**
- The locale of the receiver.
-
- The locale determines the output language and numeral system of the output.
- */
-@property (copy) NSLocale *locale;
-
-/**
Returns a clock position string for the provided value.
@param direction The heading, measured in degrees, where 0° means “straight