Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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)
- Host: GitHub
- URL: https://github.com/drewbrns/sports-events-streaming
- Owner: drewbrns
- Created: 2022-08-09T08:30:30.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-11-12T20:17:05.000Z (about 1 year ago)
- Last Synced: 2024-11-19T23:51:15.632Z (3 months ago)
- Language: Swift
- Homepage:
- Size: 199 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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/