WebDocumentSearching is an optional protocol for document view objects that support searching. Classes that adopt this protocol should also adopt
WebDocumentView and inherit from
Searches for a string in a given direction from the current position.
- (BOOL)searchFor:(NSString *)
The string to search for.
true, the search is in the forward direction from the current location; otherwise, the search is in the backward direction.
truethen the search is case sensitive; otherwise, it is not.
true, the search continues from the end of the document to the current location; otherwise, it stops at the end of the document.
trueif the receiver contains
stringin the specified direction; otherwise,
The receiver should select the string if it is found.
Available in OS X v10.2 with Safari 1.0 and later.
Available in OS X v10.2.7 and later.