Watch OS 3/Xcode 8 allows for stand alone watch apps. Can someone provide the best Swift array/method for loading data to a table in storbyboard in order from Interface Controller, updating after each display.
My code right now only selects the first value and displays in table, does not move onto the next value in the table list after use.
let financeupdate = ["London", "Milan", "Bangkok", "NYC"}
loadTableData()
}
private func loadTableData(){
financetable.setNumberofRows(financeupdate.count, withRowType:"GlobalFinanceRowController")
for (index, financeupdateName) in enumerate(finaceupdate_ {
let row=finacetable.rowControllerAtIndes(index) as GlobalFinanceRowController
row.interfaceLabel.setText(financeName)
}
}