Objective C compiler errors: translations for newbs

I’m pretty new at Xcode and Objective C, so there may not be a one-to-one correspondence here between errors and the most probable cause, but this helps me so it may help you.

This will be a work in progress; I’ll keep adding as I go.

CODE (from header declarations):
CreatorHuntView *detailController;

ERROR:
error: expected specifier-qualifier-list before ‘CreatorHuntView’

TRANSLATION/PROBABLE CAUSE:
You forgot to import the file in the header file; e.g.
#import “CreatorHuntView.h”

This entry was posted in Objective C error translation series, Programming, iPhone Development. Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>