Chapter    6

Bonus Chapter: Hybrid Apps

For serious web developers using JavaScript to create interactive web apps, UIWebView provides a seamless way to transfer those skills to creating mobile apps. UIWebView also allows native code to interface with the JavaScript that is loaded with the web page. Both iOS and Android inject JavaScript code from the native code into the embedded browser. Web developers normally think it is easier to use their familiar development skills to create their web apps, but using this hybrid approach opens up a different way to create mobile apps.

The so-called hybrid approach has gained a bit of attraction in recent years; there are many cross-platform compilers aimed at JavaScript developers who want to create mobile ...

Get Migrating to Swift from Web Development now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.