SwiftUI Data Binding with the help of @State and @Binding
Data Binding is an approach which binds the data source (i.e provider) to a consumer and vice-versa , so as to keep them synchronized. UI Data binding is something which we will be interested to learn along with SwiftUI. UI Data binding is a design pattern to simplify the development of GUI applications. The name itself gives us an idea about the data will be binding to the View and vice-versa. That is , when data updates the view updates or when the view updates so does the data gets updated. Just to take as an example, there are many javascript framework which support them example ReactNative or Angular JS Framework. What would be the traditional approach? UITextField changes will be identified using the UITextFileDelegate or add Target to get notified when UIControlEventEditingChanged. Once we receive the notification we update the object. Seems like it will be too much of code to handle such behavior. Lately with iOS 13 SwiftUI , we are now able to take advantage of this design p...