Skip to content

triviapatente/ios

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

Trivia Patente - iOS

Table of Contents
  1. Introduction
  2. Getting started
  3. Contributing
  4. Authors
  5. License

Introduction

TriviaPatente is a mobile application that makes it easier and funnier to learn the theory of the driving license, connecting you with your friends. This repository contains the native iOS application.

Screenshots
drawing drawing drawing

Getting started

This project was a fun pet project developed by us back in 2017. We managed to exhume the code and make it run again in order, but the technologies are quite old! Yet, cool.

Prerequisites

The code was recently converted to Swift 4.0 in order to make it buildable from XCode 14, and uses the following technologies:

Version
iOS Minimum: 11.0, Maximum: 17.0
Swift 4.0
XCode 14.3
CocoaPods 1.12.1

Installing

In order to properly configure the project, you need to remove actual pods and reinstall the dependencies

rm -rf Pods/ Podfile.lock

pod install

After that, the code should compile fine.

Preparing the environment

In order to run the application properly, you need to deploy the backend behind it. Please follow the instructions here

After you setup the backend properly, deploy it anywhere and modify this line in HTTPManager.swift:

class func getBaseURL() -> String {
    return YOUR_BASE_URL_HERE
}

Executing

The projects uses some old versions of some libraries that are not compatible with ARM Targets yet. So, in order to execute the application on a simulator, follow this instructions

  • Go to 'Product' tab on XCode;
  • Follow Destination/Destination Architectures;
  • Choose 'Show Both', on the multiple choice form that appears;
  • You can now see on the simulator destinations the 'Rosetta' simulators, choose one and you are ready to go!

Contribute

We still need to set up an easy way to contribute, and provide a list of updates that might improve the project. You can save your ☕️s until then or, you can drop an email to help us:

  • Set up coding style guidelines
  • Wiki
  • Documentation
  • Set up contribution workflow

Authors

This project was developed with ❤️ and a giant dose of curiosity and passion from some very young folks (we were 20 at the time), in 2017 as a side project.

Authors
drawing Luigi Donadel
drawing Gabriel Ciulei
drawing Antonio Terpin

License

This project is licensed under the MIT License - see the LICENSE file for details.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published