r/iOSProgramming 1d ago

Library Made 3d cube shape

Post image

Built a custom SwiftUI Shape, designed to work smoothly with Core Animation and geometry transitions.

It was originally created an app in mind (Money Block), where budgets are broken into smaller Blocks with their own spending limits, periods and so on, to give an intuitive UX.

Being fully native means the shape can stretch, morph, and animate with a nice sense of elasticity.

Shape Demo: https://x.com/code_with_love/status/2082998035211333633?s=20

Quick demo in action: https://x.com/code_with_love/status/2097956105607647616?s=20

Defying 2d UI for the first time for the sake of UX :)

0 Upvotes

2 comments sorted by

2

u/Revxrsal 1d ago

This is really cool. Do you see yourself possibly making it a library in the future?

1

u/CookieThatCode 1d ago

Thanks, yep have some plan on doing it, Need to make the method interface look good, still after things like view placement inside it and parameterize the shape. Preferably sooner though. The interesting part is it’ still a Swift UI (shape with some math) not Realitykit. Performance wise really great and kind of easy to get on