Advertisement
Guest User

Untitled

a guest
Aug 14th, 2019
121
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. class ReservationCell: UITableViewCell {
  2.  
  3. var reservation: Reservation!
  4.  
  5. weak var delegate: ReservationCellDelegate?
  6.  
  7. @IBAction func editTapped() {
  8. delegate?.editReservation(reservation)
  9. }
  10.  
  11. @IBAction func showMenu() {
  12. delegate?.showMenu(for: reservation.restaurant)
  13. }
  14.  
  15. @IBAction func showDetail() {
  16. delegate?.show(reservation)
  17. }
  18.  
  19. @IBAction func getDirections() {
  20. delegate?.getDirections(for: reservation.restaurant)
  21. }
  22. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement