title: boolValue not converting the NSString to BOOL
body: <p>I know this doubt could be silly mistake.  I am getting  a variable from JSON string,  it will have the status 1 or 0.  If I do using first method(Code 1) it works.  But if I do the second method (Cord 2) I am getting NO always.  I don't know what am I doing wrong.  Please forgive me if the question is too silly.</p>
  
  <p><strong>Cord 1:</strong></p>
  
  <pre><code>NSDictionary *drivingAlertResponse = [jsonResponseString objectFromJSONString];
  BOOL isEnabled;
          if ([[drivingAlertResponse valueForKey:@"alertStatus"] intValue] &gt; 0) {
              isEnabled = TRUE;
          }else{
              isEnabled = FALSE;
          }
  </code></pre>
  
  <p><strong>Cord 2:</strong></p>
  
  <pre><code>BOOL isEnabled = [[[NSString stringWithFormat:@"%i",[drivingAlertResponse valueForKey:@"alertStatus"]] isEqualToString:@"1"]? @"TRUE": @"FALSE"   boolValue];
  </code></pre>