I think there is a review related to format APIs ongoing for ICU 58, but there 
hasn’t been much talk about the C APIs alas:
https://sourceforge.net/p/icu/mailman/message/35283778/
http://bugs.icu-project.org/trac/ticket/12029


Since MeasureFormat ‘and friends’ are C++, for now, I also think the best path 
would be a C wrapper in CF that can pass things off to Apple’s ICU or on Linux 
to:
http://opensource.apple.com/source/ICU/ICU-551.30/icuSources/i18n/uameasureformat.cpp
http://opensource.apple.com/source/ICU/ICU-551.30/icuSources/i18n/uatimeunitformat.cpp

I think the script to handle ninja on Linux also needed to be modified to build 
C++ successfully (I believe some private/internal includes needed to be set).

Regards,
Will Stanton

> On Aug 22, 2016, at 1:10 PM, Tony Parker via swift-corelibs-dev 
> <swift-corelibs-dev@swift.org> wrote:
> 
> I would love to be able to use ICU from Swift instead of implementing 
> everything twice, but maybe that’s a tall order.

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

Reply via email to