Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- class ReservationCell: UITableViewCell {
- var reservation: Reservation!
- weak var delegate: ReservationCellDelegate?
- @IBAction func editTapped() {
- delegate?.editReservation(reservation)
- }
- @IBAction func showMenu() {
- delegate?.showMenu(for: reservation.restaurant)
- }
- @IBAction func showDetail() {
- delegate?.show(reservation)
- }
- @IBAction func getDirections() {
- delegate?.getDirections(for: reservation.restaurant)
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement