RxCodable

1.0.0

RxSwift wrapper for Codable
devxoul/RxCodable

What's New

2019-06-15T05:39:22Z
  • Add Swift 5 support 🚀 (#4)

RxCodable

Swift CocoaPods Build Status codecov

RxSwift wrapper for Codable.

At a Glance

struct User: Codable {
  var name: String
}

// Data -> User
Observable<Data>.just(jsonData).map(User.self)
Single<Data>.just(jsonData).map(User.self)
Maybe<Data>.just(jsonData).map(User.self)

// String -> User
Observable<String>.just(jsonString).map(User.self)
Single<String>.just(jsonString).map(User.self)
Maybe<String>.just(jsonString).map(User.self)

Installation

Contributing

Any discussions and pull requests are welcomed 💖

To create a Xcode project:

$ swift package generate-xcodeproj

License

RxCodable is under MIT license. See the LICENSE for more info.

Description

  • Swift Tools 5.0.0
View More Packages from this Author

Dependencies

Last updated: Sat Oct 19 2024 04:37:55 GMT-0900 (Hawaii-Aleutian Daylight Time)