title: SWIFT - run code 1 second after a user stops typing into a textfield
body: <p>In swift, how can I run some code 1 second after a user stops typing into a textfield? There is <code>textFieldDidChange</code> but that will run code immediately after a new character is typed.</p>