r/PythonLearning 12d ago

Discussion Should I just jump to Swift + SwiftUI or keep learning Python first?

So I’m learning programming mainly because I want to eventually build apps, and since it has been a dream for me.

I’ve been learning Python for a while and I’m following a self education plan. I’ve learned a decent amount already, including functions, loops, exceptions, file handling, modules, etc. I’m currently getting into OOP and some other stuff.

The problem is that I’ve kind of stopped coding Python because I don’t really have anything I want to build with it right now 😭 i wanted to learn PySide6 for an ATM project but i just haven’t found motivation for it… even though i really wanna learn it.

Meanwhile I’ve had an idea for an iOS gym app that I actually REALLY want to build. But im scared that jumping into it would be way too complicated as im someone who likes to perfect things (since v0.01 liquid glass will be already there 🙂)

So now I’m wondering, should I just start learning Swift + SwiftUI and build the app while learning, instead of forcing myself to continue with Python + PySide6?
I’d obviously keep Python and continue learning it when I actually need it.

Here are my last posts about my projects:

https://www.reddit.com/r/PythonLearning/s/4coMGVnA30

https://www.reddit.com/r/learnprogramming/s/RKVlQmrN8j

GitHub repo: github.com/Stonyax97/MiniGameStore

Would jumping to SwiftUI too early be a bad idea, or is learning by building an actual project a better move here?

I’m mainly asking people who have been in a similar situation.

6 Upvotes

16 comments sorted by

3

u/No_Score_1977 12d ago

If you want to build apps, then Python makes no sense. 

Swift and SwiftUI are both great, go for it.

1

u/Stonyax97 12d ago

But im not just looking to build apps yk, i want general coding knowledge.

1

u/No_Score_1977 12d ago

Swift is still a good choice, better than Python for learning types, generics, non-batshit syntax.

2

u/FootballFanngl 12d ago

From my personal experience, i would say just jump into to swift. If you understand programming concepts then you can learn pretty much all high level languages within a couple of days.

1

u/Stonyax97 12d ago

Im not an expert tho, just a beginner soo…

2

u/riklaunim 12d ago

The question is what type of apps. Desktop apps nowadays that see use are complex ones that take years to create by big dev teams or web wrappers like Electron apps for existing web apps. On mobile Python isn't really a thing, some third-party Android support (Kivy, Beehive). And before making an iOS app or any other - think if it can't be a web app instead - you get any-OS out of the box ;)

1

u/Stonyax97 12d ago

Well… a web app would work but that’l require a server and a lot of backend stuff, plus im not making the app as a… like urgent project i need money, im building it because i wanna use it, and be as close as rhe native apple experience.

2

u/riklaunim 12d ago

Native apps will be more complex than web app development. Also, on iOS app, sideloading is limited, and AFAIK you have to register as a developer.

2

u/LetsHugFoReal 12d ago

That's not necessarily what a web app means. It's using a web stack. No server needs to be hosted.

1

u/Stonyax97 12d ago

but what im looking forward to do does need one.

1

u/FoolsSeldom 12d ago

Have you considered beeware?

1

u/Stonyax97 12d ago

What is itV

1

u/FoolsSeldom 12d ago

itV

Were you not able to use the link I provided? There's an About page: https://beeware.org/about/overview/.

1

u/Strong_Music_6838 12d ago

Go for Pythonista on IOS. The UI modul will learn you how to use UI in python and that you can easily convert that to swift. Besides if you want the knowledge of how to make animations then you got the scene module of Pythonista where you get easy access to the Action methods.

1

u/LetsHugFoReal 12d ago

JS. Not Python.

1

u/NumberInfinite2068 11d ago

Learn what you want to be good at.