Swiftpack.co -  SRGSSR/srgletterbox-apple as Swift Package
Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
SRGSSR/srgletterbox-apple
The official SRG SSR media playback experience
.package(url: "https://github.com/SRGSSR/srgletterbox-apple.git", from: "7.0.0")

404: Not Found

GitHub

link
Stars: 6
Last commit: 4 days 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.

Release Notes

Improved playlist support
11 weeks ago

Playlist support has been improved:

  • Letterbox implementation of a playlist namely lets implementations liberally choose how they store a cursor into a playlist. For this reason the SRGLetterboxControllerPlaylistDataSource protocol was reduced to item retrieval and cursor updates only.
  • The SRGLetterboxControllerPlaybackTransitionDelegate protocol has been introduced for methods related to playback transitions, which were previously part of the data source protocol.

If you were using SRGLetterboxControllerPlaylistDataSource in your apps proceed as follows to migrate your code:

  • If you were using -controller:didTransitionToMedia:automatically: to update the current item within your playlist data source implementation, use the new -controller:didChangeToMedia: data source method instead. If you were using this method to observe continuous playback transitions between medias you should now subscribe to the SRGLetterboxPlaybackDidContinueAutomaticallyNotification notification and / or implement SRGLetterboxViewDelegate (respectively SRGLetterboxViewControllerDelegate for tvOS) instead. Both protocols contain methods with which you can be informed whether a user engaged in continuous playback or cancelled it, while the notification lets you know when this transition happened automatically without user interaction (and maybe without any player view being displayed).
  • Continuous playback settings are still returned from the -continuousPlaybackTransitionDurationForController: method, which has been moved to the transition delegate protocol.

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