App Templates  /  Soccer Score
iOS app template · Full source code

Soccer Score - iOS Source Code

SwiftUIiOS 14+Xcode 13+AdMobIn-App Purchases
$69
Buy Source Code
  • Complete Xcode project
  • Full SwiftUI source code
  • Free support included
Watch the video demo ↓
Full source codeCustomize the complete Xcode project
SwiftUINative Apple development
iOS 14+Minimum supported iOS version
Free supportHelp with the source code as delivered
About the template

Soccer Score

Using the TheSportsDB API, this app is focused on showing different popular leagues, teams, and matches with the score and the date of the match. The second flow of the app is meant to let users choose a country, then see the teams and the league that each team belongs to in that country. The API is free to use, but there are some endpoints that require you to become a patreon. Learn more about the API hereSuch an app has lots of potential for organic downloads due to different popular soccer events like FIFA, UEFA, and more.

You will get the source code of the app that you see in the video demo. Nothing more or less than what the video demo shows. Feel free to ask questions before buying. The app is built using SwiftUI and supports iOS 14+. The app uses TheSportsDB API. All assets like teams logo, and league logos are fetched via the API and we also have some team logos stored in the app as a backup plan. All country flags are also stored in the app and currently, we have only 10 country flags, but you can add more if needed.

Requirements

What do I need to get started?

You will need a Mac computer with Xcode 13 installed. This app requires iOS 14+. All app templates on this website are for iPhones, with no iPad support. AdMob account is required if you want to show ads in the app. Make sure your Mac has the CocoaPods already installed since this is a minimum requirement to install the AdMob framework.

How it works

How does it work?

  • On the first tab, we show a list of leagues at the top. These leagues are defined in AppConfig. Each league requires a leagueId and country. You can add more leagues if needed. For each league we do get the teams from the API, then we show all events/matches for a given league for the 2021-2022 season. For some teams, the logo may be missing, so we have added some of the team logos manually into the app.
  • The second tab shows a list of teams for a selected country. Currently, the app supports 10 countries, but you can add more by simply adding a country flag into the app, or changing one line of code in AppConfig and showing all countries even if there are no flag images for them. We always show only the data we get from the API. If something doesn't show as expected, please note that all data is from the API, and Apps4World doesn't own/manage this API.
  • You can see that by default we allow users to access only a few leagues, while others are premium. The user can unlock all content and remove ads via in-app purchases. In-App Purchases are handled via a private framework. This framework doesn't support subscriptions. You can use this framework for any other games/apps that you want to add in-app purchases. If you want auto-renewable subscriptions, please contact us or search for 'PurchaseKit by Apps4World' in order to get the full version of the PurchaseKit product.
Opportunities

Opportunities for you

The API has so many features, but some of these interesting endpoints require you to become a patreon for TheSportsDB. If you do become a patreon, then you can access team players' data and more details about teams/events. Another great idea is to have a new tab dedicated to soccer-related news, as long as you can get the news from some sort of API. If you are a soccer fan, then it may be easier for you to find the schedule for upcoming soccer matches, and creating a new feature in the app to show those upcoming matches can be a nice idea as well.

Video demo

Football or Soccer?

Doesn't matter how you call it, this sport has earned the status of
'The Most Popular Sport in the World'

Need more than the template?

I can customize this project for your product, add features, or use it as the starting point for a larger native iOS app.

Discuss a custom build →