title: for loop in SwiftyJSON Response
body: <p>I have a JSON response from Alamofire. I want populate my tableviews rolls with the JSON but only one roll is displayed. other JSONs are not loaded into to custom tableView cells</p>
  
  <pre><code>  If segmentedControl.selectedSegmentIndex == 0 {
  
              cell.textLabel?.text =    tableViewData[indexPath.section].sectionData[indexPath.row - 1]
              cell.currentRideDriverPassengerName.text =   currentDriverRidePassaengerDataModel.name
              cell.currentRideDriverPassengerLocation.text =   currentDriverRidePassaengerDataModel.location
              cell.currentRideDriverPassengerDestination.text = currentDriverRidePassaengerDataModel.destination
              cell.currentRideDriverPassengerPrice.text = String(currentDriverRidePassaengerDataModel.price)
              cell.currentRideDriverPassengerSeat.text = String(currentDriverRidePassaengerDataModel.seat)
              cell.currentRideDriverPassengerDistance.text = String(currentDriverRidePassaengerDataModel.distance)
              cell.currentRideDriverPassengerImage.sd_setImage(with: URL(string: currentDriverRidePassaengerDataModel.image))
  
          }else if segmentedControl.selectedSegmentIndex == 1 {
              guard let cell =   tableView.dequeueReusableCell(withIdentifier: "cell")  else {return UITableViewCell()}
              cell.textLabel?.text = tableViewData[indexPath.section].sectionData[indexPath.row - 1]
          }
          return cell
  
      }
  
      }
  
      func getCurrentRideData(url: String) {
      Alamofire.request(url, method: .get).responseJSON {
          response in
              if response.result.isSuccess {
                  print("Sucess Got the Current Ride Data")
  
                  let currentRideJSON : JSON =   JSON(response.result.value!)
                  let currentDriverPassenger : JSON = JSON(response.result.value!)
                  print(currentRideJSON)
                  print("This is passager\(currentDriverPassenger)")
                  self.updateCurrentRideData(json: currentRideJSON)
                  self.uodateCurrentRideDriverPassangerData(json: currentDriverPassenger)
              }else {
                  print("error)")
              }
        }
       }
  
  
       func uodateCurrentRideDriverPassangerData(json : JSON) {
       currentDriverRidePassaengerDataModel.image = json["ride"][0] ["riders"][0]["image"].stringValue
      currentDriverRidePassaengerDataModel.name = json["ride"][0]["riders"][0]["name"].stringValue
      currentDriverRidePassaengerDataModel.location = json["ride"][0]["riders"][0]["startLocation"].stringValue
      currentDriverRidePassaengerDataModel.destination = json["ride"][0]["riders"][0]["stopLocation"].stringValue
      currentDriverRidePassaengerDataModel.price = json["ride"][0]["rider"][0]["price"].intValue
      currentDriverRidePassaengerDataModel.seat = json["ride"][0]["riders"][0]["seatNumber"].intValue
      currentDriverRidePassaengerDataModel.distance = json["ride"][0]["riders"][0]["distance"].intValue
  
      }
  </code></pre>
  
  <p>I want my JSON to populate my table rolls not just one roll</p>