Post not yet marked as solved
Any new responses, @Frameworks Engineer?
What is the following line?
let containerData: [CommonAttributes]
Please explain.
Post not yet marked as solved
Hi @JoeKun,
The sample app given doesn't work without major changes. It has 24 issues including multiple warnings and swift compiler errors. Do you have another example that works without any changes?
Post not yet marked as solved
Anyone get this question?
Post not yet marked as solved
So, do you have any pointers to a solution? Or is there no answer to the question?
Post not yet marked as solved
Basically, it is SwiftUI code. Those were the most necessary parts of the code.As requested, here is the entire ContentView.swift file:import SwiftUI
struct ContentView: View {
@State private var animationAmount: CGFloat = 1
@State private var stiffnessAmount: CGFloat = 1
@State private var animationCount: CGFloat = 1
var body: some View {
VStack{
HStack{
Slider(value: $stiffnessAmount, in: 1...10, step: 1)
Text("Stiffness: \(stiffnessAmount)")
}
HStack{
Slider(value: $animationCount, in: 1...5, step: 1)
Text("Animation Count: \(animationCount)")
}
Text("Look here!")
.font(.title)
.frame(width: 1000, height: 1000, alignment: .center)
.background(Color.red)
.foregroundColor(.black)
.clipShape(Circle())
.scaleEffect(animationAmount)
.animation(
Animation.interpolatingSpring(stiffness: Double(stiffnessAmount), damping: 0)
//.repeatForever(autoreverses: false)
.repeatCount(Int(animationCount), autoreverses: false)
)
.onAppear{
self.animationAmount = 0.5
}
}
}
}
struct ContentView_Previews: PreviewProvider {
static var previews: some View {
ContentView()
}
}
Post not yet marked as solved
Hi Claude31,I already looked at that particular repository on Github and couldn't find any examples. Do you have any examples for OAuthSwift with MacOS and SwiftUI?
Post not yet marked as solved
The ARKit is not found in the list of frameworks supports by the Metal simulator.https://developer.apple.com/videos/play/wwdc2019/418/
Post not yet marked as solved
Claude31, that example with the Incrementor and Decrementor is incomplete and doesn't make the point about the "functions as a first-class type". Your example is not what I am looking for.
Post not yet marked as solved
Some examples of prior art: https://www.youtube.com/playlist?list=PLuoeXyslFTubw4NtepDCis5tTqK37zT3Q&feature=sharehttps://www.raywenderlich.com/3715234-swiftui-getting-started
Post not yet marked as solved
I set the pllst file for Microphone Usage and Speech Recognition Usage but it didn't help. Any other ideas?
Post not yet marked as solved
Any one with any idea to get this to work?