You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note:
These changes were made to better use awesome library in one of my projects. Change log is as follows:
Added presenterView property to manually pass in a view onto which you would want to add the completion table. This fixes the issues regarding table scrolling and table cell selections.
Changed variables to IBInspectables so its much easier now to use the library in IB.
Updated codebase
Cleaned up codebase
Removed custom font option for autocomplete text (as it was not required in my project)
I just ran a quick test of this fork on device. The autocomplete isn't showing up. Are you sure it's working for you? If so, I can look into it further on my end.
@wvdk I think I know where the problem lies with it not working for you.
I've added a presenterView property to the textfield which needs to be hooked up in IB as that view is then used to house the autocomplete table.
I did this because of the various touch detection problems that people complained of and also in my case my textfield was inside a cell (hence causing the touch to not get detected on the cells outside the container view). So I took this approach and made the table show up on my main view and now it all works like a charm.
Also this approach is more robust as it can easily handle cases such as mine.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Note:
These changes were made to better use awesome library in one of my projects. Change log is as follows:
presenterViewproperty to manually pass in a view onto which you would want to add the completion table. This fixes the issues regarding table scrolling and table cell selections.Thanks.