title: How to change object in NSArray
body: <p>I have two <code>NSArray</code>s and I would like to change one object in the first <code>NSArray</code> with another object in the second <code>NSArray</code>.</p>
  
  <p>This is what I tried to do, but with no luck:</p>
  
  <pre><code>[[arrrndwords objectsinindex:i] replace object in index:1 with:[arrword indexinobject:rndnum]];
  </code></pre>
  
  <p>It throws me out of the app when I run it.</p>