Permalink
Browse files

Update API

  • Loading branch information...
1 parent b41d197 commit eef0a1b7f1346e9ec2ee563c6e395e67052d9515 @steipete steipete committed Mar 4, 2014
Showing with 2 additions and 2 deletions.
  1. +2 −2 Examples/PSPDFCatalog/Subclassing/PSCHeadlessSearchPDFViewController.m
@@ -50,10 +50,10 @@ - (void)setHighlightedSearchText:(NSString *)highlightedSearchText {
- (void)updateTextHighlight {
if ([self.highlightedSearchText length]) {
- [self.document.textSearch searchForString:self.highlightedSearchText];
+ [self.textSearch searchForString:self.highlightedSearchText];
}else {
[self.searchHighlightViewManager clearHighlightedSearchResultsAnimated:NO];
- [self.document.textSearch cancelAllOperationsAndWait];
+ [self.textSearch cancelAllOperationsAndWait];
}
}

0 comments on commit eef0a1b

Please sign in to comment.