I'm searching for a hint/best practice of how to do the following behaviour. I have a UITableView that contains some sections, every section contains custom UITableViewCells. Example: Section 1 contains a UITableViewCell with a UILabel, section 2 contains one UITableViewCell that contains some UITextFields. When I select a UITableViewCell from the section 1 (a UILabel), I get an Object. Does anyone know how to fill the UITextFields with the variables of the selected object from the section 1?
Here is an example use case: I have a UITableView contains 2 sections, In section one I have list of student names, in section 2 I have one custom UITableViewCell that contains some UITextFields, when I select a name from section 1, I want to get the details of that student in the UITextFields.