Is it possible to assign a value to an instance variable during an initialize class method?
I'm declaring a number of arrays, then creating an array of arrays, then assigning it to self.months, which is an instance variable. Why does this not work, and how can I accomplish this?
+(void)initialize
{
// .....
NSArray *matrix = [[NSArray alloc] initWithObjects:jan, feb, mar, apr, may, jun, jul, aug, sep, oct, nov, dec, nil ];
self.months = matrix;
[matrix release]
}