Hi Marshall,
I believe you might be able to use something like
PREDEFINED = "NS_ENUM ( ret_t, enumName )= enum enumName"
to get you into the ballpark. It won't quite be the same as the hand
coded C, but I think it is plausible you could at least get the right name.
Best regards,
Folks,
I have a file with a bunch of typedefs.
I'm using Apple's recommended method of defining a NS_ENUM macro to declare
enumeration typedefs.
Normally, I'd define a typedef like so:
typedef enum
{
MyCoolEnum_Value1 = 1,
MyCoolEnum_Value2 = 2
} MyCoolEnum;
However, Apple (Objective C 2.0, r
Hi Christopher,
On Sep 17, 2013, at 21:02 , Marshall Christopher D. wrote:
> Folks,
>
> I have a file with a bunch of typedefs.
>
> I'm using Apple's recommended method of defining a NS_ENUM macro to declare
> enumeration typedefs.
>
> Normally, I'd define a typedef like so:
>
> typedef enum