It's uncommon to use notifications in cases like this. The question you need to ask is: Do you need to update it all the time? Most of the times you won't. I usually just the values when the Save button is tapped.
In case you would have to check the values earlier, you still don't want to use notifications. I usually go for hooking up a IBAction
to one of the events in Interface Builder. Another option is using the delegate
, in that case your UIViewController
instance would implement the UITextFieldDelegate
protocol.