在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):ohanhi/elm-native-ui开源软件地址(OpenSource Url):https://github.com/ohanhi/elm-native-ui开源编程语言(OpenSource Language):Elm 75.9%开源软件介绍(OpenSource Introduction):Elm Native UITHIS PROJECT IS NOT MAINTAINED. If you want to become the maintainer, see issue #90. The code is from 2017 and the facilities used here are not applicable to current versions of Elm. Experimental support for writing native iOS and Android applications in the beautiful functional Elm language. This project builds on Facebook's React Native, using it as the JavaScript environment for Elm. Frequently Asked QuestionsIs This Production Ready?No. This is really just an experiment, and it is not under active development. People have used it for applications despite this. Why React Native?Mobile applications are expected to look and feel at home on the device and the OS it is running. This goal cannot really be achieved with a WebView-based solution (such as Cordova). React Native applications use the same pieces of UI as an app built with Objective-C or Java, choosing the platform-specific native variant of the UI feature for you. Will it always be React Native?In the long term, not necessarily. The ultimate goal would be for Elm Native UI to be a standalone project, complete with the mobile platform groundwork that has been put into React Native already. It has not been fully assessed how much work this would in reality entail. Addendum 2017-10-17: elm-ios was a Google Summer of Code project that explored this idea for iOS. Get it runningCaution: Experimental software!Elm Native UI may get breaking changes at any time, and it might only work with an older version of React Native. Actually getting it runningInstall React Native following their guide. Check that you can create a new project: $ react-native init MyAppName --version 0.44.3 and try running it on a real or virtual device. Once that works, clone this repository in the same directory where you ran
Go ahead and copy the files from the Now try to compile the Elm code with $ npm run compile This will create the Edit the You can then use e.g. elm_self_publish to publish the Elm Native UI package into our project. Assuming we're in the parent directory where $ python path/to/elm_self_publish.py ./elm-native-ui ./MyAppName Now we are ready to rock! |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论