initWithString:

Creates a search text from a string.

Declaration

- (instancetype) initWithString:(NSString *) string;