• 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
not performing selector...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

not performing selector...


  • Subject: not performing selector...
  • From: Malcolm Sharman <email@hidden>
  • Date: Mon, 03 Nov 2003 17:13:12 +1000

Hi

I have a subclass of NSTableView that draws cells slightly differently, and
the drawing methods are the only ones that are overridden from the base
class.

I'm trying to set the double click action using the following code in
awakeFromNib


[theList setDataSource:self];
[theList setDoubleAction:@selector(collectData:) ];

And collectData is an instance method of the same class defined as

-(void)collectData
{
NSLog(@"collectData code")
}

For some reason when the cell or the table heading is double clicked on, the
selector is not performed.

I made sure that the cells aren't editable in IB, and I'm stuck at this
point.

Malcolm
_______________________________________________
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.

  • Follow-Ups:
    • Re: not performing selector...
      • From: Stuart Halloway <email@hidden>
    • Re: not performing selector...
      • From: Sherm Pendley <email@hidden>
    • Re: not performing selector...
      • From: Laurent Daudelin <email@hidden>
  • Prev by Date: NSOutlineView and Controller layer
  • Next by Date: Re: Setting a horizontal divider in an NSOutlineView
  • Previous by thread: Re: NSOutlineView and Controller layer
  • Next by thread: Re: not performing selector...
  • Index(es):
    • Date
    • Thread