ios – Import views from a database


I’m looking for out how I might accomplish the next:

Let’s say I’ve an app utilized by eating places and the app reveals the ground plan of the restaurant. However I need this flooring plan to be created by the client, whether or not it’s by an internet portal or on an iPad/iPhone. The shopper can create/edit the ground plan which accommodates tables (and chairs) and once you press the desk you may work together with it.

How might I load this flooring plan within the app? Ought to it’s exported to an XML file and saved in a database? Can this be achieved with XML information and loaded in storyboards or in SwiftUI?

I would like to study extra about this.

I’ve seen some posts relating to loading xml information into swiftui views. I’m not certain if that’s what I’m searching for.