How to reverse a BOOL in Objective C
Sometimes you need the opposite of a BOOL. This is actually easier than I had expected – because the opposite of YES is !YES and the opposite of NO is !NO. More examples here: http://stackoverflow.com/questions/6829573/reversing-a-bool