Hi I created UITableViewCell in ControllerA in Storyboard. I need use the same UITableViewcell in different ControllerB. I need achive this only with storyboard. Any idea how can I make it?
you can use this like bellow :-
in story board you have to put another Table-cell into ControllerB nib and give it class name that you want to similar custom cell like bellow:-
and
and your ControllerB 's cellForRowAtIndexPath
look like this
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
Members_Cell *cell = [tableView dequeueReusableCellWithIdentifier:@"Members_Cell"];
cell.lblMemberName.text=[ArrSearchResult objectAtIndex:indexPath.row];
return cell;
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With