有没有办法使用一些Scala进行iOS编码? [英] Any way to use some Scala for iOS coding?
问题描述
我希望能够使用Scala编写iOS程序代码。可用的任何工具?
I want to be able to use Scala to code iOS programs. Any tools available for this ?
推荐答案
您可以在iOS上运行JavaScript,这样您就可以使用 Scala.js 。这有明显的局限性 - 我不想尝试编写实际的原生iOS UI - 但对于某些跨平台逻辑可能是实用的。将其与 React Native 结合使用可能会很有趣。
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.
几个月前还有 Scala Native ;应该可以在iOS上运行。它尚未准备好用于生产,但要密切关注它。
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.
这篇关于有没有办法使用一些Scala进行iOS编码?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!