This is a sample Project for fetching data from PokeAPI in Swift & SwiftUI
- This Application is full written in Swift.
- UI has been implemented implemented with SwiftUI.
- Images are downloaded with caching using the new SwiftUI AsyncImage view.
- The http client for API requests leverage the latest Swift Concurrency Features (Async-Await/Actors) because of that, all async methods can potentially been suspended awaiting results, this implies also a better reading and reasoning compared to the traditional callbacks.
- Because the pokemon count amount to 1154, is unrealistic to download everything in one shot, so it has been implemented also a pagination system, that download other pokemons while scrolling.
- Furthermore with withThrowingTaskGroup we are able to download data in parallel instead of a sequential async requests.