help with methods
help with methods
- Subject: help with methods
- From: Rounak Jain <email@hidden>
- Date: Wed, 28 Jul 2010 23:57:42 +0530
Hi all,
Newbie here.
I am comfortable with understanding method declarations like
- (void) someName: (NSString *) variableName;
where
void is return type
someName is name of the method
(NSString *) is the type of the variableName and variableName is the
variable
However, I feel helpless when I see something like this:
- (void)tableView:(NSTableView *)aTableView
setObjectValue:(id)anObject
forTableColumn:(NSTableColumn *)aTableColumn
row:(int)rowIndex {
NSString *identifier = [aTableColumn identifier];
data *newVar = [toDoList objectAtIndex:rowIndex];
// Set the value for the attribute named identifier
[newVar setValue:anObject forKey:identifier];
}
All I know is that this method lets me put the content of array
toDoList into the TableView. Please give me a detailed breakdown of
what this is.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden