Home Apps & Softwares Porting iOS apps to macOS 10.14 Mojave won’t be so simple as...

Porting iOS apps to macOS 10.14 Mojave won’t be so simple as first thought


Throughout this yr’s WWDC occasion held by Apple, the corporate mentioned porting iOS apps that run on iPads and iPhones to macOS 10.14 Mojave, and whereas the instruments aren’t more likely to be launched this yr, a developer has already achieved a little bit of analysis into how that course of will work.

Developer Steve Troughton-Smith is the app maker in query, and he’s been tweeting in regards to the technique of utilizing Marzipan, which is the codename for porting UIKit iOS apps to AppKit (which runs on macOS).

As Troughton-Smith explains, it’s not a easy technique of simply pasting an app into some new code and working it on a Mac. 

There are a selection of challenges concerned to make the apps not solely run nicely, but in addition person interface issues to bear in mind, with customers going from a small contact display to a bigger desktop or laptop computer display with mouse and keyboard controls.

The professionals and cons of app migration

Troughton-Smith took to Twitter to share his findings. He seen that resizing UIKit apps is sluggish and “gonna be a serious ache level for a future iPad”. The recognition of pill gadgets is waning a bit these days, but when Apple goes to stay with its iPad line, it might want to significantly enhance its specs with the following era.

In actual fact, Troughton-Smith means that “Enhancements to UIKit for Mac-specific [features] are very possible going to go hand-in-hand [with] enhancements to iPad too… like including a number of window help to apps, or tabbed windowing”.

The developer additionally famous that “UIKit desk view efficiency alternatively is method smoother on iOS than macOS”.

He additionally highlighted the brand new UITableViewStyleSidebar, which is designed so as to add a simulated Mac-style sidebar, with related visible results, to make ported iOS apps look and behave extra like native Mac apps.

The method doesn’t appear to be as easy as Apple’s Craig Federighi claimed in an interview with Wired, who mentioned that “for app makers, some facets of app porting will likely be automated and others would require further coding. Utilizing Xcode, Apple’s app-making software program that runs on Macs, a developer will be capable of point out they need to write a variant of their iOS app for macOS.”

Nonetheless, that is nonetheless comparatively early days, and as Troughton-Smith notes, there are some iOS apps ought to work on macOS with out a lot work in any respect.

For these of us who’ve been ready for our favourite iOS apps to come back to macOS, it is a promising begin.

Through 9to5Mac