Ok, now that I understand your question (thanks @Jonathan!), Yes, it looks like this is a table view using custom UITableViewCells with a UITextField.
After creating a custom cell using UITextField, you can assign your view controller as a UITextField delegate and access the values ββat different points through the delegation methods:
β textFieldShouldBeginEditing: β textFieldDidBeginEditing: β textFieldShouldEndEditing: β textFieldDidEndEditing:
As an example, in textFieldShouldReturn: you can get a link to the indexPath of this cell with:
NSIndexPath *indexPath = [self.loginTable indexPathForCell:(MemberLoginCell*)[[textField superview] superview]];
And then into the cell with:
MemberLoginCell *cell = (MemberLoginCell*)[self.loginTable cellForRowAtIndexPath:indexPath];
Or just take the value of textField.text and assign it to NSString, which can be passed to your LOGIN method as needed.
source share