I am trying to call a model table view controller using presentModalViewController, but I'm not sure that The following code gives me an error about what the representative has to do:
MyRidesListView * controller = [[MyRidesListView alloc] init]; Controller Delegate = self; [Self current model view controller: animated controller: yes]; [Controller release];
Error:
The request for the member 'representative' is not some structure or union
Now, I Realizing that there is no representative asset in my MyRidesListView category, how do I add to my representative's context? Generally, delegates are defined as such qualities:
id's & lt; NameOfDelegateProtocol & gt; Representative;
and:
@ Property (non-nominal, assign) ID < NameFieldGet Protocol & gt; Representative;
Edit: You have said that your original class is UITableViewController. You wanted to do this:
Controller. TableView.delegate = self;
Comments
Post a Comment