In my specific case, how do I identify or know which UITextField is being referenced in shouldChangeCharactersInRange method?
I know the parameter (UITextField*)textField contains the object being referenced, but how do I compare to identify which one it is?
If you create your interface using IB then you can create
IBOutletin your controller for each UI element, connect then in IB and later comparetextFieldparameters with them:2 In IB you can also assign a unique tag value for each
UITextField(available for each UIView subclasses) and compare tag values: