중첩 배열 트리의 특정 위치에 대한 경로를 함께 나타내는 인덱스 목록입니다.

인덱스 경로의 각 인덱스는 트리의 한 노드에서 더 깊은 다른 노드까지의 자식 배열에 대한 인덱스를 나타냅니다.

override func tableView(_ tableView: UITableView, 
cellForRowAt indexPath: IndexPath) -> UITableViewCell {        
		let cell = tableView.dequeueReusableCell(withIdentifier: "reuseIdentifier", 
		for: indexPath)        cell.textLabel?.text = arr[indexPath.row]        

		return cell
}

identifier가reuseIdentifier인 cell의 textLable의 text에arr[indexPath.row]를 넣어줘~~(textLabel은 우리가 추가하지 않았지만, 자동으로 있는 프로퍼티랍니다!)

indexPath.row? 이건 무슨 말일까요? indexPath는 tableView의 행을 식별하는 인덱스 경로로 그 경로 행에 위치를 인덱스로 가지는 arr의 원소로 textLabel에 써주겠다라는 뜻~

참고 https://zeddios.tistory.com/54 https://developer.apple.com/documentation/foundation/indexpath https://jeong9216.tistory.com/170 https://vincentgeranium.github.io/swift,/ios/2019/04/16/TableView-IndexPath.html