MakeSchool-Tutorials / Makestagram-Swift-V3

14 stars 7 forks source link

24. Handling Pagination (Typo: Incorrect Method) #35

Closed jaramirez1729 closed 7 years ago

jaramirez1729 commented 7 years ago

The line "Open HomeViewController and modify tableView(_:numberOfRowsInSection:) to the following" is incorrect.

The following code to modify the switch statement that returns cells should actually be referring to the tableView(_:cellForRowAt:) method, not the tableView(_:numberOfRowsInSection) since that method doesn't return cells but the code that we're modifying is specifically for the switch case returning cells.

ocwang commented 7 years ago

Good catch. Changed method name to above.