This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//: A UIKit based Playground for presenting user interface | |
import UIKit | |
import RxSwift | |
import RxCocoa | |
import PlaygroundSupport | |
import Cause_Logic_Effect | |
PlaygroundPage.current.liveView = CounterViewController().configure { $0.connect() } |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// TestScheduler+MarbleTests.swift | |
// | |
// Created by Daniel Tartaglia on 31 October 2021. | |
// Copyright © 2022 Daniel Tartaglia. MIT License. | |
// | |
import Foundation | |
import RxSwift | |
import RxTest |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// PublisherResultTransforms.swift | |
// rx-sandbox | |
// | |
// Created by Daniel Tartaglia on 9/19/21. | |
// | |
import Combine | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// UIPageController+Rx.swift | |
// | |
// Created by Daniel Tartaglia on 7/11/21. | |
// Copyright © 2021 Daniel Tartaglia. MIT License. | |
// | |
import RxCocoa | |
import RxSwift | |
import UIKit |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// WithNextFrom.swift | |
// | |
// Created by Daniel Tartaglia on 7/07/21. | |
// Copyright © 2021 Daniel Tartaglia. MIT License. | |
// | |
import RxSwift | |
extension ObservableType { | |
/// Emit the next element from the second Observable immediatly after an element from the source Observable emits. The most recent from the source and the next event from the second observable will be passed to the resultSelector for processing. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// Presenter.swift | |
// | |
// Created by Daniel Tartaglia on 8/24/20. | |
// Copyright © 2020 Daniel Tartaglia. MIT License. | |
// | |
import UIKit | |
import RxSwift |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// ErrorRouter.swift | |
// | |
// Created by Daniel Tartaglia on 5/23/20. | |
// Copyright © 2020 Daniel Tartaglia. MIT License. | |
// | |
import Foundation | |
import RxCocoa | |
import RxSwift |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// TokenAcquisitionService.swift | |
// CombineSandbox | |
// | |
// Created by Daniel Tartaglia on 11/27/19. | |
// Copyright © 2019 Daniel Tartaglia. MIT License. | |
// | |
import Foundation | |
import Combine |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
final class ViewController: UIViewController { | |
@IBOutlet weak var bottomConstraint: NSLayoutConstraint! | |
private let disposeBag = DisposeBag() | |
override func viewDidLoad() { | |
super.viewDidLoad() | |
// avoid keyboard. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// | |
// RetryWhen.swift | |
// CombineSandbox | |
// | |
// Created by Daniel Tartaglia on 9/27/19. | |
// Copyright © 2019 Daniel Tartaglia. MIT License. | |
// | |
import Foundation | |
import Combine |