Group Group Group Group Group Group Group Group Group

Chapter 12: UITextFieldDelegate vs event handler?

Hi all,
I am working through the iOS apprentice book and learning a lot, so thanks!
In chapter 12 something surprised me - in the “Add Event” view controller we implement methods of UITExtFieldDelegate to handle changes to the text field. Why do we do this rather than add an IBAction to handle the “edit changed” action from the UITextField? The mix of handling some changes with IBAction functions and others with delegate functions seems strange to me - other UI toolkits I’ve used would have used events for all of these things, so I am interested to learn what is the reasoning between using one approach or another in iOS?

Thanks!
Steve

@steveca Please check out this tutorial when you get a chance:

I hope it helps!