I don't know what language it is, but I beleave this line should end with ];
instead of ,
+1
A:
Havenard
2009-09-10 17:50:50
It should be Objective-C
phsr
2009-09-10 17:57:51
+9
A:
The line before the for
should read something like:
NSArray* theImages = [NSArray arrayWithObjects:[...], // object 1
..., // more objects
[...], // object N
nil]]; // nil must be last
Updated:
The error you are getting now is not the same as the one before. You'll need to look at more of your code in order to figure out what the error is referring to.
Also, can you post some of the code directly in your question instead of posting a picture? The font SO uses is easier to read than the one in the screenshots.
fbrereto
2009-09-10 17:52:25
A:
http://img89.imageshack.us/img89/2554/screenshot20090910at154.png
this is the result of adding that
Dane
2009-09-10 17:56:03
Welcome to StackOverflow, Dane, but this site is slightly different from a forum; it is based around answers. This posting is not an answer really, and should be posted as a comment on the answerer's post. Just click "add comment". Even though you have under 50 reputation, you should still be able to comment on your own question.
Lucas Jones
2009-09-10 18:06:06
I've taken the liberty to edit his question so that this "answer" no longer applies.
phsr
2009-09-10 18:10:21
A:
Your issues seem to be simple syntactical ones.
There is one caused by these two lines (can't see above it to see where the issue is
}
{
Also, you have a new issue with the NSArray* Definition because you have
NSArray* theImages]; = .....
^^This will cause an issue after you take care of the first one
phsr
2009-09-11 11:14:12