Swiftpack.co - stateman92/YouTubePlayPauseView as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by stateman92.
stateman92/YouTubePlayPauseView 0.0.3
YouTube play-pause view implemented in details! 🤓
⭐️ 3
🕓 46 weeks ago
iOS
.package(url: "https://github.com/stateman92/YouTubePlayPauseView.git", from: "0.0.3")

YouTubePlayPauseView

YouTube play-pause view implemented in details! 🤓

Setup

Add the following to Package.swift:

.package(url: "https://github.com/stateman92/YouTubePlayPauseView", exact: .init(0, 0, 2))

Or add the package in Xcode.

Usage

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.

Example

Example

GitHub

link
Stars: 3
Last commit: 26 weeks ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics