8 Replies Latest reply: Sep 19, 2013 8:06 AM by red_menace
Apple_For_The_Win Level 1 Level 1 (0 points)

I'm working on an application where I have one text field, and below it, a "Send" button. When the button is pressed, is sends whatever is typed in the field to all the user's Skype contacts. I have to prevent the user from sending a blank message to all contacts, so I have to change the button's setEnabled. I've been using an NSTimer to check every second, which works, but it lags my application hugely. Is there any handler that is run whenever text is added or deleted? Perhaps something like:


on myTextFieldDidChange_(aNotification)