Post

Replies

Boosts

Views

Activity

Comment on [18.2b2] How do I test an OpenIntent?
So, I'm doing some exploratory coding with what is essentially a copy-paste of the code from the documentation. I am not seeing my OpenIntent show up in shortcuts as an action under my app, though. Currently my FileEntity.Query returns empty arrays because I'm not really intending on providing files from my application, just allow users to copy files into it.
Nov ’24
Comment on Page-Curl Shader -- Pixel transparency check is wrong?
While this answer is not really satisfying, it fixed my problem. If you're applying a shader as a layerEffect to a SwiftUI view, make sure you declare a compositingGroup before the layer effect. This includes layerEffects that are wrapped in custom transitions. Otherwise the SwiftUILayer that gets passed to the shader acts real weird.
Topic: Graphics & Games SubTopic: Metal Tags:
Oct ’24
Comment on OutlineView in SwiftUI
I agree with the other commenters. SwiftUI's OutlineGroup is not the piece you want if you're trying to build a great app. Perhaps If and only If your view is single column, not user-modifiable, and does not require programmer expansion and collapse will it work out. I'm not actually sure if it handles programmatic expand and collapse or swipe actions tbh.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Jun ’24
Comment on Questions about WorldTrackedAnchor Resiliency
Thanks for the reply! I'll proceed by adding a disclaimer for my users. I'm glad I have accurate information to tell them for the time being. Unfortunately image anchors wouldn't really work unless the user could import a picture of their own wall / home surface, and I don't think asking them to stick QR codes in places makes sense for virtual art. They also don't feel very magical. I'm hopeful we'll get world-tracked widgets / app windows eventually, and I'll be ready! (cough: FB13571855)
Topic: Spatial Computing SubTopic: ARKit Tags:
Jun ’24