How can I resolve this error ?
Cannot find 'SecondView' in scope in NavigationView :
NavigationView {
VStack(spacing: 30) {
Text("...")
Spacer()
NavigationLink(destination: SecondView()) // Here is error {
Text; (("..."))
.foregroundColor(....)
}
Button("...") {
self.selection = "..."
}
}
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
I can't fix this error.
Cannot convert value of type '[Double]' to expected argument type 'Double'
let someValue = Double(SomeValue / SomeValue) // error is here
I was setting custom colors and got an warning: Color set has an unassigned color child.
What can I do ?
Hello, how can I get rid of this error ?
Type of expression is ambiguous without more context
var body: some View {
NavigationView { // error is here
Form {
Group {
List {
VStack {
NavigationLink(<Text>(VStack {
ScrollView(.vertical) {
VStack(spacing: 13) {
ForEach(0..<1) {_ in TextField("Enter hour",text:$checknewHour
.keyboardType(.decimalPad)
.font(.system(size: 25)), Text("\(checknewHour) $ Hour")
.foregroundColor(.purple)
.font(.system(size: 25)),TextField("Enter minute",text:$checknewMinute
.keyboardType(.decimalPad)
.font(.system(size: 25)), Text("\(checknewMinute) $ Minute")
.foregroundColor(.purple)
.font(.system(size: 25)),