在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称:NativeScript/ios-runtime开源软件地址:https://github.com/NativeScript/ios-runtime开源编程语言:JavaScript 30.5%开源软件介绍:iOS Runtime for NativeScriptContains the source code for the NativeScript's iOS Runtime. NativeScript is a framework which enables developers to write truly native mobile applications for Android and iOS using JavaScript and CSS. Each mobile platform has its own ecosystem and offers completely different development tools and language(s) - Java for Android and Objective C (Swift) for iOS. In order to translate JavaScript code to the corresponding native APIs some kind of proxy mechanism is needed. This is exactly what the "Runtime" parts of NativeScript are responsible for. The iOS Runtime may be thought of as "The Bridge" between the JavaScript and the iOS world. A NativeScript application for iOS is a standard native package (ipa) which besides the JavaScript files embed the runtime as well. git clone --recursive [email protected]:NativeScript/ios-runtime.git
Requirements
Architecture DiagramThe NativeScript iOS Runtime architecture can be summarized in the following diagram. For more details on how it works, read the documentation. Local DevelopmentTo be able to open and build {N} iOS Runtime in Xcode you need to configure it for WebKit development and generate the Xcode project files using cmake. To do this execute the following: sudo ./src/webkit/Tools/Scripts/configure-xcode-for-ios-development
./cmake-gen.sh
open "cmake-build/NativeScript.xcodeproj" After you open the newly generated project in Xcode you can run the For more information on WebKit configuration see Building iOS Port section of WebKit's README Building a Distribution PackageTo build the To build the ContributeWe love PRs! Check out the contributing guidelines. If you want to contribute, but you are not sure where to start - look for issues labeled Get HelpPlease, use github issues strictly for reporting bugs or requesting features. For general questions and support, check out Stack Overflow or ask our experts in NativeScript community Slack channel. |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论