You need to give the definition of your cell object and its properties.
You also need to describe your object graph. I gather it's an array that contains a dictionary, and that the key "latitude" in that inner dictionary contains an NSNumber or a string?
At a guess, your cell object's c1 property is of type CLLocationCoordinate2D.
When you have a property that's a struct, you can't change one part of the struct.
Another issue: If your cell's c1 property is a CLLocationCoordinate2D
, that's a scalar type. Your object structure (array that contains a dictionary?) can't directly contain a scalar value. It would have to be an NSNumber or (as the other poster suggested) an NSString)
You would have to rewrite it like this:
CLLocationCoordinate2D coordinate = cell.c1;
coordinate.latitude = [[[tempArray objectAtIndex:9] objectForKey:@"latitude"] doubleValue];
cell.c1 = coordinate;