How to use @AppStorage property wrapper to store the color of the Color Picker View in Swift UI 2

Опубликовано: 17 Октябрь 2024
на канале: Code with Andrei
901
22

In this video we gone learn how to store values in UserDefaults by using the new @AppStorage property wrapper. Also we gone learn how to convert the selected color from the color picker into a string and save it in our user defaults. I hope you will enjoy this video.

Swift UI AppStorage Property Wrapper - Swift UI | Swift UI AppStorage Property Wrapper - Swift UI 2 | Learn Swift UI 2 in IOS14 | Swift UI tutorials | Swift UI videos | Learn to code in Xcode 12

Bio:
My name's Ionut Andrei and I created this channel to share useful videos about programming. I am a Front End developer and a Swift enthusiast with 10 years of experience in the field. By subscribing to this channel you can expect videos that will cover the new Swift UI framework, JavaScript, and the major FE frameworks like React, Angular, and Vue.JS.

if you want to buy me a beer you can do it here:
https://www.paypal.me/ionutdirlea

Follow me on:
Twitter:   / ionutd09  
Instagram:
  / ionut.dirlea  
  / code_school_eu  

If you want to see more videos here are some recommendations:

How to create a Facebook-like friends tab:
   • Create Facebook friends list with Swi...  

Build an onboarding screen in Swift UI
   • Cryptocurrency Onboarding - Swift UI