title: How to put specific values into an element of an array of arrays
body: <p>I would like to know how to put name value "ok" and "123" into first array which is ["here"] I want other arrays to be empty.</p>
  
  <pre><code>    import Foundation
      import CoreLocation
  
      class Spot {
  
          let name: String
          let location: CLLocation
  
          init (lat: CLLocationDegrees, lng: CLLocationDegrees, name: String = "") {
              self.location = CLLocation(latitude: lat, longitude: lng)
              self.name = name
          }
      }//class
  
      extension Spot {
  
          static var list: [Spot] {
  
              return [
  
                  Spot(lat: 35.124585, lng: 135.154821, name: "ok"),
                  Spot(lat: 35.05406, lng: 136.215414, name: "123")
      ]
          }
      }
  
      var array = [["here"],[],[],[],[],[]]
  </code></pre>