Create a swiftUI List to display weather Alert

Hello,

I would like to create a List in goal to display weather Alert (Title, severity, description). Can you please show me a sample ?

thanks

What don't you know ? Creating a List ? Query Weatherkit ? Other ? Please show what you have tried and what doesn't work.

If you search the web a little (WeatherKit SwiftUI), you will find tutorils like this one: https://betterprogramming.pub/wwdc22-get-started-with-weatherkit-202794853c01

I don't know how to create a List dynamically by displaying (if they exist) weather alerts. So I know how to create a static but not dynamic list with API elements. thanks

Create a swiftUI List to display weather Alert
 
 
Q