 
     case .Examples:
       SVProgressHUD.showWithMaskType(.Gradient)
-      viewModel.enterExample(indexPath.row, completion: resultHandler)
+      viewModel.enterExample(indexPath.row, completion: resultHandler(indexPath))
     }
   }
 

      self.navigationController?.pushViewController(viewController, animated: true)
    case .Failure(let error):
      let alertController = UIAlertController(title: "Error", message: error.localizedDescription, preferredStyle: .Alert)
      alertController.addAction(UIAlertAction(title: "Cancel", style: .Cancel, handler: nil))
      self.presentViewController(alertController, animated: true, completion: nil)
    }
  }

    cell.textField.returnKeyType = .Go
    cell.textFieldShouldReturn = { [unowned self] textField in
      SVProgressHUD.showWithMaskType(.Gradient)
      self.viewModel.enter(apiary: textField.text, completion: self.resultHandler(nil))
      return true
    }
    return cell
