A simple currency converter library using the XML data from expenses.cash (originally from European Central Bank). The library has been created and used for Expenses.app. It fetches the latest foreign exchange reference rates and returns the objects in a simple way.
swift package --allow-writing-to-directory ./docs \
generate-documentation --target CurrencyConverter --output-path ./docs \
--transform-for-static-hosting --hosting-base-path currency-converter
swift package --disable-sandbox preview-documentation --product CurrencyConverter
See also apple/swift-docc-plugin for more information.