|
|
@ -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 |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|