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 protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to