/abplayercontroller

Mac framework for creating a minimal audio player UI

Primary LanguageSwiftApache License 2.0Apache-2.0

ABPlayerController

Swift 5.0 Platforms macOS License Apache

ABPlayerController is a Mac framework for creating a minimal audio player UI.

Example

ABPlayerController is used in the AirBass app.

Instructions

Drag ABPlayerController.xcodeproj into the Project Navigator of your app's Xcode project. Then open your app target's "General" configuration page. In the "Embedded Binaries" section, click the + icon and select ABPlayerController.framework. Repeat these instructions for the ABPlayerInterface framework.

Usage

To use the framework, an audio source needs to conform to the ABPlayerService protocol. An ABPlayerController instance can then be initialized with the audio source and attached to a window created by ABWindow.

License

This project is available under the Apache 2.0 license. See LICENSE for details.