DEV Community

eduardo
eduardo

Posted on

Filter JSON by date

Hi!
I have a JSON file with these keys:

"id": 1,
"date": "10/12/2023"
"name": "Eduardo"
"local": "Local of the event"
"info": "call number"

After I parse this JSON file in xcode with swiftUI how would I filter the dates like if the day of the event has gone I dont want to show the event anymore.

thank u

Top comments (0)