Advertisement
Guest User

Untitled

a guest
Feb 22nd, 2019
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.48 KB | None | 0 0
  1. func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
  2. let cell = tableView.dequeueReusableCell(withIdentifier: "cells")
  3. cell?.textLabel?.text = data[indexPath.section].subType[indexPath.row]
  4. cell?.textLabel?.textAlignment = .right
  5. cell?.textLabel?.font = UIFont(name: "GESSTwoLight-Light", size: 15)
  6. cell!.isUserInteractionEnabled = false;
  7. cell!.imageView?.image = UIImage(named: "username.png")
  8.  
  9. return cell!
  10. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement