Swift enum range matching - petermolnar.dev
I have been recently working on a HealthKit related app, where I wanted to categorise the blood pressure data. If you are not familiar with this data, here is a little explanation: Measuring Blood pressure Blood pressure build up from 2 numbers: the systolic value and the diastolic value.