Post

Replies

Boosts

Views

Activity

Authentication on `https://appstoreconnect.apple.com/iris/v1`
Hi, I've tried to authenticate this endpoint https://appstoreconnect.apple.com/iris/v1/betaFeedbacks with the JWT token as described in the documentation, but it's not working. I know this endpoint is not documented, but gathering the beta feedback and being able to extract it to some ticket system (e.g. GitHub board) would be a really helpful option for us. Does anyone know how we can authenticate this one?
1
1
812
Apr ’22
SwiftUI shadow - spread parameter
Is there any way how to create shadow in SwiftUI with the spread parameter (means of how much greater the shadow should be than the original view)? I've tried to use custom implementation of shadow using background Color with blur, but it resulted in performance issues. swift content .background(GeometryReader { geometry in Rectangle() .fill(color) .frame(width: geometry.size.width + spread, height: geometry.size.height + spread) .cornerRadius(isCircle ? (geometry.size.width + spread) / 2 : cornerRadius) .padding([.top, .leading], -spread / 2) .padding(.leading, x) .padding(.top, y) .blur(radius: blur) }) I haven't found any other resources. I think that shadowPath would be helpful using UIKit, but I don't know any way ho to achieve it using SwiftUI. Thanks for any advice!
2
0
2.8k
Mar ’21
Animating `SCNNode` along a path
Is there a way to animate SCNNode along a given CGPath? It doesn't work with the CAKeyframeAnimation as it works with the CALayer. I mean, using this animation: let anim = CAKeyframeAnimation(keyPath: "position") anim.path = CGPath(ellipseIn: CGRect(x: 100, y: 100, width: 300, height: 300), transform: nil) anim.duration = 5 anim.repeatCount = .infinity anim.calculationMode = .paced anim.rotationMode = .rotateAuto Or is there some workaround to calculate steps from the CGPath?
0
0
493
Sep ’20