• 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
Choosing correct ArrayController depending on active TableView
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Choosing correct ArrayController depending on active TableView


  • Subject: Choosing correct ArrayController depending on active TableView
  • From: Mikael Wämundson <email@hidden>
  • Date: Tue, 21 Feb 2012 11:43:03 +0100

Hi,

I have two ArrayControllers in IB, ArrayControllerA and ArrayControllerB, who's	content are setup to show in two TableViews, TableViewA and TableViewB. Pressing a button in the interface will perform some actions on the selected objects from TableViewA or TableViewB. I can of course select objects in either of the two TableViews, but the most recent selected TableView is "active" or "focused".

My question is: how do I, when pressing the button, get information on which TableView is active, hence which ArrayController's content I should perform actions on?

Thanks!
/Mikael


_______________________________________________

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


  • Follow-Ups:
    • Re: Choosing correct ArrayController depending on active TableView
      • From: Mike Abdullah <email@hidden>
  • Prev by Date: [ANN] Receigen, a smart code generator for Mac App Store receipt and InApp purchase validation
  • Next by Date: Sudden and hard to reproduce crashes in libcache
  • Previous by thread: [ANN] Receigen, a smart code generator for Mac App Store receipt and InApp purchase validation
  • Next by thread: Re: Choosing correct ArrayController depending on active TableView
  • Index(es):
    • Date
    • Thread