views:

101

answers:

4
+1  A: 

I don't know what language it is, but I beleave this line should end with ]; instead of ,

Havenard
It should be Objective-C
phsr
+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
Look here Dane, this is the one...
mahboudz
A: 

http://img89.imageshack.us/img89/2554/screenshot20090910at154.png

this is the result of adding that

Dane
you're still missing a `nil` and another `]`.
fbrereto
There is still missing a ]. Place two ]] there.
Havenard
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
I've taken the liberty to edit his question so that this "answer" no longer applies.
phsr
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