getsidetrack / swiftui-pipify

A SwiftUI component for launching custom picture-in-picture experiences
MIT License
155 stars 14 forks source link

Add Support for Button Interactivity #15

Closed Sherlouk closed 2 years ago

Sherlouk commented 2 years ago

Progress on #10 Closes #13

Work in progress, likely to require more structural changes to provide custom modifiers for this.

Ideally the play/pause button would only 'work' (store changes) if a closure is provided. Likewise the skip buttons should only be active if a closure is provided for those.

Sherlouk commented 2 years ago

Going to push this through, will make larger API changes in next PR.