开发者

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];
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜