This code is not working but I think it is very close. I haven’t been able to get the many permutations I tried to work. Is this even possible?
myView.backgroundColor = [UIColor (i % 2) == 0 ? cyanColor : whiteColor];
Has anyone tried this or know how this code can be corrected?
That won’t work that way.
You need to write