To give you a bit of background, I have been working on an iOS application for a while now and I’ve got the majority of it written using Node.js for the backend and Swift for the actual app.
Now onto the problem that I encountered, originally I was going to create the UI using the native API but if you have done any iOS development you will know how much of a pain this can be, and how much it can slow you down. So I looked for alternatives.
I know Cordova exists but I didn’t want to cut out the ability to write native code and the plugin system used in Cordova just wasn’t up to scratch. It can also suffer from performance issues which I will discuss below.
I then remembered the WWDC2014 talk that introduced the WKWebView component. This little gem changes everything about how we should build hybrid applications. It has performance equivalent to Safari and hybrid apps will receive a notable performance increase just by switching to the new API.
I will creating another blog post in the next couple of weeks to show you what WKWebView is really capable of but for now I’m signing off.