Look Up Data when letter is typed

Hi,


I've created a Note Taking app on Xcode, simple & similar to IOS basic Notes. I am wanting to create a function within the app that helps people quickly enter in data/quick reference. Here's a flow to give you a better idea.


1. Create a New Note

2. Type in text

3. Type '@' into the text box

4. @Finance Department

5. Automatically Inserts Finance Department Email & Phone Number, based off a data table.


Hope this makes sense.

Tom

Do you want to enter on the fly when you are typing or when you validate the entry ?


For the first, react to the editingChanged notification in code

or connect the sent Event Editing changed to an IBAction


In the func, add the relevant text when needed by looking at the info in lookup table.


But in your case, the best is to do it when editing did end. (same principle)

Look Up Data when letter is typed
 
 
Q