• 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: Constant NSArray Count
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Constant NSArray Count


  • Subject: Re: Constant NSArray Count
  • From: Nick Zitzmann <email@hidden>
  • Date: Fri, 19 Sep 2008 16:50:04 -0600


On Sep 19, 2008, at 9:15 AM, Alex Mills wrote:

I have this working as an IBAction but I want it to run all the time so that it will control the tabs whenever the selection count of the Array changes, how can I do this?


You can use KVO to call a method when the selectedObjects value changes. Check the KVO documentation and the archives for more details.

Nick Zitzmann
<http://www.chronosnet.com/>

_______________________________________________

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: Constant NSArray Count
      • From: Alex Mills <email@hidden>
References: 
 >Constant NSArray Count (From: Alex Mills <email@hidden>)

  • Prev by Date: Re: async NSOperation and NSOperationQueue
  • Next by Date: Distributed Objects (DO, a.k.a. PDO) on Windows
  • Previous by thread: Constant NSArray Count
  • Next by thread: Re: Constant NSArray Count
  • Index(es):
    • Date
    • Thread