I am trying to create a table view in my view based application but I am facing a problem
NSArray *array = [[NSArray alloc] initWithObjects:@"iPod",forecast.desc,nil];
NSLog(@"this is the forecast routeNo = %@", forecast.desc);
As you can see this is the array that shows the values in the table, the result of this code is iPod (only), "forecast.desc" doesn't show anything knowing that forecast is an instance of another class and "desc" is a string in that class
and just to make sure forecast.desc shows the correct information in the log but in the table as if doesn't exist can anyone see where is the problem ?
Thanks
NSLogcall output the value offorecast.desc?[[NSArray alloc] initWithObjects:@"iPod", [NSString stringWithString:forecast.desc], nil];forecast.desca string? What is the outputNSLogdisplays? I mean what is the actual string offorecast.desccontains?