3 ms·
I actually think we're at the point where it's an irresponsible business decision to build an iOS app in Swift over Javascript in most cases. React Native can t
by AlwaysBCoding 11y ago
I actually think we're at the point where it's an irresponsible business decision to build an iOS app in Swift over Javascript in most cases. React Native can target both iOS + Android with a much better development workflow than Swift can offer.
Why on earth would you want to use Swift when it's harder and more time consuming to implement, takes longer to learn, has worse library support, is harder to hire for, and only targets one platform? Apple really dropped the ball with Swift.
I suppose that "performance mandates it" is a valid reason for wanting to use Swift. But I think for 95% of apps Swift is the wrong technology choice.
- millstone 11y agoNone of what you wrote is remotely true, except for the "targets one platform" remark. Swift is very much superior to JavaScript, has better safety and expressiveness, far fewer gotchas, and has vastly better library support on iOS (how do you do Metal or AVFoundation in JS?) An ObjC developer will master Swift much more quickly than a web programmer will master React Native, which also requires understanding UIKit, so there is no hiring benefit. Yes, React Native is a path to cross platform, but high quality cross platform apps need OS-specific interfaces anyways. So what do you save?