Post

Replies

Boosts

Views

Activity

How to Specify Pixel-Specific Depths of Views in xrOS?
With the advent of the third dimension, I wanted to know wether if it's currently possible to display the flat swiftUI Views with some thickness in xrOS? While the .frame(depth: CGFloat?) does the job for Views in general, I am eager for a more granular level of control at the pixel-specific level. I was hoping that there are lower level APIs to achieve this & I've looked into the fairly new layerEffect shader API, yet it seems it's incapable of setting the depths of pixels...
0
0
618
Mar ’24
No markup for Markdown in XCode!
The Text inside README.md or any other Markdown files added to the project's bundle, simply are not formatted when previewed in XCode. Almost all of the opensource projects have instructions in Markdown at the top level of the project & even Apple use MD in their sample projects. Magically, the .md files in Apple sample projects are formatted as expected as you can see below, but this isn't the case in any other project. I've also checked the file's settings in the XCode inspector and it didn't differ from the ones existing in the Apple code samples. This is how we are used to view Markdowns in XCode. And this is is the README.md in HappyBeam which is formatted.
2
0
1.2k
Nov ’23