Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 28a9927

Browse files
author
Ignacio Romero Zurbuchen
committed
Deletes deprecated method -canShowAutoCompletion
1 parent 9844e25 commit 28a9927

2 files changed

Lines changed: 0 additions & 14 deletions

File tree

Source/SLKTextViewController.h

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -443,14 +443,6 @@ NS_CLASS_AVAILABLE_IOS(7_0) @interface SLKTextViewController : UIViewController
443443
*/
444444
- (void)showAutoCompletionView:(BOOL)show;
445445

446-
/**
447-
Verifies that the autocompletion view should be shown. Default is NO.
448-
To enabled autocompletion, you MUST override this method to perform additional tasks, before the autocompletion view is shown (i.e. populating the data source).
449-
450-
@return YES if the autocompletion view should be shown.
451-
*/
452-
- (BOOL)canShowAutoCompletion DEPRECATED_MSG_ATTRIBUTE("Override -didChangeAutoCompletionPrefix:andWord: instead");
453-
454446
/**
455447
Returns a custom height for the autocompletion view. Default is 0.0.
456448
You can override this method to return a custom height.

Source/SLKTextViewController.m

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1615,12 +1615,6 @@ - (void)didChangeAutoCompletionPrefix:(NSString *)prefix andWord:(NSString *)wor
16151615
// No implementation here. Meant to be overriden in subclass.
16161616
}
16171617

1618-
- (BOOL)canShowAutoCompletion
1619-
{
1620-
// Let's keep this around for a bit, for backwards compatibility.
1621-
return NO;
1622-
}
1623-
16241618
- (void)showAutoCompletionView:(BOOL)show
16251619
{
16261620
// Reloads the tableview before showing/hiding

0 commit comments

Comments
 (0)