SwiftUI Flashcards

1
Q

Many of the advantages of SwiftUI originate from the fact that it is both _______ and _________

A

Declarative, Data driven

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What does “interface builder” do?

A

Allows storyboards to be created which contain the individual scenes that make up an app.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

SwiftUI declarations are structured _______, which also makes it easy to create complex views by composing together small, re-usable custom ______.

A

hierarchically, subviews.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is “preview canvas”?

A

Xcode provides a preview canvas which changes in real time to reflect the appearance of the layout.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What is “live-preview”?

A

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.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

When implemented the data model ______ data variables to which other parts of the app can then _____.

A

publishes, subscribe.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly