You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello!
I'm scanning a pdf file page-by-page, and I'm interested in just showing a list with the pages where a result was found (not the number of results per page).
I thought it would be more efficient if the search stopped after the first result was found, but I can't get it to work.
I tried exiting early from the while loop in StringDetector's appendString: but it seems that doesn't affect the results.
So, is there a way to manually stop the CGPDFScannerScan when the self.selections gets its first result?
Thanks!
The text was updated successfully, but these errors were encountered:
Hello!
I'm scanning a pdf file page-by-page, and I'm interested in just showing a list with the pages where a result was found (not the number of results per page).
I thought it would be more efficient if the search stopped after the first result was found, but I can't get it to work.
I tried exiting early from the while loop in StringDetector's appendString: but it seems that doesn't affect the results.
So, is there a way to manually stop the CGPDFScannerScan when the self.selections gets its first result?
Thanks!
The text was updated successfully, but these errors were encountered: