title: Synthesised properties for primitive data types using ARC -- weak or assign?
body: <p>I was wondering what is the correct way to write synthesised properties for primitive data types (like <code>bool</code>) when ARC is enabled.</p>
  
  <p>I used to use this before ARC:</p>
  
  <pre><code>@property(assign) bool isOn;
  </code></pre>
  
  <p>But it is my understanding (maybe wrong) that you shouldn't use <code>assign</code> when ARC is enabled. I tried replacing this with <code>weak</code> but I get the error - </p>
  
  <blockquote>
    <p>Property of "weak" attribute must be of type object.</p>
  </blockquote>
  
  <p>Should I continue to use <code>assign</code>?</p>