                     fatalError("Execution should never reach this point")
                 }
                 
-                strongSelf.state = .Finished
+                strongSelf.state = .finished
             })
             
             self.task?.resume()

        
        do
        {
            self.task = try self.sessionManager.createVideoDataTask(url: url, videoSettings: videoSettings, completionHandler: { [weak self] (uploadTicket, error) -> Void in
                
                guard let strongSelf = self else
                {

                
                strongSelf.task = nil
                
                if strongSelf.isCancelled
                {
                    return
                }
