Skip to content

Instantly share code, notes, and snippets.

@iosdevie
Created June 2, 2021 09:18
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save iosdevie/f5093f285b77251a14d09b38221118c7 to your computer and use it in GitHub Desktop.
struct DataModel: Identifiable{
var id = UUID()
var name: String
var icon: String
var children : [DataModel]?
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment