Answers for "swift given the uitableviewcell in a delegate"

0

tabloe view delegate method + iOS

- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath{

        Yourstring=[catagorry objectAtIndex:indexPath.row];      

       //Pushing next view 
        cntrSecondViewController *cntrinnerService = [[cntrSecondViewController alloc] initWithNibName:@"cntrSecondViewController" bundle:nil];
        [self.navigationController pushViewController:cntrinnerService animated:YES];

}
Posted by: Guest on May-08-2020
0

tabloe view delegate method + iOS

-(void)viewWillAppear:(BOOL)animated
{
         tblService.delegate=self;
         tblService.dataSource=self;
         [super viewWillAppear:YES];
}
Posted by: Guest on May-08-2020

Code answers related to "swift given the uitableviewcell in a delegate"

Code answers related to "Objective-C"

Browse Popular Code Answers by Language