Guest User

Untitled

a guest
Dec 18th, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.43 KB | None | 0 0
  1. override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
  2. let tableViewCell = tableView.dequeueReusableCell(withIdentifier: reuseIdentifier, for: indexPath)
  3.  
  4. if let cryptoTableViewCell = tableViewCell as? CryptoTableViewCell {
  5. let currencyType = currencies[indexPath.row]
  6. cryptoTableViewCell.formatCell(withCurrencyType: currencyType)
  7. }
  8. return tableViewCell
  9. }
Add Comment
Please, Sign In to add comment