Create a Timer Publisher using Swift Combine
I've been watching the Data Flow Through SwiftUI WWDC talk . They have a slide with a sample code where they use a Timer publisher that gets connected to a SwiftUI View, and updates the UI with the time. I'm working on some code where I want to do the exact same thing, but can't figure out how this PodcastPlayer.currentTimePublisher is implemented, and then hooked to the UI struct. I have also watched all the videos about Combine. How can I achieve this? The sample code: struct PlayerView : View { let episode: Episode @State private var isPlaying: Bool = true @State private var currentTime: