Skip to content

waveChand/RxApolloClient

 
 

Repository files navigation

RxApolloClient

Swift Build Status Version License Platform

Dependencies

Requirements

  • Xcode 12.0
  • Swift 5.4

Installation

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

let package = Package(
  name: "YourApp",
  dependencies: [
    .package(url: "https://github.com/OhKanghoon/RxApolloClient", from: "1.5.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.

About

RxSwift extensions for Apollo Client

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages

  • Swift 97.0%
  • Ruby 3.0%