这是主故事板的屏幕截图:而不是主故事板屏幕模拟器显示带有一堆名称的表格视图,其中图像和注释部分不可见
func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
return userEmailArray.count
}
func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
let cell = tableView.dequeueReusableCell(withIdentifier: "Cell", for: indexPath) as! FeedCell
cell.useremailLabel.text = userEmailArray[indexPath.row]
cell.likeLabel.text = String(likesArray[indexPath.row])
cell.commentLabel.text = userCommentArray[indexPath.row]
cell.userimageView.image = UIImage(named: "selectImage.png")
return cell
}