title: How to populate array of custom objects
body: <pre><code>class abc{
      var name = String()
  
       init(name:String){
          self.name = name
       }
  }
  
  var obj = [abc]()
  obj[0] = abc(name:"sun")
  obj[1] = abc(name:"sharma")
  </code></pre>