Swiftpack.co - Package - peek-travel/swift-currency

Currency

A description of this package.

ISO 4271 Currency List

Updating the list

You will need gyb installed on your machine.

After updating the Resources/ISO4217.csv with the latest from the ISO Currency Workgroup, run the following command:

find . -name '*.gyb' | \
while read file; do \
    <path to gyb> --line-directive '' -o "${file%.gyb}" "$file"; \
done

Github

link
Stars: 1

Dependencies

Used By

Total: 0

Releases

Currency 0.2.0 - 2020-01-15 22:06:13

Major

  • Money was renamed to AnyCurrency
    • The currency property was renamed to metadata

Minor

  • AnyCurrency now has a static property named metadata as well
    • Any type that conforms to both AnyCurrency and CurrencyMetadata will have this requirement met by default
  • Sequence types with AnyCurrency elements now have a sum() and sum(where:) method for aggregating values

Misc

  • Carthage is now supported as a dependency manager

Currency 0.1.1: Carthage Support - 2020-01-15 00:43:11

- 2020-01-13 18:03:37