NSEnergyFormatter

Hey guys,

I'd like to help you with the project. I was looking for something simple to start with and I'd choose NSEnergyFormatter. It seems to be pretty straightforward. Is it OK when I start working on it or you have some other plan for formatters?

Vojta
@vojtastavik

We certainly appreciate help on this. Let us know if you have any questions.

- Tony

···

On Apr 15, 2016, at 7:24 AM, Vojtěch Šťavík via swift-corelibs-dev <swift-corelibs-dev@swift.org> wrote:

Hey guys,

I'd like to help you with the project. I was looking for something simple to start with and I'd choose NSEnergyFormatter. It seems to be pretty straightforward. Is it OK when I start working on it or you have some other plan for formatters?

Vojta
@vojtastavik
_______________________________________________
swift-corelibs-dev mailing list
swift-corelibs-dev@swift.org <mailto:swift-corelibs-dev@swift.org>
https://lists.swift.org/mailman/listinfo/swift-corelibs-dev

Actually, I have a question. What is the best way to get localized names for units? It seems Mauricio has the same question at Start the NSMassFormatter implementation by mauriciomeirelles · Pull Request #320 · apple/swift-corelibs-foundation · GitHub .

···

Subject: Re: [swift-corelibs-dev] NSEnergyFormatter
From: anthony.parker@apple.com
Date: Fri, 15 Apr 2016 10:07:18 -0700
CC: swift-corelibs-dev@swift.org
To: stavik@outlook.com

We certainly appreciate help on this. Let us know if you have any questions.
- Tony
On Apr 15, 2016, at 7:24 AM, Vojtěch Šťavík via swift-corelibs-dev <swift-corelibs-dev@swift.org> wrote:Hey guys,
I'd like to help you with the project. I was looking for something simple to start with and I'd choose NSEnergyFormatter. It seems to be pretty straightforward. Is it OK when I start working on it or you have some other plan for formatters?
Vojta@vojtastavik_______________________________________________swift-corelibs-dev mailing listswift-corelibs-dev@swift.orghttps://lists.swift.org/mailman/listinfo/swift-corelibs-dev

The formatter in this case should probably query ICU4C’s function uplrules_select (and other associated functions). On Darwin energy, length and mass formatters all funnel to one unit formatter that can abstractly handle each of those cases (which might not be a bad idea to have in the swift version too.

···

On Apr 18, 2016, at 1:56 AM, Vojtěch Šťavík via swift-corelibs-dev <swift-corelibs-dev@swift.org> wrote:

Actually, I have a question. What is the best way to get localized names for units? It seems Mauricio has the same question at Start the NSMassFormatter implementation by mauriciomeirelles · Pull Request #320 · apple/swift-corelibs-foundation · GitHub .

Subject: Re: [swift-corelibs-dev] NSEnergyFormatter
From: anthony.parker@apple.com
Date: Fri, 15 Apr 2016 10:07:18 -0700
CC: swift-corelibs-dev@swift.org
To: stavik@outlook.com

We certainly appreciate help on this. Let us know if you have any questions.

- Tony

On Apr 15, 2016, at 7:24 AM, Vojtěch Šťavík via swift-corelibs-dev <swift-corelibs-dev@swift.org <mailto:swift-corelibs-dev@swift.org>> wrote:

Hey guys,

I'd like to help you with the project. I was looking for something simple to start with and I'd choose NSEnergyFormatter. It seems to be pretty straightforward. Is it OK when I start working on it or you have some other plan for formatters?

Vojta
@vojtastavik
_______________________________________________
swift-corelibs-dev mailing list
swift-corelibs-dev@swift.org <mailto:swift-corelibs-dev@swift.org>
https://lists.swift.org/mailman/listinfo/swift-corelibs-dev
_______________________________________________
swift-corelibs-dev mailing list
swift-corelibs-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-corelibs-dev

Sorry one slight clarification; the uplrules is only for the pluralization; uameasfmt_getMultipleUnitNames is the other major component.

···

On Apr 18, 2016, at 9:16 AM, Philippe Hausler via swift-corelibs-dev <swift-corelibs-dev@swift.org> wrote:

The formatter in this case should probably query ICU4C’s function uplrules_select (and other associated functions). On Darwin energy, length and mass formatters all funnel to one unit formatter that can abstractly handle each of those cases (which might not be a bad idea to have in the swift version too.

On Apr 18, 2016, at 1:56 AM, Vojtěch Šťavík via swift-corelibs-dev <swift-corelibs-dev@swift.org <mailto:swift-corelibs-dev@swift.org>> wrote:

Actually, I have a question. What is the best way to get localized names for units? It seems Mauricio has the same question at Start the NSMassFormatter implementation by mauriciomeirelles · Pull Request #320 · apple/swift-corelibs-foundation · GitHub .

Subject: Re: [swift-corelibs-dev] NSEnergyFormatter
From: anthony.parker@apple.com <mailto:anthony.parker@apple.com>
Date: Fri, 15 Apr 2016 10:07:18 -0700
CC: swift-corelibs-dev@swift.org <mailto:swift-corelibs-dev@swift.org>
To: stavik@outlook.com <mailto:stavik@outlook.com>

We certainly appreciate help on this. Let us know if you have any questions.

- Tony

On Apr 15, 2016, at 7:24 AM, Vojtěch Šťavík via swift-corelibs-dev <swift-corelibs-dev@swift.org <mailto:swift-corelibs-dev@swift.org>> wrote:

Hey guys,

I'd like to help you with the project. I was looking for something simple to start with and I'd choose NSEnergyFormatter. It seems to be pretty straightforward. Is it OK when I start working on it or you have some other plan for formatters?

Vojta
@vojtastavik
_______________________________________________
swift-corelibs-dev mailing list
swift-corelibs-dev@swift.org <mailto:swift-corelibs-dev@swift.org>
https://lists.swift.org/mailman/listinfo/swift-corelibs-dev
_______________________________________________
swift-corelibs-dev mailing list
swift-corelibs-dev@swift.org <mailto:swift-corelibs-dev@swift.org>
https://lists.swift.org/mailman/listinfo/swift-corelibs-dev

_______________________________________________
swift-corelibs-dev mailing list
swift-corelibs-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-corelibs-dev