This tutorial teaches how to create a Kitura Swift backend for the FoodTracker iOS app tutorial from Apple. This project contains a version of the tutorial code that has been updated to use Codable rather than NSCoder.
Now that the ORM feature has been added to this tutorial, it was previously advised to break client-side compatibility for the model object file by making it conform to Model.
In the updated readme, I have shown how to extend the model class to conform to Model instead, sticking to the plan of making the model file work on both client and server.
Now that the ORM feature has been added to this tutorial, it was previously advised to break client-side compatibility for the model object file by making it conform to
Model
.In the updated readme, I have shown how to extend the model class to conform to
Model
instead, sticking to the plan of making the model file work on both client and server.