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 iPhone Development, Objective C error translation series, Programming. Bookmark the permalink.

Leave a Reply

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

This site uses Akismet to reduce spam. Learn how your comment data is processed.