1 // 2 // ContentView.swift 3 // Bullseye 5 // Created by Ray Wenderlich on 10/16/20. 7 8 import SwiftUI 9 10 struct ContentView: View ( 11 var body: some View ( 12 VStack { 13 14 15 16 17 21 22 23 24 } 25 } 18) 19 20 struct ContentView_Previews: PreviewProvider { Text("'''\nPUT THE BULLSEYE AS CLOSE AS YOU CAN TO") Text("89") Slider (value: Važue) } static var previews: some View ( ContentView() PUT THE BULLSEYE AS CLOSE AS YOU CAN TO Slider 320×31 89 @ 100% Q

Np Ms Office 365/Excel 2016 I Ntermed
1st Edition
ISBN:9781337508841
Author:Carey
Publisher:Carey
Chapter5: Working With Excel Tables, Pivottables, And Pivotcharts
Section: Chapter Questions
Problem 15RA
icon
Related questions
Question

So Im new to swift and am trying to understand the basics. So I was watching a tutorial and have a few questions. So first of all, instead of a slider, what other stuff could we add? second, what different views are there in this program? thirdly, whats the code at the bottom supposed to represent. Someone please explain in simplest terms.....

 

1 //
2 // ContentView.swift
3 // Bullseye
5 // Created by Ray Wenderlich on 10/16/20.
7
8 import SwiftUI
9
10 struct ContentView: View (
11
var body: some View (
12
VStack {
13
14
15
16
17
21
22
23
24 }
25
}
18)
19
20 struct ContentView_Previews: PreviewProvider
{
Text("'''\nPUT THE BULLSEYE AS
CLOSE AS YOU CAN TO")
Text("89")
Slider (value: Važue)
}
static var previews: some View (
ContentView()
PUT THE BULLSEYE AS CLOSE AS YOU
CAN TO
Slider 320×31
89
@ 100% Q
Transcribed Image Text:1 // 2 // ContentView.swift 3 // Bullseye 5 // Created by Ray Wenderlich on 10/16/20. 7 8 import SwiftUI 9 10 struct ContentView: View ( 11 var body: some View ( 12 VStack { 13 14 15 16 17 21 22 23 24 } 25 } 18) 19 20 struct ContentView_Previews: PreviewProvider { Text("'''\nPUT THE BULLSEYE AS CLOSE AS YOU CAN TO") Text("89") Slider (value: Važue) } static var previews: some View ( ContentView() PUT THE BULLSEYE AS CLOSE AS YOU CAN TO Slider 320×31 89 @ 100% Q
AI-Generated Solution
AI-generated content may present inaccurate or offensive content that does not represent bartleby’s views.
steps

Unlock instant AI solutions

Tap the button
to generate a solution

Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
New Perspectives on HTML5, CSS3, and JavaScript
New Perspectives on HTML5, CSS3, and JavaScript
Computer Science
ISBN:
9781305503922
Author:
Patrick M. Carey
Publisher:
Cengage Learning