I have a name and details to show in uitableview. first all the names will display. when i select a name that row expands and shows the details. when i select another name this row contracts and selected row expands. Does anybody have a clean sample code to point to ?