TableView is displayed not how it's supposed to : I created a table view in Xcode, and when i run the project it's displayed awfully (pic related).
Don't know what could be the problem
What i did was :

import UIKit

class ViewController: UIViewController, UITableViewDelegate, UITableViewDataSource {
    
    
    let fruit = ["Apple", "Prune", "Grapes", "Watermelon", "Melon", "Cherry"]
    
    
    @IBOutlet weak var tableView: UITableView!
    
    override func viewDidLoad() {
        super.viewDidLoad()
        
        tableView.delegate = self
        tableView.dataSource = self
        
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        
    }
    
    func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
        
        return fruit.count
    }
    
    func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
        
        let cell = tableView.dequeueReusableCell(withIdentifier: "customCell") as! FruitTableViewCell
        
        cell.fruitLable.text = fruit[indexPath.row]
        cell.fruitImage.image = UIImage(named: fruit[indexPath.row])
        
        return cell
    }


}

import UIKit

class FruitTableViewCell: UITableViewCell {
    
    
    @IBOutlet weak var fruitView: UIView!
    @IBOutlet weak var fruitImage: UIImageView!
    @IBOutlet weak var fruitLable: UILabel!
    
    
    override func awakeFromNib() {
        super.awakeFromNib()
        
    }

    override func setSelected(_ selected: Bool, animated: Bool) {
        super.setSelected(selected, animated: animated)

        
    }

}
