قالب وردپرس درنا توس
Home / IOS Development / Custom UITextView Autocomplete function: iOSProgramming

Custom UITextView Autocomplete function: iOSProgramming



I am trying to create a custom autocomplete field in Swift (as in a search field) for a science app that allows a definition to be added to UITextView. The process will go that way.

  1. Keyboard accessory and button usage cranes add a block to UITextView

  2. When entering & # 39; block & # 39 ;, it displays a table view? below with the suggestions for periodic table elements.

  3. When the item is selected either by clicking on the suggestion in TableView (or pressing enter and selecting the first suggestion), a block is created that displays the item for the periodic table element and definition. [1

    9659005] I've quickly spotted what I'm thinking of using the BEAR note pad. It has a similar feature only without the last step: https://imgur.com/a/1RrcUkC

    I'm new to many of these, so thank you in advance for any suggestions on what the naming conventions of all this are and any related information or explanations on how I would achieve this. Thanks 🙂


Source link