Jeremy,
Thanks, as it turns out if I put it above the @interface statement in
the header file it works like a treat as you would I suspect as it
should not be part of the class that I was building.
Regards
Damien
On 06/01/2009, at 8:43 PM, Jeremy Pereira wrote:
I pasted your code into a
I pasted your code into a simple C program and it compiled no
problem. Is it possible that the error is in the previous declaration
to the typedef? Bear in mind it might be a problem in a header file.
On 5 Jan 2009, at 10:49, Damien Cooke wrote:
Hi all,
I have the following code:
typ
Hi all,
I have the following code:
typedef enum _DCDBTypes
{
DCOItemType = 0,
DCOCategoryType = 1,
DCORegionType = 2
}DCDBTypes;
It gives me this error message.
error: expected specifier-qualifier-list before 'typedef'
If I try to use it like this
- (void)setItemType