func insertItem(_ item: [String: String]) {
dataSource.items.append(item) // data source is the data source object
listbox.reloadData() // listbox is also defined
}
Topic:
Programming Languages
SubTopic:
Swift
Tags: