Open Appuniverse304 opened 3 years ago
I've made it so:
var titles:[String] = ["title1",...]
...
func barItem(for bar: TMBar, at index: Int) -> TMBarItemable {
return TMBarItem(title: titles[index])
}
...
titles[0] = "changed!"
self.reloadData()
"addBar(bar.systemBar(), dataSource: self, at: .bottom)"
after this I want to update my baritem title