title: Objective - C: Combine multiple string arrays
body: <p>I have multiple NSString Arrays that I would like to combine into a single array based on user preferences.</p>
  
  <p>The arrays are created:</p>
  
  <pre><code>static const NSString *string1[] = 
  {...};
  
  static const NSString *string2[] =
  {...};
  
  static NSMutableString *string3[] =
  {
  
  };
  </code></pre>
  
  <p>String3 is the holding array where all of the user's choices are added. There are 8 different strings that could be toggled on or off, so a fair number of possible combinations. I've tried a number of things with no success. For example:</p>
  
  <pre><code>*string3=[string3 arrayByAddingObjectsInArray:string 2];
  </code></pre>
  
  <p>That gives warnings:</p>
  
  <p><code>Instance method '-arrayByAddingObjectsInArry:' not found (return type defaults to 'id')</code> </p>
  
  <p>and </p>
  
  <p><code>Receiver type 'NSMutableString **' is not 'id' or interface pointer, consider casting it to 'id'</code></p>
  
  <p>Thanks for your help.</p>