• 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
NSOutlineView's delegate is missing equivalent NSTableView delegate methods
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

NSOutlineView's delegate is missing equivalent NSTableView delegate methods


  • Subject: NSOutlineView's delegate is missing equivalent NSTableView delegate methods
  • From: Itrat Khan <email@hidden>
  • Date: Wed, 3 Jul 2002 11:43:30 -0400

NSOutlineView does not offer delegate messages for some of the messages that NSTableView offers, such as:

tableView:didClickTableColumn:
tableView:mouseDownInHeaderOfTableColumn:

and probably a bunch of others. Why is this? I want to respond to a click in an outline table column's header so I can change the sort column. I suppose I could do this when my delegate returns a result for outlineView:shouldSelectTableColumn:, but a didClick method would have been more appropriate. I tried implementing NSTableView's delegate method, in hopes that the superclass might also send those messages, but they didn't have any effect.

While I think I can work around the missing delegate messages, can someone explain why NSOutlineView doesn't offer them, or whether there is another way a controller is supposed to respond to clicks in an outline view's header?

Thanks,
Itrat.

............................................................
Modeless Software, Inc.
London, Ontario (Canada)
Tel: +1 519 473 2037
Web: www.modeless.com
_______________________________________________
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: Cocoa stripping resource forks: does Jaguar fix?
  • Next by Date: Re: NSEnumerator ordering ?
  • Previous by thread: Re: extracting html from text file
  • Next by thread: Re: NSOutlineView's delegate is missing equivalent NSTableView delegate methods
  • Index(es):
    • Date
    • Thread