Codable, Decodable, and Encodable in Swift | Continued Learning #21

preview_player
Показать описание
Codable is one of the most powerful protocols in Swift! We use this to "decode" and "encode" data in our application. This is especially useful for downloading data from the internet, because when we download data it will come as a foreign data type (usually JSON data). We then use Codable to transform (or "decode") the JSON data into a data type that we have in our iOS application. In this video we will first learn how Codable is actually using Decodable and Encodable protocols behind the scenes to transform the data and then we will learn how to implement Codable itself!

🤙 WELCOME BACK 🤙

Рекомендации по теме
Комментарии
Автор


You're a total rockstar in the Chinese Swift community, with tutorials that are totally on point!

exfsktq
Автор

I'm glad that you took the approach that you did to first build up our "behind the scenes" insight by going through Decodable, then Encodable, and then, finally, Codable. Great teaching approach.

frederickjavalera
Автор

Man, you're the GOAT Swift Teacher

birocks
Автор

Bro, the end of this video is sooo unpredictable, I thought it would be so difficult that I would spend a lot of time on it. Now I know how it works inside, and I can use it! You're a genius! Thank u soo much, love this channel <3

nikiforzh
Автор

Thank you for your effort and kindness to explain things even under the hood! Now I finally understood the differences among decodable, encodable, and

kjlee
Автор

I have got an internship cuz of your course out here. Lots of appreciation from India. 🔥

prashantsinghchauhan
Автор

Nick you just totally blew me away! I cannot believe codable is so powerful. Eliminating all that code I was like, this isn't going to work, but it does! Thank you for your clear concise
teaching methods. Ive been following every video since beginner bootcamp and you have taught me so very much!

kriendeau
Автор

Man, awesome awesome awesome video. I can't stress it enough.. you just explained the concept in most deserving way. Thank you

Please dont stop teaching

MrTalhakhan
Автор

Awesome video. I'm surprised I've got this far. For what I'm used to, this is already 'next level' but because it's so well taught I don't feel lost.

coffeeCatPeanutDust
Автор

I was doing the Swift UI tutorials in Apple Website, but I could not understand the Foundation part, however, this channel let me to understand quick and easy about Codable.

oliverpark
Автор

The puzzle of JSON, Dictionary, Codable, CodingKeys is completed in my head. Great job!

vladimirmoor
Автор

I really enjoyed the journey in this video. Great work Nick.

paulraggett
Автор

This guy is a legend... WOW, what an explanation!!!

KNOWLEDGEINFINITY_YOUTUBE
Автор

Great job explaining all of this!! At first I was like WTH is going on here ...then I was like OH! I got it now

guarino
Автор

Thank you Nick for another great video!

stefanlindholm
Автор

Thank you again! You have the best structured and systematic SwiftUI course out there! It’s an honour to be watching these videos!

pawelpow
Автор

I am a lead iOS developer with lots of experience in Swift still, I always find something new and interesting in your videos. Just because I know something doesn’t mean I know, know something. Understanding something is an order of magnitude, better than knowing something. Thanks for your great content.

jamesleetrigg
Автор

great explanation . I m working with ios since 2013, i came from objective C, and i never seen a good tutorial like yours. Amazing!!! Greetings from Brazil !!! 🙂

geomichelon
Автор

Thanks for going through all that happens in the background, it makes the magic so much more enjoyable! I really enjoy your video series, thank you!

BenjaminEggerstedt
Автор

So well explained - Thx I have been struggling with Decode protocol. Not no.

franklemur