SwiftUI Flashcards
Many of the advantages of SwiftUI originate from the fact that it is both _______ and _________
Declarative, Data driven
What does “interface builder” do?
Allows storyboards to be created which contain the individual scenes that make up an app.
SwiftUI declarations are structured _______, which also makes it easy to create complex views by composing together small, re-usable custom ______.
hierarchically, subviews.
What is “preview canvas”?
Xcode provides a preview canvas which changes in real time to reflect the appearance of the layout.
What is “live-preview”?
Xcode also includes a “live preview” mode which allows the app to be launched within the preview canvas and fully tested without the need to build and run on a simulator or device.
When implemented the data model ______ data variables to which other parts of the app can then _____.
publishes, subscribe.