Skip to content

Instantly share code, notes, and snippets.

View tlb-xiongju's full-sized avatar
🎯
Focusing

Xiong Ju tlb-xiongju

🎯
Focusing
View GitHub Profile
import Combine
import UIKit
public protocol CombineCompatible {}
// MARK: - UIControl
public extension UIControl {
final class Subscription<SubscriberType: Subscriber, Control: UIControl>: Combine.Subscription where SubscriberType.Input == Control {
private var subscriber: SubscriberType?
private let input: Control