I am working in a project with multiple classes. Upon importing one of the classes into another, a fatal error is generated stating:
error: expected specifier-qualifier-list before ‘ xxx ‘
xxx is the last line in the .h file that is being imported, i.e.
@interface
{ ..
..
xxx
}
Any ideas what this error means? Thanks!
Instance variables defined in braces in an
@interfaceare expected to have a type qualifier at least. e.g.Also your interface declaration was missing the
@endat the end