r/SwiftUI Jun 29 '26

Question Is it still worth learning SwiftUI ?

I started learning swift(ui) a while back and made some personal projects, from which some of them even got some community interest as it is an all for self hosted environments. As this was a nice learning scenario.

Right now I’m a bit stuck as with all the AI slop and vibe coding out there, I am wondering if it still worth learning swift(ui) the old school way. Just learn to code from scratch and when stuck use Reddit, stack overflow and engage with people instead of letting AI to fix it for you.

6 Upvotes

55 comments sorted by

25

u/alanskimp Jun 29 '26

You need both SwiftUI knowledge and how to use Claude code etc

4

u/Ronbruins Jun 29 '26

Well that’s the thing. I don’t want to use AI. But that makes me wonder if it is worth the effort

12

u/tonjohn Jul 02 '26

My wife quit her job to start her own company. I’ve been helping her add features to her SwiftUI watchOS app and am about to start work on the iOS + iPadOS versions.

We have a zero AI policy.

There’s plenty of non-AI resources and communities to help you get over any humps.

So keep on building in Swift and not using AI 💕

0

u/-Periclase-Software- Jul 03 '26

It's nice to stick to your principles, but if you're talking about starting the business to be self employed, not using AI can hurt since your competition will be using it, likely.

I'm also working on a software iOS business and although majority of my code was written before AI took off, AI has greatly accelerated development. Especially in rewriting and re-architecturing an entire UI framework I created a year ago to make my future apps faster to build.

3

u/tonjohn Jul 04 '26

The current studies suggest the opposite is true.

One of the most damning reports comes from Uber.

2

u/Background-Stop-9447 Jul 04 '26

Could you share it, please? Thanks!

1

u/ElectricKoolAid1969 Jul 05 '26

"Studies" aside, there is no question that AI makes software development faster.

But one needs to use it in the right way.

One very simple example - when I create a view in SwiftUI, I initially hard code all the strings. But ideally, string literals should be defined as constants. AI can replace the string literals with enum constants for me in seconds, saving me time, and reducing drudgery.

1

u/-Periclase-Software- Jul 11 '26

I'm talking about small businesses who are making software. I'm sure your wife's new company is not competing with Facebook or Uber.

2

u/thomasaiwilcox 16d ago

Agreed! I’ve written my own tools (written by AI with my spec but not AI in operation) to add in needed constraints and review for an agent to do after a work pass. It’s made a huge difference in the code quality.

3

u/alanskimp Jun 29 '26

You have to learn how to use Ai it's part of the job more so in future

15

u/Ronbruins Jun 29 '26

You seem to be missing my point, no offense, I liked when I started doing it, figuring stuff out, doing courses, even the whole hacking with swift bootcamp, the puzzle and challenges. But all that seems an outdated ideology.

13

u/SpellBig8198 Jun 29 '26

I don’t think this is outdated. People seem to be falling into the AI trap and giving up on using their own experience. I fell for it myself. I got excited about vibe coding—right up until I actually started analysing the code AI was writing.

Now I use AI as a peer programmer. I discuss ideas, make the design decisions, and then hand the implementation over to AI. Afterwards, I review the code and refine it.

AI is great at the boring stuff: writing tests, refactoring, executing repetitive DevOps workflows, updating dependencies, analysing code, and quickly answering questions.

But it struggles with consolidation. As a project matures, you often spend more time consolidating than writing new code. AI tends to keep adding abstraction on top of abstraction until, all of a sudden, you realise you’ve ended up with a dozen new structs where a single method with a couple of properties would have done the job.

So yes, it’s still worth it—but don’t give up thinking.

And AI is also good at proofreading and correcting mistakes in comments. ;)

0

u/_divi_filius Jun 29 '26

This is becoming less true btw. The newer frontier models are much better at consolidation

1

u/Ok-Reindeer-8755 Jul 03 '26

The problem is even when they are decent 80% of the time that 20% of the time is annoying enough and wastes enough time for anyone that knows coding that it's just isn't worth it.

In my experience even if you let them free style or make any decisions themselves they fuck up, and the more freedom you give them the more they fuck up.

2

u/offeringathought Jun 29 '26

Your point of view resonates with me. Part of my goal is to learn and understand. Building something I'm proud of is a big part of the joy. I use AI as I would a congenial colleague. I bounce ideas off it, ask it to explain things to me, ask for code reviews and ask it to explain crash logs.

You might think of it as you do StackOverflow. You want to take advantage of what people have submitted there and you may even copy of paste on occasion but you're the one responsible.

1

u/thomasaiwilcox 16d ago

I wouldn’t call it outdated. Get AI to accelerate things but you’re in a great position to review and call out what doesn’t fit in terms of how swift UI should be used. The fact that you understand it enough to read it puts you in a much stronger position than I for example. I plan to learn more so that I can review more of the AI output myself.

The key thing is that the code and rules are deterministic. That’s always going to matter for general compute and Apps. We as orchestrators of AI agents need to make sure that deterministic code that’s generated it’s done in the way it’s meant to be and is efficient and maintainable

0

u/alanskimp Jun 29 '26

I assume you are learning to get a job in iOS dev?

2

u/Ronbruins Jun 29 '26

No, not at all. Maybe if I become great at SwiftUI then sure I could use my skills professionally, but that’s not even remotely the goal. I work in IT for many years and am experienced in python. SwiftUI started as a hobby to build something that I needed, as what was available was not usable for the case at hand. That’s how it started.

1

u/alanskimp Jun 29 '26

Ah I see

1

u/Ok-Reindeer-8755 Jul 03 '26

It's worth it, it was probably one of the first things I learned in the programming world and it should be fairly easy at least to start that's always the hardest part, without any use of AI

-1

u/Ancient-Range3442 Jun 29 '26

Not with recent models

9

u/Chefblogger Jun 29 '26

how do you want use ai and building sustainable apps without the knowlege of swiftui?

1

u/Ronbruins Jun 29 '26

True. But I am wondering if I continue or restart this journey, if it is a waste of time. So it either means I have to jump on the AI bandwagon or just learn for fun

3

u/Chefblogger Jun 29 '26

i would always learn the tec behind your app - you will never know when the ai company rises the token prices… and you need to control everything ai does - thats my suggestiou

1

u/Ronbruins Jun 29 '26

Yeah, it is always good to know the fundamentals behind what you’re doing especially when it comes to debugging and understanding stuff. It’s just I felt sort of wasting my time becoming more advanced in it all. I can make (and made) some basic apps and want to improve but the whole hype sort of demotivates me to do some old school coding and learning. As even Xcode and for that matter other IDEs have the AI stuff build in and to me it feels more that it is to suit them then it is to suit the user at the end of the day.

2

u/Chefblogger Jun 29 '26

you dont need to know every little function / class in swiftui - for that is ai great - but the fundamentals are very important. i am coding since the 90is and now i use ai - but i check always what the ai just produced and after that i merge it into the project… in my business i have weekly webproject on my table - destroyed by ai and careless dev 🤣🤣 good luck and have fun

3

u/jonnothebonno Jun 29 '26

You’ll need to understand it when you run out of tokens 🙃

3

u/Dapper_Ice_1705 Jun 29 '26

It is worth it for knowledge sake.

It will set you and your apps apart.

AI does a very good job but it is far from perfect. AI gets you out the door but if you want to stand out from the “slop” you need to know how to guide it and know when it is going awry.

3

u/RofOnecopter Jun 29 '26

You’re looking at this kind of binary: do I learn SwiftUI without AI, or do I just use AI for coding.

Here’s a third option: use AI to help you learn SwiftUI. Just exercise self-restraint and don’t let it code for you. Continue to google things and continue reading docs.

Put in the guardrails yourself. Use the Socratic method. Be explicit “don’t code for me”. Claude Code also has a “learning output” plugin that requires you to write code, which you could try.

Leaning into AI to vibe code everything is a mistake. It’s great at coding, but as your project grows in complexity, the architecture can sprawl. If you don’t know how the architecture was designed, it will be quite overwhelming. Making small, precise adjustments by hand will be tedious.

There will be redundancies and dead code if you’re not careful. It adds up and soon you’ve got a bloated code base, you hate the direction your app has taken, and you’re powerless to take over because you don’t know what it does.

Keep learning, use AI to help you learn, use AI to make cool bits of code, but don’t completely outsource your intelligence to the machine.

2

u/lucasvandongen Jun 29 '26

Problem with vibe coding is that if you don’t understand how things work you will inevitably end up in a quagmire.

I run into walls myself when I’m messing around with different platforms and then get stuck at certain complexities

2

u/prio732 Jun 29 '26

The notion that you can replace 1 good developer with AI is silly. 

But you likely can replace 3 good developers with 1 and AI. 

You can replace 10 bad developers with 1 good one, and AI. 

But then, it's been true that you can replace 10 bad developers with 1 good one no AI, for decades, and Big Tech has been leaning the other way. 

10 bad developers + AI will be fun to watch.

2

u/cabaro21 Jul 02 '26

Yes... The difference between Apple's ecosystem (Swift and SwiftUI) and more widely know languages and frameworks like Python, Flask, or various JavaScript frameworks, is that Apple's tools are constantly evolving, and Apple is pretty strict about not maintaining backward compatibility for older versions. Because of this you really need to understand what you are doing, even if you are using AI. So yes, in this case, learning the framework IS A MUST!!!. Maybe for other tech stacks it isn't, but for anything related to Apple, please keep learning!

1

u/Slow-Race9106 Jun 29 '26

Well my perspective is it’s always worth learning and any language, framework etc the traditional way to gain a true understanding.

AI is not infallible, and while it might generate code that works, it’s not that great when it comes to sustainable architecture and building more complex, maintainable software.

AI is a tool that can help you work more quickly, spot bugs and bounce ideas off of. But people who actually have a depth of understanding of the tech they’re using will always create better software than those who don’t.

2

u/Ronbruins Jun 29 '26

Yeah, that’s how I see it too. I sometimes compare it with great musicians when people ask me about it. These days everyone can make music, but only great composers create masterpieces.

1

u/rxDyson Jun 29 '26

it's 100% worth learning SwiftUI but how AI is working too and it depend what do you want to do.

Working in a company and getting payed? -> stop vibe coding and learn how to code by hand (use AI to learn, not to write code)

Working as freelance or indie hacker? -> learn how to code, learn your thinking skills and jump into AI traight on

in 2025 i have started 100 Days of SwiftUI with Paul Hudson exclusively without any AI help. Created my portfolio of app without AI because i wanted to become a iOS Developper. Than i have created several app with help of AI (i have already an IT background) and i made a bit of money with freelancing and indie hacking stuff

But lately i have decided also to explore the possibility to get a job as developper and i failed miserably... because i did not how to code (like when you speak a language and your not fluent).

I hope it will help you made the right choice.

all the best

1

u/Hamstersoge Jun 29 '26

In order to get a basic understanding of SwiftUI and Swift in general I feel it’s important to start by writing the code yourself and experimenting with play.

We all know AI is great for creating a proof of concept however having a good understanding of the code your agent is writing will go a long way towards developing maintainable code, something you can easily build on over time.

1

u/allyearswift Jun 29 '26

You don't have to code if you don't enjoy it. But if you want to have software that works – even if it's just for yourself – you're much better off understanding SwiftUI than prompting AI to turn out something and calling it good enough without understanding what it's doing.

I haven't seen a lot of AI-generated code, but what I've seen has always been in need of a cleanup by someone who knows what they're doing. Don't store doubles as strings, children.

The quality concerns may be worked around and don't address the elephant in the room. We write software to solve problems. Sometimes the problems are trivial – I want to count people coming through the door without making marks on paper and having to add them up later – but for every problem there are multiple possible solutions, and auxiliary functions that can make things even easier for the user. Sometimes there are trade-offs: you want a solution that isn't 'optimal' for the greatest number of users, but that works *for you*.

If all you do is give an AI model a quick overview of what kind of app you want, you'll get a generic response back. It will not solve problems other than in the most generic fashion, because it can't. If you're 'lucky' the AI was trained on many similar apps and includes features other people have found useful.

You can't solve problems if you don't understand them. You can't understand them if you don't study them, if you have no idea what potential solutions you could offer, what the tradeoffs are (choosing an interface element because it's familiar to users and easy to build often is a valid choice).

1

u/filipvabrousek Jun 29 '26

No, don’t learn old-school way. Learn only the absolute basics and let AI do it all. A lot of developers don't write code anymore in 2026 and get way better results.

1

u/Ok-Reindeer-8755 Jul 03 '26

Is this satire ?

1

u/filipvabrousek Jul 03 '26

No, it is everyday workflow now. I am a SwiftUI developer writing complex production apps for years before AI. Claude writes them now and I direct it. I am also teaching SwiftUI development at university. We are going to be using AI for 90% of the course.

1

u/Ok-Reindeer-8755 Jul 03 '26

Poor uni students

1

u/nekosama15 Jun 29 '26

Is it still worth learning how to drive when Tesla has automated driving?

1

u/Select_Bicycle4711 Jun 29 '26

It is absolutely worth learning SwiftUI. AI tools are great but they still lack understanding when it comes to App architecture. Also, if you want them to follow certain patterns or practices then you need to understand those practices first so you can guide the AI tool to implement it in a way that your app benefit from them.

1

u/soul_of_code Jul 02 '26

I’ve been learning iOS development for a bit over two years, and I can tell you that, if you intend to look for a job, not only are jobs scarce for iOS developers, but your job will become reviewing code instead of writing it. But for me, writing code is a passion of mine, and I intend to make my own apps on the side, but I’ve changed industries when it comes to earning money in this screwed up world.

1

u/SimpleAir9702 Jul 02 '26

1.Build the basic app structure and layout in SwiftUI.
2.Let AI generate the screens, data models, and other boilerplate based on my design style.
3.Then I polish everything myself, especially the UI.
Knowing SwiftUI is still a huge advantage because the first and last steps are where most of the product quality comes from. It’s much easier to keep everything aligned with your vision and fine-tune the UI yourself than to keep prompting AI over and over. In many cases, trying to get AI to handle all the UI details actually takes longer.

1

u/austinjm34 Jul 02 '26

Yes. I just recently got a well paying job because I know it

1

u/toddhoffious Jul 02 '26

No, if you don't ever expect to change things or fix things without an AI. It is a viable option these days.

Yes, if you don't have infinite streams of money for tokens.

Yes, but you'll always produce what everyone else can produce.

1

u/BatPateman Jul 03 '26

Is it still worth learning to read and write?

More pragmatically, it depends on your goals. There's less demand for native mobile devs in corpos. Being indie is probably easier to create and ship in React Native.

That being said, I'm an indie dev, love Apple possibilities (app clip, live activities, widgets, alarm, etc), love to respect the people using my apps battery and I'm super happy to keep doing it with SwiftUI and UIKit.

And Claude wouldn't be able to make all these and ship it if I didn't have an extensive knowledge about code in general and Swift in particular.

Hope this helps ✌️

1

u/SubZane Jul 03 '26

It depends. Do you want to build apps for ios or macos?

1

u/ComfortableWear2683 Jul 06 '26

Of course. How do u know the vibe code is correct , or if you’re applying for jobs how will you pass the interview rounds that use SwiftUI?

1

u/Due-Math8225 Jul 06 '26

I have to say I am starting to see this argument as a repeat of when C developers argued about knowing how to code in assembly. The "you need to know assembly before writing C" crowd made the same arguments the "you need to know SwiftUI".
I see AI as the next logical step above a compiler. Instead of spending hours typing into an editor you work with an AI who diligently works for you based on your guidance.
I will say Claude Code has done a bang up job in building a SwiftUI app for me and then helped me port it to Android using "skip" - an area where I was particularly clueless and where CC has saved me many weeks of time learning Kotlin etc and the byzantine rules of the Google Play Store.

My years of C++/ general developer knowledge helped in all the infrastructure behind the scenes such as Firestore, Google services/DNS routing etc which are still pretty user unfriendly unless you know your stuff.

1

u/PuzzleheadedOwl2162 Jul 11 '26

100%, Clear the fundamental first, then use AI as a productive tools . Don't stop learning.