[Solved] How to filter date array in swift [closed]
First you need to create a variable to store the difference in minutes. Get the first date as reference and create a collection with it. Then filter the rest of the dates checking if the minute component between the the reference date and the current date are equal to the difference. If true increase the … Read more