 
   private func configureView() {
     view.backgroundColor = Style.Colors.white
+
+    events.delegate = self
 
     tblTableView.allowsSelection = false
     tblTableView.dataSource = events

  }

  func join(_ sender: Any) {
    guard let eventID = eventID else { return }
    AKFCausesService.joinEvent(fbid: Facebook.id, eventID: eventID) { (result) in
      switch result {
      case .failed(let error):
        print("unable to join event: \(String (describing: error?.localizedDescription))")
        break
      case .success(_, _):
        break
      }
    }
  }
}

extension EventCell: ConfigurableUITableViewCell {
  func configure(_ data: Any) {
    guard let event = data as? Event else { return }

    if let url = event.image {
      // TODO(compnerd) asynchronously load and display the image

import SnapKit
import FacebookCore

protocol EventCellDelegate: class {
  func join(event: Event)
}

fileprivate class EventCell: UITableViewCell, IdentifiedUITableViewCell {
  static let identifier: String = "EventCell"

