@dodikk regarding NS_ENUM, you can't use it with float or double types, you will get an error: non-integral type 'float' is an invalid underlying type
see original typedef for layout priorities.
Please use OBJC_EXTERN const float to declare public constants.
The enum keyword has not been designed for such use case.
Please use
OBJC_EXTERN const float
to declare public constants. Theenum
keyword has not been designed for such use case.