OptionsCell.swift 367 B

12345678910111213141516171819
  1. //
  2. // OptionsCell.swift
  3. // Sirani
  4. //
  5. // Created by Anhar Solehudin on 31/03/19.
  6. // Copyright © 2019 Anhar Solehudin. All rights reserved.
  7. //
  8. import UIKit
  9. class OptionsCell: UITableViewCell {
  10. @IBOutlet weak var optionLabel: UILabel!
  11. func updateViews(item: OptionItem) {
  12. selectionStyle = .none
  13. optionLabel.text = item.label
  14. }
  15. }