Bling 2.0.0

Bling 2.0.0

Maintained by Jan Gorman.



Bling 2.0.0

Bling 💰

Build Status codecov Version License Platform Carthage compatible

An Open Exchange Rates API wrapper written in Swift using Combine.

Requirements

  • Swift 5.1
  • iOS 13.0+

Install

Bling is available on Cocoapods. Add it to your Podfile and run pod install:

pod 'Bling'

Usage

To use Bling you need to create a new instance and pass it your app id:

let bling = Bling(appId: "…")

bling.latest()
  .sink(receiveCompletion: { … },
        receiveValue: { print($0) })
  .store(in: &subscriptions)

Tests

Bling uses Hippolyte for stubbing network requests so if you'd like to run the tests yourself, after checking out the repository, run git submodule init to fetch the dependency.

License

Hippolyte is released under the MIT license. See LICENSE for details