title: Proper way to convert BOOL value into INT?
body: <p>Everytime when I tried to convert BOOL value into int. INT value is showing -8 for True and 0 for False. Ideally it should return 1 for true.</p>
  
  <p>I have tried all possible ways of conversion like</p>
  
  <pre><code>int val=Info.isattachementDownloadable;
  int val=[[NSString stringWithFormat:@"%d", Info.isattachementDownloadable] intValue];
  int val=(int)Info.isattachementDownloadable;
  </code></pre>
  
  <p>where <code>Info.isattachementDownloadable</code> return BOOL</p>
  
  <p>In all ways its showing -8 for TRUE.</p>
  
  <p>Any suggestion ?</p>