This repository has been archived by the owner on Jul 2, 2018. It is now read-only.
1.1.0
1.1.0
- [MNY-16]: Grab bag of minor issues post 1.0 release.
- Cleans up some minor mistakes (spelling etc).
- Adds
NSCoding
conformance toFXQuote
- so it can be persisted if needed. - Adds
FXRemoteProviderType.quote(: BaseMoney, completion: Result<(BaseMoney, FXQuote, CounterMoney), FXError> -> Void) -> NSURLSessionDataTask
API. This is the nuts and bolts of the FX provider now. It returns as its result, the base money (i.e. the input), the quote (which includes the rate), and the counter money (i.e. the output). Thefx
method still exists, and it just unwraps the tuple to return the counter money. See the updated README.
- [MNY-17]: There was an oversight in the functions in
DecimalNumberType
which acceptsNSDecimalNumberBehaviors
as an argument. These were unnecessary so I’ve removed them. Hence the minor version bump.