Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/drewbrns/sports-events-streaming

A simple app to display a list of events, stream selected event and a list of schedule (EPG)
https://github.com/drewbrns/sports-events-streaming

Last synced: 22 days ago
JSON representation

A simple app to display a list of events, stream selected event and a list of schedule (EPG)

Awesome Lists containing this project

README

        

[![Swift Version][swift-image]][swift-url]
[![CI](https://github.com/drewbrns/sample-sports-events-streaming/actions/workflows/CI.yml/badge.svg)](https://github.com/drewbrns/sample-sports-events-streaming/actions/workflows/CI.yml)
# Sample Sports Events Streaming App
App to display a list of events, stream selected event and a list of schedule (EPG)

Things to note:
1. This app simulates pagination by allowing users to infinitely scroll until 100 items are loaded from the remote api.
2. User would see duplicates because the api was called multiple times and received the same data after each call.
3. After user scrolls back to the top of the page, the duplicates would be evident since all the data is sorted based on Date in ascending order.

See images below


Fig.1 - List as it is being infinitely scrolled

 


Fig.2 - List with duplicates sorted by date in ascending order

## Requirements
- iOS 15.5+
- Xcode 13.4+

[swift-image]:https://img.shields.io/badge/swift-5.6-orange.svg
[swift-url]:https://swift.org/