Re: Constant NSArray Count

2008-09-20 Thread Nathan Kinsinger
On Sep 20, 2008, at 4:53 AM, Alex Mills wrote: Hey, Yeah I have been reading through a bit of it. At the moment I have an NSArrayController setup in IB to access a Core Data Entity. A table view is then connected to that Array Controller to display the contents of it. This is all done wit

Re: Constant NSArray Count

2008-09-20 Thread Alex Mills
Hey, Yeah I have been reading through a bit of it. At the moment I have an NSArrayController setup in IB to access a Core Data Entity. A table view is then connected to that Array Controller to display the contents of it. This is all done without any code written by myself so I'm pretty n

Re: Constant NSArray Count

2008-09-20 Thread Jason Coco
On Sep 20, 2008, at 05:05 , Alex Mills wrote: 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? I'm pretty sure that you c

Re: Constant NSArray Count

2008-09-20 Thread Alex Mills
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

Re: Constant NSArray Count

2008-09-19 Thread Nick Zitzmann
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 chan

Constant NSArray Count

2008-09-19 Thread Alex Mills
Hey, I'm rather new to cocoa (and programming in general) and I'm working on a core data project that uses a tab view to display different attributes of an entry. I'm trying to code it so that if no items are selected in the list it will display a tab, otherwise display a different tab. I