From e4752912dad7dcedfb5853e5773b2194980e07e1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Minh=20Nguye=CC=82=CC=83n?= Date: Sat, 23 Apr 2016 11:36:46 -0700 Subject: [ios, osx] Corrected clock, coordinate formats MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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. --- platform/darwin/src/MGLClockDirectionFormatter.h | 7 ------- 1 file changed, 7 deletions(-) (limited to 'platform/darwin/src/MGLClockDirectionFormatter.h') 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 @@ -25,13 +25,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. -- cgit v1.2.1