CopyPastor

Detecting plagiarism made easy.

Score: 0.8150940537452698; Reported for: String similarity Open both answers

Possible Plagiarism

Plagiarized on 2019-12-23
by uzair iqbal

Original Post

Original - Posted on 2015-07-23
by Swinny89



            
Present in both answers; Present only in the new answer; Present only in the old answer;

func sendVideo(videoName: String, senderView: UIView) { let path = NSBundle.mainBundle().pathForResource(videoName, ofType:"m4v")! let fileUrl = NSURL(fileURLWithPath: path)! docController = UIDocumentInteractionController(URL: fileUrl) docController.UTI = "net.whatsapp.movie" docController.presentOpenInMenuFromRect(CGRectZero, inView: senderView, animated: true) }
Here is the Swift version:
func sendVideo(videoName: String, senderView: UIView) { let path = NSBundle.mainBundle().pathForResource(videoName, ofType:"m4v")! let fileUrl = NSURL(fileURLWithPath: path)! docController = UIDocumentInteractionController(URL: fileUrl) docController.UTI = "net.whatsapp.movie" docController.presentOpenInMenuFromRect(CGRectZero, inView: senderView, animated: true)
}

        
Present in both answers; Present only in the new answer; Present only in the old answer;