Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 

Player Manager

Screenshot 2024-02-07 at 20 30 53

This application demonstrates how to build a simple application for both iOS and macOS using AVPlayer.

The core logic of the application is written a single time, and powers both views. All of the code shared between the iOS and macOS apps is in the Common Swift package.

Interaction with AVPlayer API is done via the ComposableAVPlayer library that comes with the Composable Architecture. It gives you an Effect-friendly interface to all of AVPlayer APIs, making it easy to use its features from a reducer and making it easy to test logic that depends on its AVPlayer functionality.