so i am just starting to code using the Swift Programming language on the Swift Playgrounds iPad Application, I want to create an app that displays my blog posts! the app’s name is “Individual In Recovery”,so my first problem is that the app preview doesn’t show anything
I typed in the following code
import SwiftUI
struct ContentView: View {
var body: some View {
VStack {
Text("Individual In Recovery")
foregroundColor(.white)
padding()
background(.blue)
padding()
background(.mint)
padding()
background(.green)
}
}
}
and the app preview shows nothing and there are no errors! But when i remove the modifiers the app preview shows the text correctly! So I figured that i could mess around with how the text shows up by just searching for code wi that could help modify the text within the Swift Playground app for iPad