DEV Community

loading...

Discussion on: Web developers: with SwiftUI, would you consider learning Swift?

Collapse
stolinski profile image
Scott Tolinski

Why not focus on something cross platform instead?

Collapse
wes profile image
Wes Souza Author

Can you name some examples?

I'm also curious to see this thing ported to the web, maybe with WebAssembly even.

Collapse
stolinski profile image
Scott Tolinski

React Native or Flutter. If you are coming from the web and learn SwiftUI you are stuck in iOS land. RN & Flutter and you can build for Android as well.

Thread Thread
wes profile image
Wes Souza Author

You're right, I guess "move to native development" is the wrong term here, since it's applecentric.

I've been doing React Native for a while at my current job, but got really curious to see where Apple is going with this. But of course it alienates the process to iOS.

Thread Thread
stolinski profile image
Scott Tolinski

Right. I just can't imagine ignoring a platform as large as Android as a dev. That would be a like building an web app and not having it work for half of Chrome users.

Thread Thread
wes profile image
Wes Souza Author

Edited the title :)

Collapse
maeganwilson_ profile image
Maegan Wilson

SwiftUI would cover all the Apple OSes: iOS, iPadOS, and macOS. My brief experience with something like React Native or other cross-platform is that I still need to know the native language at least a little bit, so I would think that it is still worth learning at least the basics of where Apple is going.

Collapse
stolinski profile image
Scott Tolinski

I didn't find that to be the case with React Native in small to medium sized projects, so I personally wouldn't invest too much time into something that keeps you in only Apple's world, but I can def understand why it's appealing to iOS devs. IMO (and I know others might disagree), you shouldn't be building for JUST iOS in 2019 when on the web we always want to support as many users as possible.

Thread Thread
maeganwilson_ profile image
Maegan Wilson

I think being cross platform is the way forward for companies.

I think there is value in having knowledge of how to program for the native platform is good as well.