YLSearchOperation Class Reference
Inherits from | NSOperation |
Declared in | YLSearchOperation.h YLSearchOperation.m |
Tasks
Other Methods
-
keyword
The search term.
property -
searchResults
Array with YLSearchResult items.
property -
delegate
Reference to the delegate that should be informed.
property
Initialization
-
– initWithDocument:keyword:
Initializes a YLSearchOperation instance and returns it to the caller.
Properties
delegate
Reference to the delegate that should be informed.
@property (nonatomic, assign) NSObject<YLSearchDelegate> *delegate
Discussion
Reference to the delegate that should be informed.
Declared In
YLSearchOperation.h
keyword
The search term.
@property (nonatomic, readonly) NSString *keyword
Discussion
The search term.
Declared In
YLSearchOperation.h
searchResults
Array with YLSearchResult items.
@property (nonatomic, readonly) NSArray *searchResults
Discussion
Array with YLSearchResult items.
Declared In
YLSearchOperation.h
Instance Methods
initWithDocument:keyword:
Initializes a YLSearchOperation instance and returns it to the caller.
- (id)initWithDocument:(YLDocument *)document keyword:(NSString *)keyword
Parameters
- document
Reference to the document
- keyword
Text that should be searched for.
Return Value
An initialized YLSearchOperation instance.
Discussion
Initializes a YLSearchOperation instance and returns it to the caller.
Declared In
YLSearchOperation.h