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 | ||
---|---|---|
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.
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 |
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.
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
}
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!
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:
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 | |
---|---|
Luigi Donadel | |
Gabriel Ciulei | |
Antonio Terpin |
This project is licensed under the MIT License - see the LICENSE file for details.