Object can not be set ERROR
Just have a quick question, event.header is type String , I need to set the object but I'm unsure what I have to set it to? it's set to String ?
I'm ge开发者_开发百科tting this error "object can not be set"
event.header = [values objectAtIndex:0];
event.longitude = [[values objectAtIndex:2] floatValue];
Thanks
You have to much brackets in your first line. Try it like this:
event.header = [values objectAtIndex:0];
精彩评论