UICollectionViewCell and UITextField text
问题 I have custom UICollectionVIewCell with UILabel and UITextfield as it's property. They both IBOutlet to and connected in Storyboard. This cell get reused in a UICollection view. It get created depending on UILabel count array. So if array has three strings, this cell get created three times. User supposed to enter number in UITextfiled for relevant label. I want to save this number along with label in a dictionary. My problem is I can't get text from UITextfield. Don't know how to do that. I