-
Fetch a list of countries in JSON format from this URL: https://gist.githubusercontent.com/peymano-wmt/32dcb892b06648910ddd40406e37fdab/raw/db25946fd77c5873b0303b858e861ce724e0dcd0/countries.json
-
Display all the countries in a List ordered by the position they appear in the JSON.
-
Use a searchable to enable filtering by "name" or "capital" as the user types each character of their search.
-
SwiftUI wth Combine
![](https://private-user-images.githubusercontent.com/43139135/313770223-a91356df-fc2f-4896-bc8e-dc4cfa45b3f9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjYwNzIxOTQsIm5iZiI6MTcyNjA3MTg5NCwicGF0aCI6Ii80MzEzOTEzNS8zMTM3NzAyMjMtYTkxMzU2ZGYtZmMyZi00ODk2LWJjOGUtZGM0Y2ZhNDViM2Y5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA5MTElMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwOTExVDE2MjQ1NFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQ4MjlkZjBmMzhhYmUxZTc4NzI0MzMxOTBkYmZlYTEzOWU4MmYzZDQwZTlhZTJkYTA0NDcxOTc0OTkyNTk1MDMmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.pKpNm-nRf8BnwTqrn3CUTpM-o5qcKGIJSh4ymZmUlB0)
![](https://private-user-images.githubusercontent.com/43139135/313770218-52bb93ec-bdb7-40cb-9c0e-17dd9ab5275f.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3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