iOS 15: Adding Codable conformance for @Published properties – Cupcake Corner SwiftUI Tutorial 1/9

preview_player
Показать описание

Other parts in Project 10:

1. Adding Codable conformance for @Published properties: This video

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

Hi Paul! Really appreciate your swiftUI tutorial. I am wondering why Swift cannot automatically implement Codable for classes containing @Published variables. If a @Publishable variable itself already conforms to Codable, shouldn't it be trivial for Swift to figure out how to encode and decode?

impvol
Автор

i am really in learning SwiftUI but i am afraid of missing important video uploaded long time ago by you Master,
could you recommend me a flow of video to watch or playlist to get every squeeze of information from your videos, Thanks a lot.

MoAdel
Автор

You explained what is the keyword “required”. But what is the point of the keyword “required” in this case? Like why must this initialiser be marked “required”?

uniquecrafter
Автор

bro what the f*** is going on here??? 😂

alextoma
Автор

Honestly I've tried so many times watching this tutorial but couldn't get through it. There is no introduction of why we are randomly learning this from previous classes...

lalaland