- Try the new IBM Cloud Tools for Swift (Beta)
- For developers interested in creating Swift applications that span both client and server-side code, the newest tools from IBM can help simplify the management and deployment of server-side assets. Extend your mobile apps and connect them to IBM Bluemix Cloud services with a local development environment that complements the productive Xcode environment with the IBM Cloud Tools for Swift (beta) now available on IBM Bluemix.
- IBM Swift Sandbox
- Experiment with Swift on the server, share your code and collaborate with your peers
- Swift on IBM Bluemix
- Radically simplify end-to-end development of modern apps with Swift services on IBM Bluemix
- Kitura
- Build end-to-end apps using Swift with Kitura
- The IBM Swift Package Catalog
- Share Swift resources using the IBM Swift Package Catalog
Using JavaScript code from native code without using a WebView (sic!) can be really useful to introduce dynamic functionality that was updatable without need of updating the app shorter iteration cycles share code between backend and native iOS and Android apps You can have business logic provided by a JavaScript that then controls the app that inject native functionality in the JavaScript context. You could even write an A/B testing framework based on this approach. iOS iOS offers the native JavaScriptCore: Evaluate JavaScript programs from within an app, and support JavaScript scripting of your app. So you can evaluate a script and read its return value natively: context.evaluateScript(myLib); let result = context.evaluateScript("myFunction();") let myFunction = context.objectForKeyedSubscription("myFunction"); let parametrizedResult = myFunction.invokeMethod(...) Or you can inject a native object into the JavaScript engine: @objc protoco...
Comments
Post a Comment