I want to be able to use Scala to code iOS programs. Any tools available for this ?
While most developers use popular IDEs like Xcode and Sublime Text on their Macs, few realize that their iPhones and iPads can also handle coding apps.
Swift is a robust and intuitive programming language created by Apple for building apps for iOS, Mac, Apple TV, and Apple Watch.
Unlike Android which needs a special API (the NDK) to support native development, iOS supports it by default. C or C++ development is more straightforward with iOS because of a feature called 'Objective-C++'. I'll discuss what Objective-C++ is, its limitations and how it's used for building iOS apps.
Answering your question – Yes, actually, it's possible to build an iOS app with Java.
You can run JavaScript on iOS, so you could compile your Scala to JavaScript using Scala.js. This has obvious huge limitations - I wouldn't want to try to code actual native iOS UI - but might be practical for some cross-platform logic. Combining this with React Native might be interesting.
There's also Scala Native as of a couple months ago; that should probably run on iOS. It's not ready for production use, but keep an eye on it.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With