Instance Method

beginFindStrings:withOptions:

Asynchronously finds all instances of the specified array of strings in the document.

Declaration

- (void)beginFindStrings:(NSArray<NSString *> *)strings withOptions:(NSStringCompareOptions)options;

Discussion

This method returns immediately. It causes notifications to be issued when searching begins and ends, on each search hit, and when the search proceeds to a new page. For options, refer to Searching, Comparing, and Sorting Strings.

See Also

Searching Documents

- findString:withOptions:

Synchronously finds all instances of the specified string in the document.

- beginFindString:withOptions:

Asynchronously finds all instances of the specified string in the document.

- findString:fromSelection:withOptions:

Synchronously finds the next occurance of a string after the specified selection (or before the selection if you specified NSBackwardsSearch as a search option.

isFinding

Returns a Boolean value indicating whether an asynchronous find operation is in progress.

- cancelFindString

Cancels a search initiated with beginFindString:withOptions:.