title: for loop variable name use swift
body: <p>I have static variable name which I want to create it use loop :</p>
  
  <pre><code>var imageke1 = ""
  var imageke2 = ""
  var imageke3 = ""
  var imageke4 = ""
  var imageke5 = ""
  var imageke6 = ""
  var imageke7 = ""
  </code></pre>
  
  <p>I try with this but create error expected pattern:</p>
  
  <pre><code>for var i = 1; i &lt; 8; i++
      {
          var "imageke\(i)" = ""
      }
  </code></pre>
  
  <p>I try too with this but it conflict with same variable name (kucing) :</p>
  
  <pre><code>for var i = 1; i &lt; 8; i++
      {
          var kucing = "imageke\(i)"
          var kucing = ""
      }
  </code></pre>
  
  <p>At the end I also create list of string as result, and I want to change it too with loop:</p>
  
  <pre><code>var names: [String] = ["\(imageke1)", "\(imageke2)", "\(imageke3)", "\(imageke4)", "\(imageke5)", "\(imageke6)", "\(imageke7)"]
  </code></pre>
  
  <p>How to loop this variable name (imageke) and var names?</p>