Skip to content

Instantly share code, notes, and snippets.

View weAreJack's full-sized avatar
🏠
Working from home

Jack Smith weAreJack

🏠
Working from home
  • Manchester
View GitHub Profile
import UIKit
import Combine
protocol UIControlPublishable: UIControl {}
extension UIControlPublishable {
func publisher(for event: UIControl.Event) -> UIControl.InteractionPublisher<Self> {
return InteractionPublisher(control: self, event: event)