Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
struct SwiftUIList: View {
@ObservedObject var model: DataModel
var body: some View {
List(model.modelData){
model in
Text(model.title)
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment