title: Creating array with struct in swift
body: <p>So. I have tried to create a person with struct in Swift and i'm wondering how to create an array using an instance of my struct.</p>
  
  <p>Can anybody tell me how to do this?</p>
  
  <pre><code>struct Person{
       var name: String
       var boyOrGirl: Bool
  
       init(names: String, bOg: Bool){
          self.name = names
          self.boyOrGirl = bOg
      }
  }
  var personArray: Person = [["Heine",true], ["Magnus",true]]
  </code></pre>