Lighter icon indicating copy to clipboard operation
Lighter copied to clipboard

Add a mode in which the database is rendered as Swift statics

Open helje5 opened this issue 2 years ago • 0 comments

Instead of shipping the database, the database itself could be generated as Swift code, like:

struct Person: Identifiable {
  let id : Int
  let name : String
}

let people : [ Person ] = [
  Person(id: 1, name: "Bourne"),
  Person(id: 2, name: "Jason")
]

That might be useful sometimes? 🤔

helje5 avatar Aug 16 '22 16:08 helje5