Closed hungwei0331 closed 4 years ago
i had read the sample code of timeTable example project,
for example if i want to set the slot name into cell,
expected to add String into slotInfoArray
how could i make it,
sorry i know its a easy question,
but i stocked in this,
slotInfo[IndexPath(row: cellRange.from.row, column: cellRange.from.column)] = (minutes, duration)
thanks in advance for any comment
I found that "var slotInfo = [IndexPath: (Int, Int)]()" is an dictionary modified the value directly would be solved
Expected Behavior
i had read the sample code of timeTable example project,
for example if i want to set the slot name into cell,
expected to add String into slotInfoArray
how could i make it,
sorry i know its a easy question,
but i stocked in this,
slotInfo[IndexPath(row: cellRange.from.row, column: cellRange.from.column)] = (minutes, duration)
thanks in advance for any comment