Swiftpack.co - michaelnisi/playback as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
Play audio and video
.package(url: "https://github.com/michaelnisi/playback.git", from: "v9.0.0")


The Playback Swift package for iOS plays audio and video. It manages a playback session, plays audio and video, integrates with Remote Command Center, and persists playback times using NSUbiquitousKeyValueStore.

Playback is used in the Podest podcast app.


Audiovisual playback is asynchronous, a combination of IO and user events. Internally, Playback synchronizes these events and serially handles them, implementing a finite-state machine with five states.

  • inactive
  • paused
  • preparing
  • listening
  • viewing


📦 Add https://github.com/michaelnisi/playback to your package manifest.


MIT License


Stars: 3
Last commit: 1 week ago

Ad: Job Offers

iOS Software Engineer @ Perry Street Software
Perry Street Software is Jack’d and SCRUFF. We are two of the world’s largest gay, bi, trans and queer social dating apps on iOS and Android. Our brands reach more than 20 million members worldwide so members can connect, meet and express themselves on a platform that prioritizes privacy and security. We invest heavily into SwiftUI and using Swift Packages to modularize the codebase.

Submit a free job ad (while I'm testing this). The analytics numbers for this website are here.

Release Notes

🧮 Combine
9 weeks ago

Expose playback state including asset state via Combine publisher.

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