SwiftDate
SwiftDate copied to clipboard
How to convert `1s`, `10m`, `2m±1s` to TimeInterval or Date by SwiftDate?
I have a textField that when input these 1s
, 10m
, 2m±1s
time values, I want to convert to TimeInterval or Date, but didn't found related usage guide, could you help check this?
Thanks.