title: Want to invert BOOL value in iOS sdk
body: <p>I am getting id values from plist in iOS sdk,  if i am getting value 0 then I  have to show it as 1 and vice versa.</p>
  
  <p>Here is my code for the same</p>
  
  <pre><code>+(BOOL) removeButton {
     id obj = [[[NSBundle mainBundle] infoDictionary] valueForKey:@"ABC"];
     if (obj != Nil) {
        return (BOOL)obj;
    }
      return YES;
   }
  </code></pre>
  
  <p>But the problem is that as the value for id is 0 then it will return No and vice versa. But I want to put my condition in opposite matter such as suppose the value for id is 0 then I have to show return YES and vice versa.</p>