Re: tips on managing group rows

2012-04-17 Thread Rick C.
Thank you all for the tips much appreciated! rc On Apr 17, 2012, at 8:50 PM, Alex Zavatone wrote: > I use a dictionary where all keys are the top level rows and the keys hold > arrays. > > On Apr 16, 2012, at 11:25 PM, Rick C. wrote: > >> Hi, >> >> So I'm working on a view-based nstablevie

Re: tips on managing group rows

2012-04-17 Thread Alex Zavatone
I use a dictionary where all keys are the top level rows and the keys hold arrays. On Apr 16, 2012, at 11:25 PM, Rick C. wrote: > Hi, > > So I'm working on a view-based nstableview and for the first time I will be > using group rows. Any tips on how to manage the data? What I mean is > norm

Re: tips on managing group rows

2012-04-16 Thread Allyn Bauer
Probably what you want to do is what you suggest - make an object. Other options include an array of arrays, of dictionaries, or of nsvalue instances containing structs. Depending on your needs. Try an object first. On Apr 16, 2012 10:25 PM, "Rick C." wrote: > > Hi, > > So I'm working on a view-ba

tips on managing group rows

2012-04-16 Thread Rick C.
Hi, So I'm working on a view-based nstableview and for the first time I will be using group rows. Any tips on how to manage the data? What I mean is normally I can just return [dataArray count] and [dataArray objectAtIndex:row] for the required methods and that will get the job done. But si