title: Setting objects to nil during fast enumeration
body: <p>I want to set an object to 'nil' as I enumerate through an array, as follows:</p>
  
  <pre><code>for(Object* object in array){
      object = nil;
  }
  </code></pre>
  
  <p>Xcode then tells me 'Fast enumeration variables can't be modified in ARC by default; declare the variable __strong to allow this.'</p>
  
  <p>Which means doing this:</p>
  
  <pre><code>for(Object __strong* object in array){
      object = nil;
  }
  </code></pre>
  
  <p>This seems to be redundant. As far as I understand, declaring a strong reference to an object increases its retain count by one, and nil-ing it decreases the retain count by one. So how, then, do I set an object to <code>nil</code> while enumerating through an array?</p>
  
  <p>I am using ARC.</p>