r/iOSProgramming • • Jun 24 '22

Question Swift, React Native, or Flutter?

Hi, I'm looking to create a mobile app. I have a background in Python and am looking to learn one of these languages/frameworks. Ideally, I'd like to minimize the learning curve while also thinking about scale. Additionally, any other pros/cons for each. I'm leaning towards Swift but would appreciate any input from anyone with some experience building mobile apps.

1 Upvotes

14 comments sorted by

28

u/Zalenka Jun 24 '22

Learn Swift or just be a web programmer already.

Non-native is stupid and they all go away eventually.

2

u/Jonoko Jun 24 '22

I’m fully a native developer, but I am curious what drives this view point. Why do you think cross platform will go away?

30

u/Zalenka Jun 24 '22

It's just an abstraction. A poor combination of two platforms. It's late on features. It's just another library that you support. There is always less support, less programmers, less books, less stack overflow posts. It's also driven by a third party for reasons other than providing a great experience for native development.

But by all means do what you want. They'll always exist. People will say, "oh Electron is good enough" , they'll say, "develop just once" or "we just need a web dev" and it will always be a reduced second-class experience.

6

u/SirBill01 Jun 25 '22

cross-platform will not go away, but the popular languages support cross platform seem to change over time... react-native was very popular once, these days Flutter is much hotter.

So if you take time to learn any of them, it seems like that skill will just trap you over time in a framework with lower support.

Meanwhile if you take the time to learn a primary language of a platform, your understanding will grow and be supported by the manufacturers over time.

2

u/saintmsent Jun 25 '22

It doesn’t go away, just falls out of favor because something newer and better comes along. But I’m yet to see something that is comparable to the native experience

2

u/ronsvanson Jun 25 '22

You can look into KMM

3

u/[deleted] Jun 24 '22

Well building the app natively has higher performance, flutter or react native have somewhat worse performance but will work on android too. Tbh having a go at all of them is a good idea

0

u/chriswaco Jun 24 '22

Flutter if you need Android, otherwise native.

4

u/Snowymiromi Jun 25 '22

Nah just do jet pack compose

0

u/SirBill01 Jun 25 '22

I would learn SwiftUI and Jetpack Compose for Android. I've not tried learning JC yet myself but have been doing some SwiftUI and it's plainly where Apple is headed, learning both at teh same time might be really productive and help you understand each faster as you ran into similarities and differences. Then at the end you could deliver cross-platform apps.

2

u/[deleted] Jun 26 '22

[removed] — view removed comment

1

u/Daktyl_ Oct 24 '22

Great advice, can you dm me the resources please!