What does this statement mean?
isChecked = isChecked ^ 1;
isChecked is a BOOL.
isChecked
BOOL
this is bitwise XOR operator and changes 0 to 1, and 1 to zero. see all opertors here.