<commit_before># Design Document
Based on the proposal (README.md), this is the design document which is in a more technical fashion.


## Classes

### User Class
An important class that I will be using, is for the users. Every user has a login (emailaddress) and a password. 


## (Advanced) Sketches
![View 1, 2, 3 and 4](Doc/Design1.jpg)

![View 5, 6, 7 and 8](Doc/Design2.jpg)


## List of APIs

### Country Information
- API: REST Countries. Link used: "https://restcountries.eu/rest/v1/name/"+title+"?fullText=true", where 'title' is the name of the country.

### Country Flag
- API: Geognos. Link used: "http://www.geognos.com/api/en/countries/flag/"+title+".png", where 'title' is the name of the country.

### (Potential API:) World Map
- API: MapKit. The MapKit framework provides an interface for embedding maps directly into your own windows and views. This framework also provides support for annotating the map, adding overlays, and performing reverse-geocoding lookups to determine placemark information for a given map coordinate.


## List of Database Tables/Fields
- The database that I will be using for storing information about the users and the tips is 'Firebase'. The Firebase Realtime Database is a cloud-hosted database. Data is stored as JSON and synchronized in realtime to every connected client.
- In addition to Firebase, I will have to use CocoaPods too (FirebaseDatabase, FirebaseAuth).<commit_msg>uitbreiding design document<commit_after># Design Document
Based on the proposal (README.md), this is the design document which is in a more technical fashion.


## Classes

### User Class
An important class that I will be using, is for the users. Every user has a login (email address) and a password (stored in Firebase).


## (Advanced) Sketches
![View 1, 2, 3 and 4](Doc/Design1.jpg)

![View 5, 6, 7 and 8](Doc/Design2.jpg)


## List of APIs

### Country Information
- API: REST Countries. Link used: "https://restcountries.eu/rest/v1/name/"+title+"?fullText=true", where 'title' is the name of the country.

### Country Flag
- API: Geognos. Link used: "http://www.geognos.com/api/en/countries/flag/"+title+".png", where 'title' is the name of the country.

### (Potential API:) World Map
- API: MapKit. The MapKit framework provides an interface for embedding maps directly into your own windows and views. This framework also provides support for annotating the map, adding overlays, and performing reverse-geocoding lookups to determine placemark information for a given map coordinate.


## List of Database Tables/Fields
- The database that I will be using for storing information about the users and the tips is 'Firebase'. The Firebase Realtime Database is a cloud-hosted database. Data is stored as JSON and synchronized in realtime to every connected client.
- In addition to Firebase, I will have to use CocoaPods too (FirebaseDatabase, FirebaseAuth).
{'fraction_non_alphanumeric': 0.08911917098445596, 'fraction_numerical': 0.0075993091537132984, 'mean_word_length': 4.4232209737827715, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4516176', 'n_tokens_mistral': 830, 'n_tokens_neox': 786, 'n_words': 393}