• 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: Wherefore art thou, o NSTableView?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Wherefore art thou, o NSTableView?


  • Subject: Re: Wherefore art thou, o NSTableView?
  • From: Graham Cox <email@hidden>
  • Date: Mon, 23 Jun 2008 09:16:26 +1000

The dataSource implements this, not the delegate.

You need:

- (void) tableView:(NSTableView*) aTableView setObjectValue:anObject forTableColumn:(NSTableColumn*) aTableColumn row:(int) rowIndex;


hth,

Graham

On 23 Jun 2008, at 12:43 am, William Squires wrote:

Okay, this one has me stumped. What delegate do I need to implement to handle user editing a cell in an NSTableView (i.e. after they edit it, and hit the <Enter> key to accept.) None of the delegate methods described in the docs seem to fit the bill, but maybe I'm just overlooking it? I've already implemented tableView:shouldEditTableColum:row to return YES.
Or is this a case for connecting actions in IB?


_______________________________________________

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

_______________________________________________

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


References: 
 >Wherefore art thou, o NSTableView? (From: William Squires <email@hidden>)

  • Prev by Date: Re: Interesting Problem Code worked in 10.4 but not in 10.5
  • Next by Date: Re: Interesting Problem Code worked in 10.4 but not in 10.5
  • Previous by thread: Re: Wherefore art thou, o NSTableView?
  • Next by thread: weird bug or feature?
  • Index(es):
    • Date
    • Thread