Re: Can't edit an NSTableView
Re: Can't edit an NSTableView
- Subject: Re: Can't edit an NSTableView
- From: email@hidden
- Date: Thu, 20 May 2004 09:33:15 -0500 (GMT-05:00)
On May 20, 2004, at 12:36 AM, Scott Anguish wrote:
where is the name data coming from?
Its set like displayList is an array of children of an xml Node.
so displayList = [ParentNode children];
children returns an NSArray *
displayNames is a mutable array.
loop{ [displayName addObject:[[displayList objectAtIndex:index] nodeName];}
nodeName returns the NSString * of the child's name;
So since displayNames is mutable and where the values are bound to in the tableView, shouldn't edits to the values in the GUI be reflected in changes in the displayNames array? I was planing on just using some setName methods after a selection changed to actually put the new name in displayNames, in the associated xml Node in displayList.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.