title: Non repeating random numbers in Objective-C
body: <p>I'm using</p>
  
  <pre><code>for (int i = 1, i&lt;100, i++)
      int i = arc4random() % array count;
  </code></pre>
  
  <p>but I'm getting repeats every time. How can I fill out the chosen <code>int</code> value from the range, so that when the program loops I will not get any dupe?</p>