NS_ENUM macros

This family of macros allows you to create enumerations.

How to use the macros

Note: The header file names are links to mirrors of the header files on GitHub.

To get NS_ENUM and others using an Apple SDK:

<Foundation/NSObjCRuntime.h> which is included in <Foundation/Foundation.h>

To get CF_ENUM and others using CoreFoundation:

<CoreFoundation/CFAvailability.h>

You must define the macros yourself if you are using GNUstep without Apple’s CoreFoundation.