r/SwiftUI
•
u/jrochabrun
•
Jan 31 '26
News Jelly Switch in Metal and SwiftUI
Loved the Jelly Switch from @iwoplaza so I built it with Metal and SwiftUI. Available in https://github.com/jamesrochabrun/ShaderKit
r/SwiftUI
•
u/jrochabrun
•
Jan 31 '26
Loved the Jelly Switch from @iwoplaza so I built it with Metal and SwiftUI. Available in https://github.com/jamesrochabrun/ShaderKit
r/SwiftUI
•
u/rpgraffi
•
Oct 06 '25
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.
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!
r/SwiftUI • u/Ok_Bank_2217 • Nov 16 '24
r/SwiftUI • u/Iamvishal16 • Nov 05 '25
r/SwiftUI • u/Dimillian • Jul 10 '20
r/SwiftUI • u/cocolisojon • Sep 09 '24
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 • u/AdAffectionate8079 • Oct 03 '25
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
•
u/josephpalbanese
•
Oct 05 '24
r/SwiftUI • u/raul0101 • May 13 '23
r/SwiftUI • u/rproenca • Mar 12 '25
r/SwiftUI
•
u/apoorvibe
•
Apr 07 '26
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 • u/Kinark • May 23 '23
👋 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 • u/Wouter_001 • Oct 17 '21
r/SwiftUI • u/SUCODEY • Jul 16 '24
Video Tutorial: https://youtu.be/dL0JURmNdJc?si=vF4iVaSoygn9LzSO
r/SwiftUI • u/opentonegeorge • Oct 26 '25
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 • u/cocolisojon • Sep 06 '24
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 • u/onmyway133 • Apr 30 '22
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!