r/SwiftUI • • Jan 31 '26 Bravo

News Jelly Switch in Metal and SwiftUI

833 Upvotes

Loved the Jelly Switch from @iwoplaza so I built it with Metal and SwiftUI. Available in https://github.com/jamesrochabrun/ShaderKit


r/SwiftUI • • Oct 06 '25 Bravo

Promotion (must include link to source code) For my first swift app, I built a native macOS image converter

813 Upvotes

Hey there,

I was tired of the existing (online) image converters. Most are slow, clunky, or have major privacy question marks. So, I decided to build my own from scratch, focusing on creating a fast, powerful, and truly native macOS experience using SwiftUI.

The entire project is open-source, and I'm here to share some of the development highlights and hopefully get your feedback.

Tech & SwiftUI Details

  • UI/UX: My goal was a "liquid glass" aesthetic with a highly responsive feel. I used spring animations throughout the interface to make interactions feel fluid and natural. For tactile feedback on keyboard actions, I integrated NSHapticFeedbackManager.

  • Architecture: I built the app using MVVM, which I found worked really well for a project of this size. It helped keep the business logic cleanly separated from the SwiftUI views.

  • Core Image Processing: For speed, the app leverages macOS's built-in native libraries (Core Graphics/Image I/O) for most conversions. To add support for WebP, I integrated the libwebp library.

  • Real-Time Previews: The side-by-side preview updates instantly as you tweak settings. This was straightforward to implement by binding the UI controls directly to the state that drives the image processing logic.

  • Power-User Shortcuts: I made heavy use of the .keyboardShortcut() modifier so you can quickly switch formats (j, p, w, h) or preview an image with the spacebar.

The app is free to use right now. I'll likely add a daily limit to the free version in the future, but for now, it's unlimited. For anyone who wants to support the project, I've set up a discounted lifetime license for early adopters. You see it after your first conversion :)

I'd love to hear what you think, especially about the SwiftUI implementation or any features you'd like to see. Feel free to dive into the code!

GitHub (Source Code)

Download (App Store)

Website


r/SwiftUI • • Jul 19 '25

Fixing Swift, one typealias at a time…

Post image
705 Upvotes

r/SwiftUI • • Nov 16 '24

Pretty proud of this onboarding UI I have created for my iOS App Generator. Built 100% with SwiftUI!

537 Upvotes

r/SwiftUI • • Nov 05 '25

Tutorial hole-forming displacement with springy in SwiftUI

481 Upvotes

r/SwiftUI • • Jul 10 '20

RedditOS, an open source SwiftUI macOS Reddit client

Post image
395 Upvotes

r/SwiftUI • • Sep 09 '24

Tutorial i’m impressed by what you can replicate in minutes using AI.

393 Upvotes

in just 2 minutes, I was able to replicate a tweet from someone using v0 to create a Stress Fiddle app for the browser, but with SwiftUI.

i simply asked for some performance improvements and immediately achieved 120fps by copying and pasting the code from my GPT.

here’s the code if anyone wants to replicate it:

https://gist.github.com/jtvargas/9d046ab3e267d2d55fbb235a7fcb7c2b


r/SwiftUI • • Oct 03 '25

Tutorial SwiftUI Holographic Card Effect

375 Upvotes
                    DynamicImageView(
                        imageURL: beer.icon!,
                        width: currentWidth,
                        height: currentHeight,
                        cornerRadius: currentCornerRadius,
                        rotationDegrees: isExpanded ? 0 : 2,
                        applyShadows: true,
                        applyStickerEffect: beer.progress ?? 0.00 > 0.80 ? true : false,
                        stickerPattern: .diamond,
                        stickerMotionIntensity: isExpanded ? 0.0 : 0.1,
                        onAverageColor: { color in
                            print("BeerDetailSheet - Average color: \(color)")
                            detectedBeerAverageColor = color
                        },
                        onSecondaryColor: { color in
                            print("BeerDetailSheet - Secondary color: \(color)")
                            detectedBeerSecondaryColor = color
                        }, onTertiaryColor: { thirdColor in
                            detectedBeerThirdColor = thirdColor
                        }
                    )

This is as easy as attaching a stickerEffect with customizable options on the intensity of drag and patterns I’d be happy to share more if people want


r/SwiftUI • • Oct 05 '24 Bless Up

Promotion First app! Qewie - Make stunning QR codes

357 Upvotes

r/SwiftUI • • May 13 '23

Dynamic Island - Reading Progress Indicator in SwiftUI #2

355 Upvotes

r/SwiftUI • • Mar 12 '25

My skills in graphic design tools are almost non-existent, so I created my app's icon and splash animation in SwiftUI instead, here's the code.

352 Upvotes

r/SwiftUI • • Oct 02 '24

Animated grid, made with SwiftUI

346 Upvotes

r/SwiftUI • • Apr 07 '26 Heartwarming Bravo

tracking calories shouldn't cost $8/month. so i open sourced my calorie tracker and made it free forever

Post image
329 Upvotes

this has been bugging me for a while

every calorie tracker out there locks basic features behind a subscription. you want to scan food? $8/month. you want to see your macros? pay up. you want to log more than 3 meals? premium only

tracking what you eat is one of the most basic things you can do for your health. its not some luxury feature. people trying to lose weight or stay healthy shouldn't have to pay a monthly fee just to know how many calories they ate today

so i took my calorie tracker app that i was charging for, ripped out all the subscription code, removed sign in, removed cloud sync, and open sourced the whole thing under MIT

how it works: you snap a photo of your food, speak your meal, or type it. AI gives you the full breakdown. calories, protein, carbs, fat, and 9 other micronutrients

you bring your own api key. supports gemini, openai, claude, grok, groq, and a few others. gemini has a free tier so you literally pay nothing

everything stays on your phone. no account, no cloud, no ads, no tracking. api keys stored in keychain

its on the app store for ios and the full source code is on github


r/SwiftUI • • Jul 09 '24

SwiftUI Border Animations

324 Upvotes

r/SwiftUI • • May 23 '23

News I’m developing a better, prettier and cheaper DMG manager

312 Upvotes

👋 Hey! I’m Igor, a developer at lo.cafe (a group of friends developing amazing software).

I think everyone noticed how stupid hard it is to create a DMG, and I did too, but boy I didn’t wanna pay the absurd prices for the current solutions. Besides, I wanted something that would make easier for developers to sign, notarize and create DMG files, so I created Damage :D

Damage manages your installed and remote certificates (you can create new ones and download existent certificates from remote), signs your app with a decent set of instructions (for you not to publish wrong DMGs/Apps), notarizes your files and create new DMG files with up to 4 apps/files.

Everything with a really beautiful interface.

Did you notice it can create dark themed DMGs?

It’ll cost around 15U$ and will be released soon :)

If you wanna keep it up, you can check https://lo.cafe website, or join the discord server!

There’s a few other cool apps on lo.cafe website if you get interested!

I hope you guys like it!


r/SwiftUI • • Oct 17 '21

I'm recreating the stock weather app for mac/iPad!

294 Upvotes

r/SwiftUI • • Dec 16 '20

The SwiftUI Starter Pack

Post image
291 Upvotes

r/SwiftUI • • Jul 16 '24

SwiftUI: Delete Account View

290 Upvotes

r/SwiftUI • • Oct 26 '25

Tutorial Recreated the iCloud login animation with SwiftUI (source code inside!)

289 Upvotes

I really like the iCloud login animation, so I had a crack at recreating it. The final version uses swiftui and spritekit to achieve the effect. I'm pretty happy with how it turned out so I thought I'd share it!

Here's a breakdown of the animation and the source code: https://x.com/georgecartridge/status/1982483221318357253


r/SwiftUI • • Oct 05 '24 Heart of Silver

My App. Tesseract

286 Upvotes

r/SwiftUI • • Sep 06 '24

Question I built this digital canvas entirely using SwiftUI

277 Upvotes

I spent about two days creating a sand simulation for my mood-tracking app, which integrates art, and this is the result. Overall, it’s performing well.

This blog post helped me achieve this: https://jason.today/falling-sand (and of course, my helpful assistant, ChatGPT).

I’d like to clean up the code a bit and maybe create a sandbox app so everyone can view and contribute to it. I’m considering open-sourcing a canvas project with a falling-sand style, built in SwiftUI.

Right now, it’s implemented in my mood/emotion tracking app, but this post is just to showcase what I’ve been able to create in SwiftUI. I initially tried to use Metal but didn’t have much success—probably due to my limited experience at the time.

I’d love to see this implemented using Metal. If anyone has a similar project, I’d be excited to see how it’s done


r/SwiftUI • • Apr 30 '22

Tutorial I've made this graph to help get an overview of all 60+ EnvironmentValues in SwiftUI

Post image
276 Upvotes

r/SwiftUI • • 5d ago

An animated border beam for SwiftUI, Metal shader powered

275 Upvotes

I made an open-source border beam for SwiftUI: a glowing light that travels around any view’s border. One modifier, custom colors, direction and speed, and it’s drawn by a single Metal shader pass, so it stays smooth.

iOS 17+, MIT licensed. Would love your feedback!

https://github.com/ismnoiet/border-beam-ios


r/SwiftUI • • Aug 04 '24

List view inspired by the movie Interstellar

271 Upvotes