Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
- let tableViewCell = tableView.dequeueReusableCell(withIdentifier: reuseIdentifier, for: indexPath)
- if let cryptoTableViewCell = tableViewCell as? CryptoTableViewCell {
- let currencyType = currencies[indexPath.row]
- cryptoTableViewCell.formatCell(withCurrencyType: currencyType)
- }
- return tableViewCell
- }
Add Comment
Please, Sign In to add comment