CopyPastor

Detecting plagiarism made easy.

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

Possible Plagiarism

Plagiarized on 2018-09-13
by midhun p

Original Post

Original - Posted on 2017-12-08
by Krunal Patel



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

func textView(_ textView: UITextView, shouldChangeTextIn range: NSRange, replacementText text: String) -> Bool {

textView.resignFirstResponder() return false }
Swift 4 , Xcode 9.1 GM func textView(_ textView: UITextView, shouldChangeTextIn range: NSRange, replacementText text: String) -> Bool { adjustFrames() return textView.text.count + (text.count - range.length) <= 200 }

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