This file contains hidden or 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
// | |
// ActivityTracker.swift | |
// | |
// Created by Daniel Tartaglia on 05 Dec 2021. | |
// Copyright © 2021 Daniel Tartaglia. MIT License. | |
// | |
extension Publisher { | |
func trackActivity(_ activityTracker: ActivityTracker) -> AnyPublisher<Output, Failure> { | |
activityTracker.trackActivity(of: self) |
This file contains hidden or 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
import Cause_Logic_Effect | |
import RxCocoa | |
import RxSwift | |
import RxSwiftExt | |
import UIKit | |
final class ViewController: UIViewController { | |
var tableView: UITableView! | |
var logoutButton: UIButton! | |
let disposeBag = DisposeBag() |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 |