© Jayant Varma 2019
J. VarmaSwiftUI for Absolute Beginnershttps://doi.org/10.1007/978-1-4842-5516-2_4

4. Data and Combine

Jayant Varma1 
(1)
Melbourne, VIC, Australia
 

In the last chapter, we covered a lot of UI elements and had a look at how they work. We shall explore more UI elements in the chapters as we go forward; however, there were some interesting things, namely, the @State annotation that we used to store values. In this chapter, we shall explore this and the related information on how it all works and makes this possible.

Data

While creating SwiftUI, the engineers at Apple looked at a lot of things that could do with improvements, and many of the techniques and technology released at WWDC make development easier, readable, and manageable. ...

Get SwiftUI for Absolute Beginners: Program Controls and Views for iPhone, iPad, and Mac Apps now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.