How do I automatically made an action run from a user editing a text field?
Example:
You want to make sure that the data in the text field is always saved, so you make it connected to an action that would be run when the user edited the text field. That action would have NSUserDefaults saving the contents of the text field into a PLIST file.
it’s actually the same (controlTextDidChange: belongs to the parent class NSControl), but it depends on the context. Sometimes controlTextDidChange: works while textDidChange doesn’t
Why not just use the keychain to store a password. This is really the place to store passwords and sensitive information. Even better, it’s easily done with applescript.