TWTRSEAutoCompletion Protocol Reference
Conforms to | NSObject |
---|---|
Declared in | TWTRSEAutoCompletion.h |
Overview
When a request for autoCompletion is received, a previous, unfinished one should be considered abandoned and the request can be cancelled.
– loadAutoCompletionResultsForHashtag:callback:
required method
Implement this method to provide auto-completion results for hashtags. This method will be called on the main thread.
- (void)loadAutoCompletionResultsForHashtag:(NSString *)hashtag callback:(TWTRSEHashtagAutoCompletionCallback)callback
Parameters
hashtag |
The hashtag (starting with #) to use to search for similar ones. |
---|---|
callback |
Must be called at most once, on any queue, with the results of the hashtag autoCompletion to be shown. |
Declared In
TWTRSEAutoCompletion.h
– loadAutoCompletionResultsForUsername:callback:
required method
Implement this method to provide auto-completion results for users. This method will be called on the main thread.
- (void)loadAutoCompletionResultsForUsername:(NSString *)username callback:(TWTRSEUserAutoCompletionCallback)callback
Parameters
username |
The username (not starting with @) to use to search for matching users. |
---|---|
callback |
Must be called at most once, on any queue, with the results of the user autoCompletion to be shown. |
Declared In
TWTRSEAutoCompletion.h