iphone - UITextField identifier to resignFirstResponder -


i working in iphone project, , have uitableview each cell has uitextfield edit information. problem is, if touch textfield keyboard shown , if click on button of navigation controller, need resign keyboard , save new information. idea save in nsmutabledictionary placeholder of textfield key , value indexpath of it. have nsmutabledictionary save key uitextfield , value indexpath. reason is, method textfielddidendedition receive uitextfield parameter , need know field pressed update database.

i hope clear. thanks

could use key value observing (kvo) on text property of uitextfield automatically update model when it's value changes?

see apple's key value observing programming guide more information.


Comments

Popular posts from this blog

asp.net - repeatedly call AddImageUrl(url) to assemble pdf document -

java - Android recognize cell phone with keyboard or not? -

iphone - How would you achieve a LED Scrolling effect? -