A little bit of a different approach than that in https://github.com/shinydevelopment/SimulatorStatusMagic/pull/90, by just using unsigned int as the base type for the enum. I don't think it will actually behave any differently, but avoids having to cast everywhere, and more clearly shows that the enum is expected to fit in an unsigned int.
Fixes warnings introduced in Xcode 12.
A little bit of a different approach than that in https://github.com/shinydevelopment/SimulatorStatusMagic/pull/90, by just using
unsigned int
as the base type for the enum. I don't think it will actually behave any differently, but avoids having to cast everywhere, and more clearly shows that the enum is expected to fit in anunsigned int
.