This is only question I've asked (so far) that doesn't need much/any explanation.
I had got as far as this with solving it:
- each class might have an
initialiseTable()kind of like function which would be called when the DB schema is initialised?
- Static constants in each class for column
I guess the part I'm pondering about most is filling instances of model classes with
As always, thanks in advance for help :)
Link to the awesome SQLite.swift for those who haven't come across it yet.