title: New syntax for arrays in Xcode 4.5?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/9347722/apple-llvm-4-0-new-features-on-xcode-4-4-literals">Apple LLVM 4.0 new features on Xcode 4.4 (Literals)</a>  </p>
  </blockquote>
  
  
  
  <p>I am using Xcode 4.5 and would like to use the new syntax to adding objects to arrays, in my old code I have:</p>
  
  <blockquote>
    <p>NSArray *array = [[NSArray alloc] initWithObjects: rabbit, chicken,
    owl, nil];</p>
  </blockquote>
  
  <p>What is the correct way to use the new syntax that is being introduced, for example: </p>
  
  <blockquote>
    <p>@[rabbit, chicken, owl]</p>
  </blockquote>
  
  <p>TIA.</p>