Signal-iOS/Signal/test
Evan Hahn 4675434c6c Add FiatMoney type
This change should have no user impact.

We commonly pair a currency, like USD, and an amount, like 1.23. This
adds the `FiatMoney` struct. It's a simple struct with two fields.

After adding it, I tried to use it everywhere. (It's possible I missed a
spot.)

I think this is a useful change on its own, but it'll be nice for an
upcoming change, too.

See also: [Android's equivalent class][0].

[0]: cb65347bb3/core-util/src/main/java/org/signal/core/util/money/FiatMoney.java (L1)
2022-10-26 17:04:51 -05:00
..
Assets Improvements to PNG transcoding 2022-09-13 23:22:50 +00:00
attachments Change license to AGPL 2022-10-13 08:25:37 -05:00
contact Change license to AGPL 2022-10-13 08:25:37 -05:00
Groups Change license to AGPL 2022-10-13 08:25:37 -05:00
mocks Change license to AGPL 2022-10-13 08:25:37 -05:00
Models Change license to AGPL 2022-10-13 08:25:37 -05:00
Payments Change license to AGPL 2022-10-13 08:25:37 -05:00
PerformanceTests Change license to AGPL 2022-10-13 08:25:37 -05:00
profiles Change license to AGPL 2022-10-13 08:25:37 -05:00
SSKTests Change license to AGPL 2022-10-13 08:25:37 -05:00
subscriptions Add FiatMoney type 2022-10-26 17:04:51 -05:00
Supporting Files iOS 9 Support 2015-10-31 04:45:55 +01:00
util Move system contact names to ContactRecord 2022-10-26 15:00:36 -07:00
ViewControllers Add FiatMoney type 2022-10-26 17:04:51 -05:00
views/ImageEditor Change license to AGPL 2022-10-13 08:25:37 -05:00
AppDelegateTest.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
OWSDeviceProvisioningURLParserTest.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
PhoneNumberValidatorTest.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
SignalBaseTest.h Change license to AGPL 2022-10-13 08:25:37 -05:00
SignalBaseTest.m Change license to AGPL 2022-10-13 08:25:37 -05:00
SignalBaseTest+Swift.swift Change license to AGPL 2022-10-13 08:25:37 -05:00
SignalTests-Bridging-Header.h Change license to AGPL 2022-10-13 08:25:37 -05:00