Contents

beginFindString(_:withOptions:)

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

Declaration

func beginFindString(_ string: String, withOptions options: NSString.CompareOptions = [])

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