CopyPastor

Detecting plagiarism made easy.

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

Possible Plagiarism

Plagiarized on 2013-03-08
by Rushabh

Original Post

Original - Posted on 2012-08-15
by Ankit Srivastava



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

for (UIViewController*vc in [self.navigationController viewControllers]) { if ([vc isKindOfClass: [TestViewController class]]){ [[self navigationController] popToViewController:vc animated:YES]; } }
for (UIViewController*vc in [self.navigationController viewControllers]) { if ([vc isKindOfClass: [TestViewController class]]){ vc.itemselected= head ; [[self navigationController] popToViewController:vc animated:YES]; } }
****EDIT**** This should be
`for (TestViewController*vc in [self.navigationController viewControllers])`
instead of
for (UIViewController*vc in [self.navigationController viewControllers])

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