//Initialize the detail view controller and display it.
OrderDetailsView *dvController = [[OrderDetailsView alloc] initWithNibName:@"OrderDetailsView" bundle:[NSBundle mainBundle]];
dvController.selectedOrder = (@"%@",selectedOrder);
[self.navigationController pushViewController:dvController animated:YES];
[dvController release];
dvController = nil;
What seems to be the problem ?
i am getting the error: object cannot be set – either readonly property or no setter found
In the OrderDetailsView.h add the following :
And in the OrderDetailsView.m :