Created
June 21, 2018 22:24
-
-
Save gallaugher/fe12842f2ec206c2c6ee23ebb7cff550 to your computer and use it in GitHub Desktop.
SpotDetailViewController.swift's tableView(cellForRowAt:)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell { | |
| let cell = tableView.dequeueReusableCell(withIdentifier: "ReviewCell", for: indexPath) as! SpotReviewsTableViewCell | |
| cell.review = reviews.reviewArray[indexPath.row] | |
| return cell | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment