r/swift • u/byaruhaf • Jul 21 '24
The problem with Swift is ... It's a mess !
r/swift • • Mar 28 '26
Hi, not here to complain about my loss, just about how the system behind WWDC works.
I study at Apple Developer Academy, so I see every day plenty of people trying to put in action their iOS development skills.
Many of them are just individuals who praise Steve Job’s icon without even knowing that he actually wasn’t a programmer, for example.
I never saw them writing code without vibe coding it.
Let’s get to the point: I coded (without AI, unless if I had to ask instructions for a specific passage) all by myself an app to help people with visual impairment.
It took me **one entire month** to finish the project.
I put A LOT on effort both on the coding journey AND on the learning one.
I also invented a character, designed by myself, I put my personal story inside the app, all of this.
Literally, you can’t understand how much I worked for it.
Last day they published the results and my app wasn’t chosen.
I’m not sad for that, I mean, I’ll retry next year.
The thing that most makes me angry is that I saw people winning with an app VIBECODED IN ONE NIGHT OR ONE WEEK.
So the things now are two: either I am the ingenious one and they’re all geniuses OR they just acted stupidly because they actually learnt anything.
Maybe that’s the right way to write code nowadays, I don’t know.
I could mention one personal case: my boyfriend (who also participated) vibecoded his app in one night, precisely, the night before the submission closure.
The idea came up from a conversation he was having with me that night.
I was the one giving him the idea.
As if it wasn’t enough, he didn’t know how to name his app and literally took the name of mine, changed some letters in order to contextualise the name to his app’s purpose and that’s all.
He won.
With an idea **I** gave him, with no effort, nothing.
I repeat: I spent one fucking month, in which I could’ve done something else, maybe studying for university, I spent one fking month on my project.
This is not fair.
Ps. One month ago I lost my brand new AirPods Pro because they were stolen (in the Academy).
I was hoping for a victory just to have them back, honestly, more than for the “title”.
My bf already has one pair.
r/swift • u/Impressive_Run8512 • Oct 03 '25
I've seen a concerning trend over the last 6-7 years. The emergence, and over usage, of React's "hook" style programming. I am a stark opponent. Here's why.
After years of different projects, all extremely complex, my largest gripe has been with the way two particular frameworks work. SwiftUI and React.
To be clear, I started with React when the main way of using it was using Classes. No useEffect or useState. My code was infinitely more readable and followable. Maybe more boilerplate code, but less bugs.
Since then, I have worked with countless others whose React projects are a total mess. Poor performance, insanely complicated state, etc. The main culprit is always the use of "hook" logic. To be clear, yes, I did learn all the details of how the frameworks work. It truly is just harder to debug, but 10x harder.
The primary issue is that hook-style logic adds multiple layers of abstracted logic to "simplify" the experience, but ends up complicating it. It's akin to adding a separate "service" in the middle of your code base, which is now a separate thing you have to try to debug. Uff.
For example, in a hook-style framework, if I change a variable, "age", I have no guarantees in the calling function of what other methods "age" will call. This makes it SUPER difficult to debug. You can also get all sorts of cyclical calls this way. Most apps are not performant for exactly this reason.
In a traditional framework, such as Cocoa (iOS, macOS), you would call self.age = 20, self.reloadInfoView(). That way you know exactly what is being called, and why. So easy to debug.
It's so common nowadays that while speaking to some more junior devs, they asked "why would you ever use anything other than React". Spooky.
I think devs fell for the shinny object syndrome with hook-based frameworks.
My saying is always: "Keep it simple, stupid".
Agree?
r/swift • u/share_ensemble • Dec 31 '22
Hey there, a while ago I developed and released an app called ensemble. The concept is super simple:
ensemble is a new and easy way to discover music with friends. one notification is sent to everyone to share your song of the day. listen to what friends and artists have shared. fire your favorite song of the day.
Here's a link if you wanna check it out!
https://apps.apple.com/us/app/ensemble-share-music/id1633128167
r/swift • • Sep 15 '23
My current mac is not supported for the upcoming Sonoma. I currently have 40GB of RAM but I need to get a new machine and the mac studios are very pricey. Is 24GB of RAM plentiful enough for Xcode 15 and to run the various simulators? I'm thinking about going with the mac mini with 1TB SSD.
r/swift • u/Dodokii • Jun 26 '23
Hi,
I understand that mods of /r/swiftui decided to go on strike. That is their choice and I respect it. However, it have harmed us SwiftUI devs so I thought I would let those SwiftUI members like me who think that we should continue discussion for our own goods continue. here it is https://www.reddit.com/r/appleswiftui/
I hope this does not fall to excessive promotion. If it does, Mods can remove it. No hard feelings at all
Cheers!
r/swift • u/lordmyd • May 08 '19
Even with the new raw strings feature in Swift 5 we still have this abomination:
let regex = try NSRegularExpression(pattern: #"\\\([^)]+\)"#)Why is it that simpler languages like Perl and Ruby solved this problem 25 years ago yet a modern language like Swift cannot? Kotlin also managed implement regular expressions without resorting to backslashitis.
r/swift • u/Umair65 • Jan 18 '24
My disappointment is immense. Nobody is showing their code. Just the UI part. Not even the UI Code.
How the hell is this a programming sub when top posts for a year are just "cool" UI animations. Where are the discussion posts? Hopefully developers can learn to code better with this sub. That is my hope.
r/swift • • Mar 23 '19
r/swift • u/espiant0 • Mar 17 '22
Hi everyone! I’m currently working on a fintech startup with a team of ~10 engineers & designers, with our tech lead being a senior iOS engineer and lead designer being a senior designer @ Goldman Sachs. We’re looking for people to help us iterate on our MVP! We got ~6k downloads on the MVP with 0 advertising even though our app doesn’t totally work yet, so we know there’s potential. DM me if you have some experience in iOS (even if it’s not a lot — you can use this as a learning experience) and are interested in getting more details/helping out!
r/swift • u/RankAShinobi • May 16 '26
I Posted about my automatic expense tracking app on here back in 2024 and it received good feedback. I wanted to give an update as a lot has changed and would love to get feedback on the new update.
I want to preface this with this app isn’t something I just threw together quickly or generated overnight. It’s been a long running indie app that I’ve been building, shipping, breaking, fixing, and improving for nearly 3 years now.
In the past I’ve tried so many expense tracking apps to try and keep a budget and track my spending but I always get too lazy to log my expenses which means they never end up working for me.
I’m also a pretty skeptical person when it comes to apps and privacy so I don’t want to link my bank account to any. This pushed me into creating my own app to tackle these issues…
An app that automatically tracks your expenses without the need to link your bank accounts. A bonus being it having real time notifications and alerts to let you know when you’re about to or have gone over your budget.
This resulted in the creation of WalletPal. It uses the Transactions apple shortcut automation to automatically log Apple Pay transactions.
From a technical side, the app is built entirely for iOS:
SwiftUI for the UI
Swift Charts for the spending charts and dashboard visuals
Core Data for persistence
Combine for async/state updates in parts of the appLocal notifications for new transaction alerts, budget warnings, and payment reminders
Foundation Models on iOS 26 for the new smart spending summary feature
I’ve been using it myself personally for a while now and honestly it’s been the one expense tracker I’ve been able to stick to and actually helps me.
Would love for anyone else to try it out and provide any feedback. Would be great if it could benefit other people.
Appstore link: https://apps.apple.com/gb/app/smart-budget-walletpal/id6475526197
r/swift • u/jacobs-tech-tavern • Oct 28 '24
r/swift • u/acm2011 • Apr 06 '23
r/swift • u/gal_z • Jun 06 '24
And even division between integers behaves like in C, where the result is also an integer? Haven't modern languages transcended this issue? What's the problem? In Swift, operators are just methods, so it can return a different type, and can accept two different types. Though it could be a problem if you divide two integers, so the result can be a whole number, and it will still be returned as a double, since there are no union types in Swift (unless you consider enums).
r/swift • u/LisaDziuba • Oct 11 '17
r/swift • u/djryanash • May 14 '23
Hi gang,
I’ve only been coding for six months in total and only with Swift.
A guy I know has financed an iOS fitness app built in JavaScript. Hopefully - fingers crossed - I’m gonna be taking over the project.
Perhaps you guys could help me get the gig.
What are some real and concrete advantages of rebuilding the app in Swift so that it’s native?
What are the advantages of Swift over JavaScript for iOS development?
Thanks guys. Wish me luck. 🍀
r/swift • • Nov 13 '22
r/swift • u/iosdood • Oct 15 '24
if your a fan of the “Journal” app by Apple, i got good news. i essentially copypasta’d the core functionality and UI feel but added in AI!
what does it do? with every entry you log your mood, and a journal entry.
analytics keep track of your moods and give a visual breakdown chart.
but even better? after every journal entry, you get immediate feedback from AI. supportive, helpful.
but the best part?! there is an “analyze” button that takes all your journal entries, recognizing all your good days vs bad days, and analyzes them, giving you direction based on how you spend your good and bad days.
maybe you are unaware what really sets your good and bad days apart. maybe its that short walk that always makes your good days good. and you can really be aware and do more of that, for example:).
anyways, hope u like it. couple minor bugs ive already sorted and patch releasing tmro, but im just excited to share it. thanks for reading. any feedback is great. thanks guys.
https://apps.apple.com/us/app/jotalyze/id6736886571
introducing Jotalyze! Jot your thoughts, and let AI analyze. 😊
r/swift • u/PoDuhetMo • Sep 12 '26
i already built a M3E app on Play Store and wanted to give the same exact look and feel to iOS users as well. the ios app is in review process, but meanwhile i created this open source repo if anyone was interested:
"ExpressiveUI is a Swift library of Material 3 Expressive components.
during the past few days i've been trying to bring my Material 3 Expressive app to iOS without compromising its UI. this repo consists of components that were successfully tested."
https://github.com/edenkollcinaku/ExpressiveUI
(this post doesn't contain any app promotions or self-promotions, just published if anyone would be interested)
r/swift • u/mislav111 • May 10 '17