• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Can't edit an NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Prev by Date: Re: A weird parse error
  • Next by Date: Code style guidelines
  • Previous by thread: Re: Can't edit an NSTableView
  • Next by thread: stop a lengthy task in a thread
  • Index(es):
    • Date
    • Thread