I have the following loop in my code:
for i in 0..<array.count where newRow != i {
array{i].active = false
}
I would like to assign the selectedIndexPath.row to the variable newRow. Is that possible or is there a better way to make the loop ignore the current row I am on?
Thanks in advance for any help.