Swiftpack.co - OhKanghoon/RxApolloClient as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by OhKanghoon.
OhKanghoon/RxApolloClient 1.6.0
RxSwift extensions for Apollo Client
⭐️ 45
🕓 2 years ago
iOS macOS watchOS tvOS
.package(url: "https://github.com/OhKanghoon/RxApolloClient.git", from: "1.6.0")

RxApolloClient

Swift Build Status Version License Platform

Dependencies

Requirements

  • Xcode 13.2.1
  • Swift 5.5.2

Installation

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

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

License

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

GitHub

link
Stars: 45
Last commit: 2 years ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

v1.6.0
2 years ago
  • upgrade apollo version
  • upgrade swift tools version

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics