Class properties vs NSArray / NSDictionary
- by Frank Martin
I want a custom class object to hold data and have somehow the feeling that creating about 80 properties is not the best way of doing it.
Most of the properties would be bool values, so i'm thinking about creating Arrays (keys / values) or (probably better) a NSDictionary attached to the object for holding the data. Does that make sense or should i stay with the properties?
Extra: Are there general pros and cons for the different approaches? And what keywords / concepts do i have to search for to find discussions about that somehow general question?
Thanks in advance