title: Initialize and allocate multiple variables/objects | Objective C
body: <p>How would I turn this:</p>
  
  <pre><code>xmlObject *system_domain  = [xmlObject alloc] 
  xmlObject *system_description = [xmlObject alloc]
  xmlObject *system_type = [xmlObject alloc]
  </code></pre>
  
  <p>Into something where I would only have to write xmlObject and [xmlObject alloc] once.</p>
  
  <pre><code>xmlObject *system_domain, *system_description, *system_type = [xmlObject alloc]
  </code></pre>
  
  <p>This makes all of them xmlObjects, but does not allocate each one. Any help would be much appreciated.</p>