Re: Constant NSArray Count
Re: Constant NSArray Count
- Subject: Re: Constant NSArray Count
- From: Alex Mills <email@hidden>
- Date: Sat, 20 Sep 2008 17:05:53 +0800
Hey,
I have started looking at Key Value Observing but I'm having trouble
working out how to observe the changes within an Array.
Is there some place I can find example code on this to help wrap my
head around it?
Cheers
Alex Mills
On Sep 20, 2008, at 6:50 AM, Nick Zitzmann wrote:
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