Build a SwiftUI Pokedex app for iOS 15 (Clean MVVM Architecture)

  Рет қаралды 11,828

Indently

Indently

Күн бұрын

Today we will be looking at how we can build a SwiftUI Pokedex app for iOS 15 using a clean MVVM Architecture pattern. We will be using this Pokemon API: pokeapi.co/api/v2/pokemon?lim...
Source code: github.com/federicocotogno/MV...
00:00 App demo
01:11 Getting started
01:28 Pokemon JSON
02:56 Helpers
08:06 Models
11:50 Pokemon Manager
14:20 ViewModel
20:53 Views
31:42 Running the app

Пікірлер: 10
@MeMyselfAndBushman
@MeMyselfAndBushman Жыл бұрын
This was SO much fun to do. I love Pokemon and taking concepts like this are way easier for me to learn than by following all of the other generic projects that exist. Thanks for making this!
@borysg9999
@borysg9999 Жыл бұрын
Hello all i have one qestion i have this isse Thread 1: Fatal error: Could not decode pokemon.json from bundle. im working on newest xcode 14.2 and when i want to run this app its this error shows i do exacly like in this tutorial
@alegutierrezmusic
@alegutierrezmusic Жыл бұрын
Make sure your iOS simulator ver is 15.4 also I removed the If section: "if let image = image { }" in PokemonView it looks like the new version of AsyncImage handles the image existance for us to apply modifiers
@EricTMCode
@EricTMCode Жыл бұрын
What a great video, thank you for this kind of material. 🙏
@davidedessi5018
@davidedessi5018 4 ай бұрын
I love how you create those helper methods, using is a superpower every dev should master
@mehreen5530
@mehreen5530 Жыл бұрын
Hi ! Thank you so much for this video ! im beginner in swiftui and I have a question for you if you don't mind ! So about the PokemonManager swift file, it's possible to use it just if our json file is not dynamic ? and if its a dynamic file(like if the data can change online) how can we do ? Thank you so much have a great day
@rparham1997
@rparham1997 Жыл бұрын
Imgetting an error "Fatal error: Could no decode Pokemon.json from bundle"
@silverspoonhoe
@silverspoonhoe Жыл бұрын
same
@JosafatHERA
@JosafatHERA 5 ай бұрын
@@silverspoonhoe if you change "let id = UUID()" to "var id = UUID()" just because the compiler suggested you to change it, it will fail because of that change, just leave it as let not var. it wors for me
@kevinbautista9943
@kevinbautista9943 2 жыл бұрын
Long life geek life!
What it feels like cleaning up after a toddler.
00:40
Daniel LaBelle
Рет қаралды 79 МЛН
A teacher captured the cutest moment at the nursery #shorts
00:33
Fabiosa Stories
Рет қаралды 40 МЛН
Опасность фирменной зарядки Apple
00:57
SuperCrastan
Рет қаралды 9 МЛН
NavigationStack - SwiftUI Programmatic Navigation - iOS 16
20:20
@classmethod explained in Python
8:48
Indently
Рет қаралды 7 М.
How to Build a Widget in Swift with WidgetKit
50:23
Sean Allen
Рет қаралды 58 М.
MVVM + Dependency Injection in Swift | Unit Testing | iOS
29:29