title: Incompatible pointer type assigning "NSMutableArray" to "NSArray"?
body: <p>This is my code</p>
  
  <pre><code> NSMutableArray * reversedNamesArray; //theres about a thousand variable already stored in here, this is just for documentation
  reversedNamesArray = [reversedNamesArray sortedArrayUsingSelector:@selector(localizedCaseInsensitiveCompare:)];
  
  //Incompatible pointer type assigning "NSMutableArray" to "NSArray"
  </code></pre>
  
  <p>The message above is what i get, i know what it means, but i don't want to take an extra step of copying an NSMutableArray of a thousand variable to a NSArray is there any cast i can use to fix the warning, it doesn't affect my code, but i just want a fix for it. and can you explain why they are not compatible, they NSMutableArray and NSArray should use the same amount of bytes so i don't see why they are incompatible in the first place.</p>