MOCompletionStrategy


Subclasses implement the actual completion logic for MOCompletionManager.
Superclass: NSObject



MOCompletionStrategy is an abstract superclass. Subclasses of MOCompletionStrategy are used to define the actual completion behavior for a MOCompletionManager. MOCompletionStrategy subclasses must override one method and may optionally override a second as well. The required method to override is -matchesForPrefixString:newPrefixString:basePath: which should return the possible completions for the given prefix string. MOCompletionStrategy subclasses that need to glue together the prefix and the completions is special ways can override -fullStringForPrefixString:completionString:isInitialPrefixMatch:basePath: to do something more clever than simply appending the completion to the prefix.



(Last Updated 3/20/2005)
HTML documentation generated by HeaderDoc