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
// | |
// PollContinuously+Rx.swift | |
// | |
// Created by Daniel Tartaglia on 20 Jun 2023. | |
// Copyright © 2023 Daniel Tartaglia. MIT License. | |
// | |
import RxSwift | |
extension ObservableType { |
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
// | |
// ThrottleDebounceLatest.swift | |
// | |
// Created by Daniel Tartaglia on 14 Oct 2023. | |
// Copyright © 2023 Daniel Tartaglia. MIT License. | |
// | |
import Foundation | |
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
// | |
// UITextViewExtensions.swift | |
// | |
// Created by Daniel Tartaglia on 7/20/17. | |
// Copyright © 2017 Daniel Tartaglia. MIT License. | |
// | |
import UIKit | |
extension UITextField { |
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
class Tests: XCTestCase { | |
var scheduler: TestScheduler! | |
var result: TestableObserver<String>! | |
var disposeBag: DisposeBag! | |
override func setUp() { | |
super.setUp() | |
scheduler = TestScheduler(initialClock: 0, resolution: 0.1) | |
result = scheduler.createObserver(String.self) | |
disposeBag = DisposeBag() |
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 | |
// | |
// Created by Daniel Tartaglia on 16 Jan 2019. | |
// Copyright © 2022 Daniel Tartaglia. MIT License. | |
// | |
import Foundation | |
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
// | |
// RetryWhen.swift | |
// CombineSandbox | |
// | |
// Created by Daniel Tartaglia on 9/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
// | |
// CLGeocoder+Rx.swift | |
// | |
// Created by Daniel Tartaglia on 5/7/16. | |
// Copyright © 2018 Daniel Tartaglia. MIT License. | |
// | |
import RxSwift | |
import CoreLocation | |
import Contacts |
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
// uses https://gist.github.com/danielt1263/bd449100764e3166644f7a38bca86c96 | |
import RxSwift | |
import RxTest | |
import XCTest | |
final class ExampleTests: XCTestCase { | |
func test_merge_second_finishes_faster() { | |
let scheduler = TestScheduler(initialClock: 0) | |
let args = scheduler.createObserver(Device.self) |
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
// | |
// AccumulatingDebounce.swift | |
// | |
// Created by Daniel Tartaglia on 10 Mar 2023. | |
// Copyright © 2023 Daniel Tartaglia. MIT License. | |
// | |
import Foundation | |
import RxSwift |
NewerOlder