SHARE
TWEET

Untitled

a guest Aug 14th, 2019 88 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top