Porting iOS apps to macOS 10.14 Mojave might not be as simple as first thought

During this year’s WWDC event held by Apple, the company discussed porting iOS apps that run on iPads and iPhones to macOS 10.14 Mojave, and while the tools aren’t likely to be released this year, a developer has already done a bit of research into how that process will work.

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

As Troughton-Smith explains, it’s not a simple process of just pasting an app into some new code and running it on a Mac. 

There are a number of challenges involved to make the apps not only run well, but also user interface considerations to take into account, with users going from a small touch screen to a larger desktop or laptop screen with mouse and keyboard controls.

The pros and cons of app migration

Troughton-Smith took to Twitter to share his findings. He noticed that resizing UIKit apps is sluggish and “gonna be a major pain point for a future iPad”. The popularity of tablet devices is waning a bit lately, but if Apple is going to stick with its iPad line, it may need to seriously boost its specs with the next generation.

In fact, Troughton-Smith suggests that “Improvements to UIKit for Mac-specific [features] are very likely going to go hand-in-hand [with] improvements to iPad too… like adding multiple window support to apps, or tabbed windowing”.

The developer also noted that “UIKit table view performance on the other hand is way smoother on iOS than macOS”.

He also highlighted the new UITableViewStyleSidebar, which is designed to add a simulated Mac-style sidebar, with similar visual effects, to make ported iOS apps look and behave more like native Mac apps.

The process doesn’t seem to be as straightforward as Apple’s Craig Federighi claimed in an interview with Wired, who said that “for app makers, some aspects of app porting will be automated and others will require extra coding. Using Xcode, Apple’s app-making software that runs on Macs, a developer will be able to indicate they want to write a variant of their iOS app for macOS.”

However, this is still relatively early days, and as Troughton-Smith notes, there are some iOS apps should work on macOS without much work at all.

For those of us who have been waiting for our favorite iOS apps to come to macOS, this is a promising start.

Via 9to5Mac

TOPICS
Matt Hanson
Managing Editor, Core Tech

Matt is TechRadar's Managing Editor for Core Tech, looking after computing and mobile technology. Having written for a number of publications such as PC Plus, PC Format, T3 and Linux Format, there's no aspect of technology that Matt isn't passionate about, especially computing and PC gaming. He’s personally reviewed and used most of the laptops in our best laptops guide - and since joining TechRadar in 2014, he's reviewed over 250 laptops and computing accessories personally.