NS_ENUM

typedef NS_ENUM(NSUInteger, RPStatisticsPeriod) {
    RPStatisticsPeriodDay,
    RPStatisticsPeriodWeek,
    RPStatisticsPeriodAllTime
};
typedef NS_ENUM(NSUInteger, RPStatisticsType) {
    RPStatisticsTypeDriving,
    RPStatisticsTypeDrivingTime,
    RPStatisticsTypeMileage,
    RPStatisticsTypeSpeed,
    RPStatisticsTypePhone
};

Last updated