Email or username:

Password:

Forgot your password?
4 posts total
robb

I've posted the code for the Super Mario Bros. Wonder-inspired timer at patreon.com/swiftui_snippets

robb

After years of the same boring materials on iOS, I think it’s finally time for reeded glass navigation bars.

Show previous comments
Jason Tiernan

@dlx imagine rubbing your finger across it and getting a subtle haptic vibration.

Григорий Клюшников

As someone who has never built anything with UIKit — does it allow using custom shaders in the rendering pipeline? Like this thing in the latest Android?

edit: hehe, it seems I already mentioned that API in a previous comment

robb

Custom, lazy #SwiftUI ScrollView with 3D Layout

Danilo, from the Gerentate

@dlx do you live in a doorless tower

like a wizard

Григорий Клюшников

Huh, I think I can replicate this on Android with RecyclerView easily enough. Out of what you do with SwiftUI/UIKit/AppKit, things that legit make me drool in envy are the ones involving shaders and real-time blur. Can't run things on the GPU on Android unless you just want a GPU-rendered overlay on a view (then do custom OpenGL stuff in a TextureView) or target Android 13, which is latest and runs on like 0.01% of devices (there they introduced RuntimeShader, which does, at last, allow you to put a view's rendered pixels through a custom GLSL-like shader that runs on the GPU).

Huh, I think I can replicate this on Android with RecyclerView easily enough. Out of what you do with SwiftUI/UIKit/AppKit, things that legit make me drool in envy are the ones involving shaders and real-time blur. Can't run things on the GPU on Android unless you just want a GPU-rendered overlay on a view (then do custom OpenGL stuff in a TextureView) or target Android 13, which is latest and runs on like 0.01% of devices (there they introduced RuntimeShader, which does, at last, allow you to put...

robb

Reimplemented one of my all-time favorite interactions in #SwiftUI, the Kubelka-Munk paint blending seen in Paper.

Show previous comments
Roman Lefebvre

@dlx this is impressive! It was such a neat interaction. I didn’t know it had a name.

Matt Corey

@dlx that looks awesome, but I’d be afraid it doesn’t work as expected - I think I’d expect it change color when I select a new option on the left (never used Paper, so I’m without that context 🤷‍♂️)

Go Up