RawRepresentable and AppStorage

  Рет қаралды 1,022

Stewart Lynch

Stewart Lynch

Күн бұрын

Пікірлер: 8
@Mahadev-x7u
@Mahadev-x7u Күн бұрын
Excellent… thank you Stewart 🔥✨💯
@GaneshWYT
@GaneshWYT Күн бұрын
Nice. Enabled notification so i don't miss anything
@dmitryvoronin9831
@dmitryvoronin9831 2 күн бұрын
Incredible and very useful video! Thanks a lot! Carry on!
@wonton120
@wonton120 2 күн бұрын
Thanks so much for this good lecture!
@StewartLynch
@StewartLynch 2 күн бұрын
You're very welcome!
@enriquepinaud8101
@enriquepinaud8101 Күн бұрын
Hi Stewart, great video. Have been struggling with AppStorage and custrom types for a while. Thanks! But, what if a don't want to use @AppStorage? How do I work with this using the UserDefaults inside my ViewModel, for example? I tried something like 'UserDefaults.standard.set(self.performanceStats, forKey: "performanceStats")', where performanceStats is Codable and RawPresesentable, but I get a runtime error: "Attempt to insert non-property list object PerformanceStats for key performanceStats". Suggestions?
@ortezan4186
@ortezan4186 Күн бұрын
If it was standalone feature, which worked from just extension it would have been great, but these coding key hoops make it useless and error prone. What if I need to add or delete field while developing? Change field type? But I leaned where these stored values are, which is a plus. Also not forget to add privacy manifest for them.
@andremethot2787
@andremethot2787 Ай бұрын
Great vidéo!
SwiftData Updates - Part 1:  Mock JSON Data and PreviewModifier
29:53
Stewart Lynch
Рет қаралды 2,6 М.
Their Boat Engine Fell Off
0:13
Newsflare
Рет қаралды 15 МЛН
«Жат бауыр» телехикаясы І 26-бөлім
52:18
Qazaqstan TV / Қазақстан Ұлттық Арнасы
Рет қаралды 434 М.
Linux for Data Engineers | البطريق العضاض يعظ
11:24:48
بالعربي Big Data
Рет қаралды 102 М.
Job losses at Europe’s car parts suppliers skyrocket as European crisis grows
13:24
Learn GO Fast: Full Tutorial
1:07:53
Alex Mux
Рет қаралды 525 М.
Linux - Introduction
2:34:06
Eli the Computer Guy
Рет қаралды 37 М.