




func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
// 1. 테이블 뷰에서 재사용 가능한 셀을 가져옴
let cell = tableView.dequeueReusableCell(withIdentifier: "myCell", for: indexPath) as! MyTableViewCell
// 2. 셀의 콘텐츠를 설정
cell.movieName.text = name[indexPath.row]
// 3. (주석 처리된) 디버깅용 출력
// print(indexPath.description)
// 4. 구성된 셀 반환
return cell
}


