I want to know how to add two Variables to a text field
Selecting any option will automatically load the page
Post
Replies
Boosts
Views
Activity
I want to know if it is ok to use code snippets off here.
I want how to run a terminal command by pressing a button in swiftUI macOS
Is a their way to add game controller support to swiftUI apps.
do I need the paid apple developer account to use notifications on real device because when I use them on a real device they do not work when I sue them on the simulator they work.
is there a way to add 3d usdz to swiftUI I can't find anything.
I can't figure out how to make a app clip apple said download this to make one when I click on the link it takes me to a place to download it but nothing is there.
does anybody know every feature you can add to an image in swiftUI.
Is there a way to save a CGFloat like if a rectangle is doing a ease out animation and the CGFloat is on 1 on the it goes to 2
is there a way to save that. Please tell me if this makes no sense.
I want to know how to add a button that will add a new rectangle every time the button is pressed in swiftUI?
when I try and change a variable in a function it just gives me
a error that says Cannot find 'textfield' in scope here is the is the code.
import SwiftUI
struct ContentView: View {
@State var test = "this is a test"
var body: some View {
Text("Hello")
}
}
func testfunc() {
test = "test"
}
struct ContentView_Previews: PreviewProvider {
static var previews: some View {
ContentView()
}
}
I want to know how to make something happen when i type a specific word in a textfield
I want to know to make something happen when a variable changes.
how to make a textfield non editable please just give me the answer if you have none of this you can do this instead.
progress bar will not work in swiftUI here is the code I used.
import SwiftUI
struct ContentView: View {
@State private var progress = 0
var body: some View {
ProgressView(value: $progress)
}
}
struct ContentView_Previews: PreviewProvider {
static var previews: some View {
ContentView()
}
}