This simple pokemon app iOS application using Swift and SwiftUI also using micro-feature MVVM approach to modularisation based on Tuist, that fetches data from an API and poke-server as Localhost.
- Pokemon List page; should show a list of Pokemons’ names and picture. When a Pokemon is clicked, it should go to that Pokemon Detailpage.
- Pokemon Detail page; should show a picture of the Pokemon with its attributes. And there is a button to catch the Pokemon (success probability is 50%), if success then user can give the Pokemon a nickname and add that Pokemon to ‘My Pokemon List’
- My Pokemon List page; show a list (like Pokemon List page, but with each of their nicknames as well) of all Pokemons you have caught. It should also be possible to release and rename a Pokemon from the list on this page.
demo.mp4
1. Install tuist https://docs.tuist.io/tutorial/get-started
2. $ tuist fetch
3. $ tuist generate
Project Structure
Using tuist feature to allow this project to compiled PokeApp dependencies (external, feature, common) as xcframework.
1. $ tuist fetch (ignore if already run this command)
2. $ tuist cache warm --xcframeworks
3. $ tuist generate PokeApp --xcframeworks
Project Structure
This will only generate specific project and it's dependencies.
1. $ tuist fetch (ignore if already run this command)
2. $ tuist generate FeaturePokemon
Project Structure
Muhammad M. Munir [email protected]