         }
     }
 
-    func didTapUpload(sender: UIBarButtonItem)
+    func didTapUpload(_ sender: UIBarButtonItem)
     {
         let title = self.titleTextField.text
         let description = self.descriptionTextView.text


    // MARK: Actions
    
    func didTapCancel(sender: UIBarButtonItem)
    {
        self.operation?.cancel()
        self.activityIndicatorView.stopAnimating()
        self.navigationController?.popViewControllerAnimated(true)
        
        if let videoUri = self.uploadTicket?.video?.uri
        {

        self.operation?.start()
    }
    
    fileprivate func startUpload()
    {
        let url = self.url!
        let uploadTicket = self.uploadTicket!
