Updating UI

pull/22/head
Oguzhan Gungor 7 years ago
parent bb8d114754
commit 1b06719b2b
  1. 8
      Trust/Tokens/Views/TicketTableViewCell.swift

@ -17,4 +17,12 @@ class TicketTableViewCell: UITableViewCell {
@IBOutlet weak var seatLabel: UILabel! @IBOutlet weak var seatLabel: UILabel!
@IBOutlet weak var zoneLabel: UILabel! @IBOutlet weak var zoneLabel: UILabel!
func configure(ticketHolder: TicketHolder) {
ticketNumberLabel.text = ticketHolder.ticketCount
nameLabel.text = ticketHolder.name
venueLabel.text = ticketHolder.venue
dateLabel.text = ticketHolder.date.format("dd MMM yyyy")
zoneLabel.text = ticketHolder.zone
seatLabel.text = ticketHolder.seatRange
}
} }

Loading…
Cancel
Save