Themes Switcher for App along with Light and Dark Mode in SwiftUI

Опубликовано: 04 Октябрь 2024
на канале: Recoding
2,123
31

In this video we gonna build a Theme Switcher using SwiftUI and App Storage, to change the theme of app in real time as well as save it inside the app internal storage.

Recommended Videos :
1. Customize Navigation Bar using UINavigationBarAppearance in SwiftUI 3.0 :    • Customize Navigation Bar using UINavi...  
2. Dark / Light Mode in SwiftUI :    • Dark / Light Mode in SwiftUI  

Source Code : https://github.com/recoding-io/swiftu...

Checkout full playlist :
1. SwiftUI 3.0 Tutorials :    • New Button Customization Styles In Sw...  
2. SwiftUI Tutorials :    • SwiftUI : Build Document OCR App usin...  
3. Apple Persistence Storage :    • Apple Persistent Storage Tutorial  

Timeline
Intro (00:00)
App Demo (0:28)
App Basic Layout (1:52)
Create Theme Protocol (5:01)
Add Theme Color Pallet (5:54)
Build Theme Collection Class (7:30)
Create Theme Manager Class (9:06)
Initiating the Theme Manager Class (11:39)
Build App Theme Setting View (12:08)
Create new View Modifiers (14:43)
Problem with Navigation Bar View in SwiftUI (17:30)
Testing app for Dark and Light Mode (20:48)

Support us on
☕ @Buy me a coffee - https://www.buymeacoffee.com/recoding
🎗@Patreon -   / recoding_io  

Follow us on
📝 @Medium -   / recoding  
🐦 @Twitter -   / recoding_io  
🦄 @Dev.to - https://dev.to/recoding
📌 @Pinterest.com -   / recoding_io  
🔗 @LinkedIn.com -   / recoding-io  
#️⃣ @Hashnode - https://recoding.hashnode.dev/