filmov
tv
What is @EnvironmentObject property wrapper in combine SwiftUI Hindi tutorial

Показать описание
EnvironmentObject property wrapper in swiftui is used to store an observable object into the global scope of the application, by doing this all our views in the view hierarchy will have access to those observable objects. Environment object property wrappers are perfect to use if we want to share data across multiple views in our application.
Given are the chapters covered in today's session
0:00 introduction
0:38 question from observable object video
1:37 environment object is not a singleton
2:00 @environmentObject demo
3:37 environmentObject and parent view
4:57 avoid setting environmentObject in the child view
6:26 setting multiple objects in environment
13:21 summary
14:30 share like and subscribe
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
✅ Subscribe to the channel and stay ahead of everyone by following the right way for writing clean code in swift. 🔥🔥🔥🔥🔥
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-----------------------------------------------------------------------------------------------------------------------
📥 Download the source code from
-----------------------------------------------------------------------------------------------------------------------
############################################
Connect with me on social media
Instagram: @codecat15
###########################################
#environmentObject #swiftUIHindiTutorial #swiftUIForBeginners
Given are the chapters covered in today's session
0:00 introduction
0:38 question from observable object video
1:37 environment object is not a singleton
2:00 @environmentObject demo
3:37 environmentObject and parent view
4:57 avoid setting environmentObject in the child view
6:26 setting multiple objects in environment
13:21 summary
14:30 share like and subscribe
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
✅ Subscribe to the channel and stay ahead of everyone by following the right way for writing clean code in swift. 🔥🔥🔥🔥🔥
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-----------------------------------------------------------------------------------------------------------------------
📥 Download the source code from
-----------------------------------------------------------------------------------------------------------------------
############################################
Connect with me on social media
Instagram: @codecat15
###########################################
#environmentObject #swiftUIHindiTutorial #swiftUIForBeginners
Комментарии