What does this statement mean?
isChecked = isChecked ^ 1;
isChecked is a BOOL.
isChecked
BOOL
it will XOR isChecked with 1 so I suppose true ^ 1 = 0(false) and false ^1 = 1(true)