curiouswebster
asked on
Please explain this Objective-C function definition
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSI ndexPath *)indexPath
I am confused about what's the function name and what are the parameters? Please break it down for me.
Thanks.
I am confused about what's the function name and what are the parameters? Please break it down for me.
Thanks.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks.
ASKER
1) - specifies it's an instance method, versus a class method
2) The two method signatures are tableView:cellForRowAtInde
3) The two local variables defined are tableView and indexPath
I guess I was confused because there is no method name. But I guess the two signatures give the resolution needed by the object to exactly match this code.
Correct me if I am wrong.