Hi, I declared
NSString *dayinfield[43];
and fill it in
-(void)DrawDemo {
dayinfield[2] = @"hallo";
dayinfield[3] = @"test";
// also i can read it
NSLog (@"show: %@",dayinfield[2]);
//works fine
}
but when i like to read its content in another function (same class)
-(void)ReadData
{
NSLog (@"show: %@",dayinfield[2]);
// I get random infos or “EXC_BAD_ACCESS
}
How do I initialize the NSString Array correct so I can reach its content in each of my functions??
Thanks chris