Post

Replies

Boosts

Views

Activity

Comment on Flush Metal rendering when program is paused in LLDB?
I just got this working. Thank you! Besides waitUntilCompleted as you recommended, I also switched from MTKView to a lower level technique using CAMetalLayer (following an Apple sample project named "CustomMetalView"). That may not be necessary but in my situation it helped. Now when I'm in LLDB and I step across a change in the data model, I can call a certain Swift function (p debugRender()) and I see the change on my device screen. Sweet!
Topic: Graphics & Games SubTopic: General Tags:
Nov ’21
Comment on Swift package setup for a metal renderer
In the package, do you have a .h file containing types for the metal shaders? Or did you just paste the types into the .metal shader files? I tried the former, but I don't think the .h file was being picked up my the .metal or the .swift files. Maybe I need to say something in the Package.swift to tell it about the .h file.
Topic: Programming Languages SubTopic: Swift Tags:
Oct ’21
Comment on Side by side Picker wheels failing in iOS 15
I just pasted your exact code into a new project, and it causes the problem for me. The border between the touch areas is way right of center, not in the center as it should be. I'll add an 'answer' with a screenshot, in a moment. I thought I could edit my question to add a screenshot, but apparently I can't.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Sep ’21
Comment on Simple layout still fails
This has stopped working in iOS 15. I'm looking for another workaround. The widths still split 50/50 as desired, but the touch target area seems to overlap, so dragging on the first picker causes the second wheel to scroll, unless you touch way towards the edge of the screen.
Topic: UI Frameworks SubTopic: SwiftUI Tags:
Sep ’21