title: error: property 'myBoolVariableName' with 'retain' attribute must be of object type
body: <p>I have a BOOL value inside my @interface definition in my .h file.  Here it is below.  It has the same problem whether it's a pointer or not.</p>
  
  <pre><code>@interface myCustomViewController : UIViewController &lt;UIWebViewDelegate&gt; {
  {
   //...more iboutlets defined above
   BOOL *myBoolVariableName;
  }
  </code></pre>
  
  <p>When I compile, I get "error: property 'myBoolVariableName' with 'retain' attribute must be of object type" on the line for the import of my .h file.</p>
  
  <p>I found this page here about an integer / nsnumber:</p>
  
  <p><a href="http://discussions.apple.com/thread.jspa?threadID=1846927" rel="noreferrer">http://discussions.apple.com/thread.jspa?threadID=1846927</a> </p>
  
  <p>So, it seems I can't use BOOL values inside an @interface definition.  What can I use instead?</p>
  
  <p>What should I do for BOOL / boolean values?</p>