YouTube play-pause view implemented in details! 🤓
Add the following to Package.swift
:
.package(url: "https://github.com/stateman92/YouTubePlayPauseView", exact: .init(0, 0, 2))
YouTubePlayPauseView(playing: $playing, continuousUpdate: true, color: .red)
.frame(width: 100, height: 100)
.onChange(of: playing) { playing in
// do something if the state of the logo is changed
}
For details see the Example app.
link |
Stars: 3 |
Last commit: 6 weeks ago |
Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics