• 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
Two table views - which has "focus"?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Two table views - which has "focus"?


  • Subject: Two table views - which has "focus"?
  • From: Steve Woodward <email@hidden>
  • Date: Sat, 24 Dec 2005 14:12:05 -0500

I've searched the archives, found some similar threads but nothing that has helped me much...

I have a window with two table views. I need to respond to the user clicking on either table view, whether they are changing the selected row or not. Currently I am responding to - (void) tableViewSelectionDidChange:(NSNotification *)aNotification, but that only works when the user selects a new row. In other words, if they click on table1 and then table2, a row is left "selected" in grey in table1. When they click back on table1 on that greyed row there is no selection change, so I can't respond to it. But I need to do something at that time anyway. I've been reading up on first responder and the responder chain but so far haven't been able to figure this problem out.
Thanks in advance for any tips!

Steve Woodward

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden
  • Follow-Ups:
    • Re: Two table views - which has "focus"?
      • From: Daniel Jalkut <email@hidden>
  • Prev by Date: Re: KVO one-step listening but two-step notifying?
  • Next by Date: Re: CoreData document based app with single source
  • Previous by thread: Re: Core Data: Master-Detail question <-- 'contextSet' binding doesn't appear to work. *solved*
  • Next by thread: Re: Two table views - which has "focus"?
  • Index(es):
    • Date
    • Thread