Several changes have been done to the project to allow correct initialisation of the components using viewmodels. Some of those changes are:
New system of initialisation through viewmodels and UICollectionViewCell.
New base types for creation of components through inheritance.
Refactored cells to more closely match the prototype.
Result
The form is now being initialised using a JSON and the result is compiled into a JSON.
I won't be marking the checklist below since a lot of this code will be rewritten and due to time constraints we ended up breaking a lot of our rules. We should avoid this sort of behaviour as much as possible.
Checklist
This PR is
[ ] In accordance with our coding principles.
[ ] Implementing tests wherever needed and possible.
Motivation
Closes #45 Closes #51
Modifications
Several changes have been done to the project to allow correct initialisation of the components using viewmodels. Some of those changes are:
UICollectionViewCell
.Result
The form is now being initialised using a JSON and the result is compiled into a JSON.
I won't be marking the checklist below since a lot of this code will be rewritten and due to time constraints we ended up breaking a lot of our rules. We should avoid this sort of behaviour as much as possible.
Checklist
This PR is