Swiftpack.co - Package - OhKanghoon/RxApolloClient

RxApolloClient

Swift Build Status Version License Platform

Dependencies

Requirements

  • Xcode 11.0
  • Swift 5.1

Installation

pod 'RxApolloClient', '1.4.0'
  • Using [Swift Package Manager]
import PackageDescription

let package = Package(
  name: "YourApp",
  dependencies: [
    .package(url: "https://github.com/OhKanghoon/RxApolloClient", from: "1.4.0")
  ]
)

Usage

Fetch

client.rx
  .fetch(query:)

Watch

client.rx
  .watch(query:)

Mutate

client.rx
  .perform(mutation:)

Upload

client.rx
  .upload(operation:, files:)

Subscribe

client.rx
  .subscribe(subscription:)

Example

Author

OhKanghoon, ggaa96@naver.com

License

RxApolloClient is available under the MIT license. See the LICENSE file for more info.

Github

link
Stars: 32

Used By

Total: 0

Releases

v1.4.0 -

  • Update apollo-ios version to 0.36.0 (#18)

v1.3.0 -

  • Support apollo-ios v0.20.0 (#13 ,#14)

v1.2.0 -

  • Support Swift Package Manager
  • Make ApolloError public

v1.1.0 -

  • update apollo version to 0.15.3 (#4)
  • support upload, subscibe (#4)

v1.0.0 -

Support Swift 5 (#1 #2)

v0.1.0 -

  • Add ApolloClient+Rx