am new to swift code
this is my json after parsing I have to display on tableview,
I can get the date, details,eventid properly but am not able to get the "eventImage" inside banner image I can try but am not getting that pls help me
this is my code
json calling function
if errorCode == "0" {
if let Media_list = jsonData["events"] as? NSArray {
for i in 0 ..< Media_list.count {
if let MediaEventData = Media_list[i] as? NSDictionary {
=====>> Hear the problem let imageURL = self.url+"/images/" + String(describing: MediaEventData["bannerImage"]!)
self.Mediainfo.append(MediaEvent(
eventId: MediaEventData["eventId"]as?String,
date: MediaEventData["date"]as?String,
eventname: MediaEventData["eventName"]as?String,
bannerImages: imageURL
)
)
}
}
self.do_table_refresh()
}
my tablview code
override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
let cell = tableView.dequeueReusableCell(withIdentifier: "Media", for: indexPath)as! MediaCustomTableViewCell
let row = indexPath.row
let media = Mediainfo[row] as MediaEvent
cell.DisplayDate.text = media.date
cell.DisplayName.text = media.eventName
cell.DisplayImage.image = UIImage(named: "profile_pic")
cell.DisplayImage.downloadImageFrom(link: media.bannerImages!, contentMode: .scaleAspectFit)
// Configure the cell...
return cell
}
how can display the "banner image" tableview

ArrayandDictionaryrather than typelessNS...Foundation types.