State & Binding | SwiftUI in 5 minutes | 2020

  Переглядів 14,272

Krass Iankov

Krass Iankov

3 роки тому

@State and @Binding are two of the most used ways to share data between views in SwiftUI. This is a simple example of how to pass a string between three views. Hopefully you find it helpful.
Using Xcode 11.5

КОМЕНТАРІ: 27
@thephoenixbarber4435
@thephoenixbarber4435 4 місяці тому
Perfect, clear, and quick explanation. Thank you!
@draytond
@draytond 3 роки тому
Excellent explanation that is as clear as it is succinct. I instantly subscribed, looking forward to seeing more videos!
@akshaykumar-qj2kx
@akshaykumar-qj2kx 3 роки тому
awesome. easy to understand.. expecting more videos :)
@blisdevHQ
@blisdevHQ 9 місяців тому
thanks, this is the easiest explanations on youtube so far
@susantasahoo2819
@susantasahoo2819 2 роки тому
Excellent Explanation!! Thanks!
@randdnao8371
@randdnao8371 Рік тому
Great🎉 I was hoping to get the video that is a simple explanation about state and binding like this
@Alexeytrn
@Alexeytrn 11 місяців тому
So clearly, thank you!
@hamayunzeb8765
@hamayunzeb8765 Рік тому
Outstanding that's I need 💯
@LiittleMiimii
@LiittleMiimii 2 роки тому
Awesome! First tutorial that explains ist so well, I finally understand:)) now do it for Classes 😂 I have a gesture recognizer coordinator, which should realize a Button tap and change the Position of an object in the scene that was placed by tapping the screen first in the coordinator.
@Wiintb
@Wiintb 2 роки тому
This is super good.
@IlkerKabadayi16
@IlkerKabadayi16 3 роки тому
thanks alot. its now more clear ...
@angus2170
@angus2170 2 місяці тому
Thank you! Wonderful video :)
@MamoonYameen
@MamoonYameen Рік тому
Excellent explainaltion
@ashishrana4736
@ashishrana4736 2 роки тому
keep Going
@anashassnn
@anashassnn 2 роки тому
Thank you!!
@jkeee
@jkeee 10 місяців тому
thank you!
@Xlife23
@Xlife23 3 роки тому
Wow thanks a lot!
@lanaluong5887
@lanaluong5887 3 роки тому
Got it. Thanks a lot
@KrassIankov
@KrassIankov 3 роки тому
Thanks for watching
@alwayssmile3125
@alwayssmile3125 3 роки тому
Cool
@serkanyildirim1159
@serkanyildirim1159 Рік тому
perfect explanation thanks a lot.
@KrassIankov
@KrassIankov Рік тому
Glad it was helpful!
@havardhestetun1390
@havardhestetun1390 Рік тому
Great stuff, is it true though that in the current version of SwiftUI you don't need the \(self.placeholdertext), and can just type in Text(placeholdertext) ?
@user-pb1ng9wz1l
@user-pb1ng9wz1l 2 роки тому
10:06 Is anyone knows how to show the method, struct, class belongs in this way?
@DavidNitzscheBell
@DavidNitzscheBell 3 роки тому
So....@State if it's in the same View and for sharing between two Views, @Binding in the second View and pass the variable with $. Is that the summary?
@KrassIankov
@KrassIankov 3 роки тому
Basically
@pren5948
@pren5948 Рік тому
thanks
Піхотинці - про потребу у людях
00:57
Суспільне Новини
Переглядів 777 тис.
Glow Stick Secret 😱 #shorts
00:37
Mr DegrEE
Переглядів 48 млн
How to use @ObservableObject and @StateObject in SwiftUI | Bootcamp #50
35:12
Swiftful Thinking
Переглядів 55 тис.
Data Flow in a SwiftUI App
33:15
CodeWithChris
Переглядів 51 тис.
Fetching JSON data from an API | SwiftUI in 5 minutes | 2020
8:47
Krass Iankov
Переглядів 13 тис.
NavigationStack - SwiftUI Programmatic Navigation - iOS 16
20:20
Sean Allen
Переглядів 62 тис.
Create custom Bindings in SwiftUI | Advanced Learning #27
30:41
Swiftful Thinking
Переглядів 3,9 тис.
How to use @Binding property wrapper in SwiftUI | Bootcamp #22
12:40
Swiftful Thinking
Переглядів 31 тис.
SwiftData Basics in 15 minutes
15:18
CodeWithChris
Переглядів 33 тис.
@EnvironmentObject Explained in SwiftUI | iOS 17
21:16
AppStuff
Переглядів 3,9 тис.
Піхотинці - про потребу у людях
00:57
Суспільне Новини
Переглядів 777 тис.