• 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: Subclass NSTableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Subclass NSTableView


  • Subject: Re: Subclass NSTableView
  • From: Stephane Sudre <email@hidden>
  • Date: Mon, 22 Dec 2003 17:51:45 +0100

On Monday, December 22, 2003, at 04:12 PM, J Nozzi wrote:

I've subclassed NSTableView to override textDidEndEditing: in order to intercept the return key as 'end editing'.

I was wondering if I had to modify the delegate method signatures at all:

- (id)tableView:(NSTableView *)tableView objectValueForTableColumn:(NSTableColumn *)tableColumn row:(int)row

In other words, should NSTableView become MyTableView? Since I'm changing the behavior, I wouldn't want to send the delegate an NSTableView since the textDidEndEditing: acts differently.

Forever Missing the Obvious,

Instead of re-inventing the wheel, download the OmniAppKit. They have an implementation of what you want to do.
_______________________________________________
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.
References: 
 >Subclass NSTableView (From: J Nozzi <email@hidden>)

  • Prev by Date: Re:[OT] True multiuser?
  • Next by Date: Re: NSSearchField menu question
  • Previous by thread: Re: Subclass NSTableView
  • Next by thread: Change Icon on Application Running
  • Index(es):
    • Date
    • Thread