I am passing a string to another controller
- (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
CategoriesList *dvController = [[CategoriesList alloc] initWithNibName:@"CategoriesList" bundle:nil];
NSString *category=aBook.name;
dvController.category=category;
[self.navigationController pushViewController:dvController animated:YES];
[dvController release];
}
When I get value in dvController it does not show I am setting that to button title
NSString *title=category;
[titleButton setTitle:title forState:UIControlStateNormal];
category(like property and synthesizing), then again useself.category, while usingcategoryin it's same class(where it is declared). if problem persist still, response.