This is a Cheatsheet for RxSwift developers migrating to projects using ReactiveSwift.
Inspired by the RxSwift to Combine cheatsheet
| RxSwift | ReactiveSwift | |
|---|---|---|
| Deployment Target | iOS 8.0+ | iOS 8.0+ |
| import SwiftUI | |
| struct WhatNotView< | |
| OffCircleContent: View, | |
| OnCircleContent: View, | |
| OffTrailingContent: View, | |
| OnTrailingContent: View | |
| >: View { | |
| @State var toggle: Bool = false | |
| @ScaledMetric var scale: CGFloat = 1 |
This is a Cheatsheet for RxSwift developers migrating to projects using ReactiveSwift.
Inspired by the RxSwift to Combine cheatsheet
| RxSwift | ReactiveSwift | |
|---|---|---|
| Deployment Target | iOS 8.0+ | iOS 8.0+ |
| //: Playground - noun: a place where people can play | |
| import UIKit | |
| import XCTest | |
| struct Product { | |
| var name: String | |
| var price : Double | |
| } |
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.