Hacker News new | ask | show | jobs
by bsaul 2370 days ago
As an ios developer, i wouldn’t recommend someone to go into swiftUI, but rather directly go straight to cross platform techs. SwiftUI is still a niche, even amongst iOS devs.. the documentation is still lacking and the knowledge won’t be useful to anything else ( not to mention the fact that it’s transforming swift into a frankenstein language)

React native or flutter seems more long term ( although i must say i find them also problematic in some regards ).

Knowing the OP works with java, i would also recommend another option going with kotlin and do android only, as it i by far the largest market, and you will have a far lesser risk to get banned from the store for dubious reasons.

Edit : reading other comments i realize the cordova / ionic option also makes perfect sense on today’s hardware. Just make sure you understand the limitations and try a few apps made with that tech from the store first.

1 comments

> going with kotlin and do android only, as it i by far the largest market

From what I read here and there, that's a half-baked myth in a number of ways. Android users often lag behind the latest Android version, lacking access to the latest features. In terms of revenue as well, Android apps don't seem to be ahead of their iOS counterparts. Someone with experience in publishing for both ecosystems may be able to correct/corroborate this.

SwiftUI targets iOS, macOS, tvOS and watchOS, all counting for over a billion users combined. That's a substantial market, even when considering that it's limited to the latest version of each OS. And it's obvious that Apple's focus will be on SwiftUI going forward.

you can’t combine ios/watchos/macos sales and reach 1.4b users. That’s probably the same people owning multiple apple devices.

But by that metric android is 2.5 billions.

now depending on your business, you may indeed want to target ios users as well, but gone are the days of « ios first, then maybe android later » (except maybe for tablets, where the ipad reigns alone).

As for swiftui, apple does indeed seems to be pushing forward with the tech, but at this point i don’t think it matters much anymore. Videogames are developped with cross platform tools ( because 3d) , form-based apps are developed with cross platforms tools (because ui performance is now good enough). All we’re left with are non-gaming interactive apps where you still need maximum responsiveness. And even in this case you’re often better just developping only that screen natively and leave the rest cross platform.