I’ve been trying to get this right all day and has finally only got one error
heres a image.

I’ve been trying to get this right all day and has finally only got
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
alertViewis still missing a brace.Also, you do not use
()atshowAlert‘s declaration.May I suggest you tab appropriately so it is much easier to see missing braces. It’ll help you in the long run. Furthermore, the code itself posted instead of an image is even more helpful, then we could just copy/paste to edit it ourselves.
Edit
Here’s what it should look like, properly formatted. Also I believe the delegate should be set to
selfinstead ofnilin this case, so I made that correct.You should adopt a programming style that lets you easily see things like missing braces. If any braces were missing from below, it would be pretty obvious because of the tabbing style.