On Sat, 05 Mar 2011 11:22:46 -0800 Matt Neuburg wrote: > One possible approach on iOS is to implement textFieldShouldEndEditing, and >return NO and put up an alert if there's a problem. Another is just to make >the >change yourself in textFieldDidEndEditing. See the section entitled >"Validating >Entered Text" (along with the preceding section) in the "Managing Text Fields >and Text Views" chapter of the Text, Web, and Editing Programming Guide for >iOS. > That looks like a good fit. But is there some trick in getting textFieldShouldEndEditing invoked? I have also a textFieldDidBeginEditing and a textFieldDidEndEditing method; they get invoked when the user touches the "Return" key on the keypad, but textFieldShouldEndEditing does not.
_______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com